Submission ID: 1efcd8eb-7d68-4348-9925-43a8e1bd7d1e Add: - app/(application)/terms-agreement.tsx Fix: - app/(application)/(user)/home.tsx - app/(application)/_layout.tsx - context/AuthContext.tsx - ios/HIPMIBadungConnect/Info.plist - screens/Authentication/LoginView.tsx - screens/Authentication/RegisterView.tsx - service/api-config.ts - types/User.ts ### NO Issue
19 lines
382 B
TypeScript
19 lines
382 B
TypeScript
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;
|
|
termsOfServiceAccepted?: boolean;
|
|
}
|