feat: auth

This commit is contained in:
2026-02-04 08:04:46 -08:00
parent 8f3aeb9391
commit e167a17bd9
12 changed files with 673 additions and 9 deletions
+2
View File
@@ -10,6 +10,7 @@ export interface User {
username: string;
avatarUrl?: string;
discordId: string;
isAdmin: boolean;
}
export interface JwtPayload {
@@ -19,6 +20,7 @@ export interface JwtPayload {
sub: string;
email: string;
username: string;
isAdmin: boolean;
iat?: number;
exp?: number;
}