2024-07-08 11:44:39 -04:00
|
|
|
// 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;
|
2024-09-07 17:12:28 -04:00
|
|
|
uuid: string;
|
|
|
|
public_profile: boolean;
|
2025-01-06 18:53:08 -05:00
|
|
|
has_password: boolean;
|
2025-03-16 21:49:00 -04:00
|
|
|
disable_password: boolean;
|
2024-07-08 11:44:39 -04:00
|
|
|
} | null;
|
2024-10-26 23:03:35 -04:00
|
|
|
locale: string;
|
2024-07-08 11:44:39 -04:00
|
|
|
}
|
|
|
|
// interface PageData {}
|
|
|
|
// interface PageState {}
|
|
|
|
// interface Platform {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export {};
|