update redux

This commit is contained in:
Mac mini
2026-03-31 17:32:16 +07:00
parent 4f92253534
commit 1674632b0f
9 changed files with 226 additions and 24 deletions

27
src/interface/user.ts Normal file
View File

@@ -0,0 +1,27 @@
export interface UserProfile {
display_name: string;
full_name: string;
avatar_url: string;
bio: string;
location: string;
website: string;
country_code: string;
phone: string;
}
export interface UserRole {
id: string;
name: string;
}
export interface UserData {
id: string;
email: string;
profile: UserProfile;
token_version: number;
is_deleted: boolean;
created_at: string;
updated_at: string;
roles: UserRole[];
}