-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from Atractorrr/refactor/ds-#ATR-604
디자인 시스템 구축 (3차)
- Loading branch information
Showing
30 changed files
with
695 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
apps/service/src/features/profile-container/model/type/settingForm.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import { NEWSLETTER_CATEGORY } from '@/shared/constant' | ||
/* eslint-disable */ | ||
|
||
type CheckFormDataWithNull = { | ||
[K in keyof Omit<SettingForm, 'isNicknameChecked'>]: SettingForm[K] | null | ||
} | ||
|
||
type CheckFormDataWithoutNullType = { | ||
[K in keyof Omit<SettingForm, 'isNicknameChecked'>]?: SettingForm[K] | ||
} | ||
import type { NewsletterCategory } from '@/shared/type' | ||
|
||
interface SettingForm { | ||
export interface SettingForm { | ||
nickname: string | ||
interest: (keyof typeof NEWSLETTER_CATEGORY)[] | ||
interest: NewsletterCategory[] | ||
isNicknameChecked: boolean | ||
userExpiration: number | ||
occupation: string | ||
} | ||
|
||
export type { CheckFormDataWithoutNullType, CheckFormDataWithNull, SettingForm } | ||
export type CheckFormDataWithNull = { | ||
[K in Exclude<keyof SettingForm, 'isNicknameChecked'>]: SettingForm[K] | null | ||
} | ||
|
||
export type CheckFormDataWithoutNullType = Partial< | ||
Omit<SettingForm, 'isNicknameChecked'> | ||
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 2 additions & 11 deletions
13
packages/design-system/packages/core/src/components/dialog/Dialog.util.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.