Add source party to Party definition
This commit is contained in:
parent
522be622ab
commit
86b48f52c1
3 changed files with 4 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ const Party = (props: Props) => {
|
|||
appState.party.favorited = team.favorited
|
||||
appState.party.remix = team.remix
|
||||
appState.party.remixes = team.remixes
|
||||
appState.party.sourceParty = team.source_party
|
||||
appState.party.created_at = team.created_at
|
||||
appState.party.updated_at = team.updated_at
|
||||
|
||||
|
|
|
|||
1
types/Party.d.ts
vendored
1
types/Party.d.ts
vendored
|
|
@ -18,6 +18,7 @@ interface Party {
|
|||
button_count?: number
|
||||
turn_count?: number
|
||||
chain_count?: number
|
||||
source_party?: Party
|
||||
job: Job
|
||||
job_skills: JobSkillObject
|
||||
accessory: JobAccessory
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ interface AppState {
|
|||
favorited: boolean
|
||||
remix: boolean
|
||||
remixes: Party[]
|
||||
sourceParty?: Party
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
|
|
@ -117,6 +118,7 @@ export const initialAppState: AppState = {
|
|||
favorited: false,
|
||||
remix: false,
|
||||
remixes: [],
|
||||
sourceParty: undefined,
|
||||
created_at: '',
|
||||
updated_at: '',
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue