Add visibility to types

This commit is contained in:
Justin Edmund 2023-08-25 14:44:26 -07:00
parent 5141205e27
commit d05d4dd6de
3 changed files with 4 additions and 0 deletions

1
types/Party.d.ts vendored
View file

@ -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
View file

@ -41,6 +41,7 @@ export type DetailsObject = {
job?: Job
extra?: boolean
guidebooks?: string[]
visibility?: number
}
export type ExtendedMastery = {

View file

@ -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: '',