Add random length and some more house-keeping
This commit is contained in:
25
server/auth.d.ts
vendored
Normal file
25
server/auth.d.ts
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user