start of the 50th remake of a file host doomed to never be finished

This commit is contained in:
creations 2025-03-02 17:36:45 -05:00
commit 46c05ca3a9
Signed by: creations
GPG key ID: 8F553AA4320FC711
33 changed files with 2155 additions and 0 deletions

29
types/session.d.ts vendored Normal file
View file

@ -0,0 +1,29 @@
type UserSession = {
id: string;
username: string;
email: string;
email_verified: boolean;
roles: string[];
avatar: boolean;
timezone: string;
authorization_token: string;
};
type ApiUserSession = UserSession & {
is_api: boolean;
};
type User = {
id: UUID;
authorization_token: UUID;
username: string;
email: string;
email_verified: boolean;
password: string;
avatar: boolean;
roles: string[];
timezone: string;
invited_by: UUID;
created_at: Date;
last_seen: Date;
};