Add saved state and user to Party object

This commit is contained in:
Justin Edmund 2022-02-27 22:30:43 -08:00
parent 7915ec2385
commit b78994b68c
2 changed files with 7 additions and 2 deletions

1
types/Party.d.ts vendored
View file

@ -4,6 +4,7 @@ interface Party {
raid: Raid
shortcode: string
extra: boolean
favorited: boolean
characters: Array<GridCharacter>
weapons: Array<GridWeapon>
summons: Array<GridSummon>

View file

@ -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: {