From 1c9c74958b63b04732a7c8515c72ca0088fa5faf Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Sat, 7 Sep 2024 17:12:28 -0400 Subject: [PATCH] Update the user model --- frontend/src/app.d.ts | 2 ++ frontend/src/lib/types.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/frontend/src/app.d.ts b/frontend/src/app.d.ts index ab72576..fe9063d 100644 --- a/frontend/src/app.d.ts +++ b/frontend/src/app.d.ts @@ -13,6 +13,8 @@ declare global { date_joined: string | null; is_staff: boolean; profile_pic: string | null; + uuid: string; + public_profile: boolean; } | null; } // interface PageData {} diff --git a/frontend/src/lib/types.ts b/frontend/src/lib/types.ts index 4a7bdde..a0f219f 100644 --- a/frontend/src/lib/types.ts +++ b/frontend/src/lib/types.ts @@ -7,6 +7,8 @@ export type User = { date_joined: string | null; is_staff: boolean; profile_pic: string | null; + uuid: string; + public_profile: boolean; }; export type Adventure = {