first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:46:42 +03:00
commit 2a5b661443
202 changed files with 49770 additions and 0 deletions

26
frontend/types/user.ts Normal file
View File

@@ -0,0 +1,26 @@
export interface User {
id: number;
username: string;
email: string;
email_verified: boolean;
is_admin: boolean;
deleted_at?: string;
}
export interface UserListResponse {
items: User[] | null;
page: number;
per_page: number;
total: number;
}
export interface UserResponse {
data: User;
}
export interface UserPayload {
username: string;
email: string;
is_admin?: boolean;
password?: string; // Optional for updates
}