add fast-jwt ( not tested ) and make the user actual register
All checks were successful
Code quality checks / biome (push) Successful in 8s

This commit is contained in:
creations 2025-05-02 18:41:10 -04:00
parent f93cef442a
commit 57fb8d8bb1
Signed by: creations
GPG key ID: 8F553AA4320FC711
10 changed files with 227 additions and 27 deletions

9
types/http.d.ts vendored
View file

@ -4,3 +4,12 @@ interface GenericJsonResponseOptions {
error?: string;
[key: string]: unknown;
}
interface UserSession {
id: string;
username: string;
email: string;
is_verified: boolean;
iat?: number; // issued at (added by JWT libs)
exp?: number; // expiration (added by JWT libs)
}