From d05d4dd6deda60efd32b840950185f5d1250904c Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 25 Aug 2023 14:44:26 -0700 Subject: [PATCH] Add visibility to types --- types/Party.d.ts | 1 + types/index.d.ts | 1 + utils/appState.tsx | 2 ++ 3 files changed, 4 insertions(+) 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: '',