fix: แก้ type Update ให้รับ null ได้

This commit is contained in:
Net 2024-03-19 08:53:43 +07:00
parent fae2ee80b1
commit 323d95813b
8 changed files with 75 additions and 75 deletions

View file

@ -133,17 +133,17 @@ export class CreateProfileTraining {
}
export type UpdateProfileTraining = {
profileId: string | null;
isActive: boolean;
profileId?: string | null;
isActive?: boolean;
startDate?: Date | null;
endDate?: Date | null;
numberOrder: string | null;
topic: string | null;
place: string | null;
numberOrder?: string | null;
topic?: string | null;
place?: string | null;
dateOrder?: Date | null;
department: string | null;
duration: string | null;
name: string | null;
yearly: number | null;
isDate: boolean | null;
department?: string | null;
duration?: string | null;
name?: string | null;
yearly?: number | null;
isDate?: boolean | null;
};