feat(auth): enterprise authentication and user management

This commit is contained in:
Schubert Ferenc 2026-07-02 22:19:12 +02:00
parent 4bc8b20a21
commit 86a32a942c
36 changed files with 2239 additions and 324 deletions

View file

@ -1,5 +1,23 @@
export type UserRole = "admin" | "manager" | "user";
export interface User {
id: number;
username: string;
email: string;
}
id: number;
first_name: string;
last_name: string;
username: string;
email: string;
role: UserRole;
is_active: boolean;
created_at: string;
updated_at: string;
}
export type UserPayload = {
first_name: string;
last_name: string;
username: string;
email: string;
role: UserRole;
is_active: boolean;
password?: string;
};