diff --git a/types/Party.d.ts b/types/Party.d.ts index e2b4d23c..74d35263 100644 --- a/types/Party.d.ts +++ b/types/Party.d.ts @@ -43,6 +43,7 @@ interface Party { local_id?: string remix: boolean remixes: Party[] + visibility: number created_at: string updated_at: string } diff --git a/types/index.d.ts b/types/index.d.ts index f00975cd..add8e5c5 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -41,6 +41,7 @@ export type DetailsObject = { job?: Job extra?: boolean guidebooks?: string[] + visibility?: number } export type ExtendedMastery = { diff --git a/utils/appState.tsx b/utils/appState.tsx index 73657e9c..c1706080 100644 --- a/utils/appState.tsx +++ b/utils/appState.tsx @@ -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: '',