Add saved state and user to Party object
This commit is contained in:
parent
7915ec2385
commit
b78994b68c
2 changed files with 7 additions and 2 deletions
1
types/Party.d.ts
vendored
1
types/Party.d.ts
vendored
|
|
@ -4,6 +4,7 @@ interface Party {
|
|||
raid: Raid
|
||||
shortcode: string
|
||||
extra: boolean
|
||||
favorited: boolean
|
||||
characters: Array<GridCharacter>
|
||||
weapons: Array<GridWeapon>
|
||||
summons: Array<GridSummon>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,9 @@ interface AppState {
|
|||
description: string | undefined,
|
||||
raid: Raid | undefined,
|
||||
element: number,
|
||||
extra: boolean
|
||||
extra: boolean,
|
||||
user: User | undefined,
|
||||
favorited: boolean
|
||||
},
|
||||
grid: {
|
||||
weapons: {
|
||||
|
|
@ -40,7 +42,9 @@ export const initialAppState: AppState = {
|
|||
description: undefined,
|
||||
raid: undefined,
|
||||
element: 0,
|
||||
extra: false
|
||||
extra: false,
|
||||
user: undefined,
|
||||
favorited: false
|
||||
},
|
||||
grid: {
|
||||
weapons: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue