Initial commit: WealthWise financial analytics platform

This commit is contained in:
2026-02-14 21:16:57 +05:30
commit b8588df583
171 changed files with 29048 additions and 0 deletions

28
src/types/auth.ts Normal file
View File

@@ -0,0 +1,28 @@
export interface User {
id: string;
email: string;
is_active: boolean;
is_superuser: boolean;
created_at: string;
}
export interface LoginCredentials {
email: string;
password: string;
}
export interface RegisterCredentials {
email: string;
password: string;
}
export interface AuthResponse {
access_token: string;
token_type: string;
}
export interface AuthState {
user: User | null;
isLoading: boolean;
isAuthenticated: boolean;
}