Add visibility to types
This commit is contained in:
parent
5141205e27
commit
d05d4dd6de
3 changed files with 4 additions and 0 deletions
1
types/Party.d.ts
vendored
1
types/Party.d.ts
vendored
|
|
@ -43,6 +43,7 @@ interface Party {
|
|||
local_id?: string
|
||||
remix: boolean
|
||||
remixes: Party[]
|
||||
visibility: number
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
|
|
|
|||
1
types/index.d.ts
vendored
1
types/index.d.ts
vendored
|
|
@ -41,6 +41,7 @@ export type DetailsObject = {
|
|||
job?: Job
|
||||
extra?: boolean
|
||||
guidebooks?: string[]
|
||||
visibility?: number
|
||||
}
|
||||
|
||||
export type ExtendedMastery = {
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ interface AppState {
|
|||
favorited: boolean
|
||||
remix: boolean
|
||||
remixes: Party[]
|
||||
visibility: number
|
||||
sourceParty?: Party
|
||||
created_at: string
|
||||
updated_at: string
|
||||
|
|
@ -128,6 +129,7 @@ export const initialAppState: AppState = {
|
|||
favorited: false,
|
||||
remix: false,
|
||||
remixes: [],
|
||||
visibility: 1,
|
||||
sourceParty: undefined,
|
||||
created_at: '',
|
||||
updated_at: '',
|
||||
|
|
|
|||
Loading…
Reference in a new issue