This commit is contained in:
Michael Freno
2025-12-30 09:50:04 -05:00
parent b07ebb05b7
commit 6e31246060
6 changed files with 524 additions and 73 deletions

View File

@@ -13,6 +13,29 @@ export interface User {
db_destroy_date?: string | null;
created_at: string;
updated_at: string;
failed_attempts?: number;
locked_until?: string | null;
}
export interface Session {
id: string;
user_id: string;
token_family: string;
created_at: string;
expires_at: string;
last_used: string;
ip_address?: string | null;
user_agent?: string | null;
revoked: number;
}
export interface PasswordResetToken {
id: string;
token: string;
user_id: string;
expires_at: string;
used_at?: string | null;
created_at: string;
}
export interface Post {