API Profile:

Fix:
- api create, get , edit

Types
Add:
- Type-Profile

### No Issue
This commit is contained in:
2025-08-25 17:59:07 +08:00
parent df5313a243
commit 59482ca712
17 changed files with 323 additions and 198 deletions

16
types/Type-Profile.ts Normal file
View File

@@ -0,0 +1,16 @@
import { IUser } from "./User";
export interface IProfile {
id?: string;
name?: string;
email?: string;
alamat?: string;
jenisKelamin?: string;
active?: boolean;
createdAt?: string;
updatedAt?: string;
userId?: string;
imageId?: string | null;
imageBackgroundId?: string | null;
User: IUser
}

View File

@@ -6,12 +6,12 @@ export interface IMasterUserRole {
}
export interface IUser {
id: string;
username: string;
nomor: string;
active: boolean;
createdAt: string | null;
updatedAt: string | null;
masterUserRoleId: string;
MasterUserRole: IMasterUserRole;
id?: string;
username?: string;
nomor?: string;
active?: boolean;
createdAt?: string | null;
updatedAt?: string | null;
masterUserRoleId?: string;
MasterUserRole?: IMasterUserRole;
}