migration to new backend
This commit is contained in:
24
frontend/src/app.d.ts
vendored
Normal file
24
frontend/src/app.d.ts
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
// See https://kit.svelte.dev/docs/types#app
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
interface Locals {
|
||||
user: {
|
||||
pk: number;
|
||||
username: string;
|
||||
first_name: string | null;
|
||||
last_name: string | null;
|
||||
email: string | null;
|
||||
date_joined: string | null;
|
||||
is_staff: boolean;
|
||||
profile_pic: string | null;
|
||||
} | null;
|
||||
}
|
||||
// interface PageData {}
|
||||
// interface PageState {}
|
||||
// interface Platform {}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
Reference in New Issue
Block a user