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 local_id?: string
remix: boolean remix: boolean
remixes: Party[] remixes: Party[]
visibility: number
created_at: string created_at: string
updated_at: string updated_at: string
} }

1
types/index.d.ts vendored
View file

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

View file

@ -61,6 +61,7 @@ interface AppState {
favorited: boolean favorited: boolean
remix: boolean remix: boolean
remixes: Party[] remixes: Party[]
visibility: number
sourceParty?: Party sourceParty?: Party
created_at: string created_at: string
updated_at: string updated_at: string
@ -128,6 +129,7 @@ export const initialAppState: AppState = {
favorited: false, favorited: false,
remix: false, remix: false,
remixes: [], remixes: [],
visibility: 1,
sourceParty: undefined, sourceParty: undefined,
created_at: '', created_at: '',
updated_at: '', updated_at: '',