Add random length and some more house-keeping

This commit is contained in:
2025-05-12 17:36:51 +03:00
parent 7096302999
commit ce5d77d32f
7 changed files with 52 additions and 34 deletions

25
server/auth.d.ts vendored Normal file
View File

@@ -0,0 +1,25 @@
declare module "#auth-utils" {
interface User {
id: number;
name: string;
country: string;
sex: string;
weight: number;
avatar: string;
}
interface UserSession {
user: {
id: number;
name: string;
country: string;
sex: string;
weight: number;
avatar: string;
};
}
interface SecureSessionData {
// Add your own fields
}
}