feat: initial admin panel

This commit is contained in:
2026-02-19 22:13:11 +03:30
parent 70efff0dfd
commit 9aff48019d
50 changed files with 9604 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
export interface LoginCredentials {
auth: string;
password: string;
package_name: string;
}
export interface LoginResponse {
token: string;
user?: User;
message?: string;
}
export interface User {
id: string;
email: string;
name?: string;
role?: string;
is_admin?: String;
}
export interface AuthState {
user: User | null;
token: string | null;
isLoading: boolean;
error: string | null;
}