This commit is contained in:
Matthias Hochmeister
2026-02-23 17:08:58 +01:00
commit f09748f4a1
97 changed files with 17729 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
export interface User {
id: string; // UUID
email: string;
authentik_sub: string;
name?: string;
preferred_username?: string;
given_name?: string;
family_name?: string;
profile_picture_url?: string;
refresh_token?: string;
refresh_token_expires_at?: Date;
is_active: boolean;
last_login_at?: Date;
created_at: Date;
updated_at: Date;
preferences?: any; // JSONB
}
export interface CreateUserData {
email: string;
authentik_sub: string;
name?: string;
preferred_username?: string;
given_name?: string;
family_name?: string;
profile_picture_url?: string;
}
export interface UpdateUserData {
name?: string;
preferred_username?: string;
given_name?: string;
family_name?: string;
profile_picture_url?: string;
is_active?: boolean;
preferences?: any;
}