- context/
- hook/
- types/

### No Issue
This commit is contained in:
2025-08-19 15:25:07 +08:00
parent 1da4b00c2f
commit e1039a5744
10 changed files with 169 additions and 16 deletions

17
types/User.ts Normal file
View File

@@ -0,0 +1,17 @@
export type TUser = "User" | "Admin" | "Super Admin";
export interface IMasterUserRole {
id: string;
name: TUser;
}
export interface IUser {
id: string;
username: string;
nomor: string;
active: boolean;
createdAt: string | null;
updatedAt: string | null;
masterUserRoleId: string;
MasterUserRole: IMasterUserRole;
}