-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
58011aa
commit ec8203a
Showing
7 changed files
with
46 additions
and
6 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
app/src/@shared/components/DashboardContentView/Number/NumberVersus.tsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Coalition } from '@shared/types/Coalition'; | ||
|
||
export type UserProfile = { | ||
id: number; | ||
login: string; | ||
imgUrl?: string | null; | ||
grade: string; | ||
displayname: string; | ||
level: number; | ||
coalition?: Coalition | null; | ||
titles: Array<{ | ||
titleId: number; | ||
name: string; | ||
selected: boolean; | ||
createdAt: string; | ||
updatedAt: string; | ||
}>; | ||
}; | ||
|
||
/* ToDo: graphql의 Coalition 타입이 수정되면 삭제할 것 */ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { createContext } from 'react'; | ||
|
||
import type { UserProfile } from '@shared/__generated__/graphql'; | ||
import type { UserProfile } from '@shared/types/UserProfile'; | ||
|
||
export const UserProfileContext = createContext<UserProfile>({} as UserProfile); |