Add new types to User interface and state
This commit is contained in:
parent
c3d2ee3c3a
commit
cb7624d7a5
2 changed files with 8 additions and 1 deletions
5
types/User.d.ts
vendored
5
types/User.d.ts
vendored
|
|
@ -2,4 +2,9 @@ interface User {
|
|||
id: string
|
||||
username: string
|
||||
granblueId: number
|
||||
picture: {
|
||||
picture: string
|
||||
element: string
|
||||
}
|
||||
private: boolean
|
||||
}
|
||||
|
|
@ -8,7 +8,9 @@ interface AccountState {
|
|||
language: 'en' | 'jp',
|
||||
user: {
|
||||
id: string,
|
||||
username: string
|
||||
username: string,
|
||||
picture: string,
|
||||
element: string,
|
||||
} | undefined
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue