Update the user model
This commit is contained in:
2
frontend/src/app.d.ts
vendored
2
frontend/src/app.d.ts
vendored
@@ -13,6 +13,8 @@ declare global {
|
|||||||
date_joined: string | null;
|
date_joined: string | null;
|
||||||
is_staff: boolean;
|
is_staff: boolean;
|
||||||
profile_pic: string | null;
|
profile_pic: string | null;
|
||||||
|
uuid: string;
|
||||||
|
public_profile: boolean;
|
||||||
} | null;
|
} | null;
|
||||||
}
|
}
|
||||||
// interface PageData {}
|
// interface PageData {}
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ export type User = {
|
|||||||
date_joined: string | null;
|
date_joined: string | null;
|
||||||
is_staff: boolean;
|
is_staff: boolean;
|
||||||
profile_pic: string | null;
|
profile_pic: string | null;
|
||||||
|
uuid: string;
|
||||||
|
public_profile: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Adventure = {
|
export type Adventure = {
|
||||||
|
|||||||
Reference in New Issue
Block a user