fix: update field can be optional
This commit is contained in:
parent
7e03c239d3
commit
5cadf48bc3
1 changed files with 6 additions and 6 deletions
|
|
@ -54,14 +54,14 @@ export type CustomerUpdate = {
|
|||
|
||||
status?: "ACTIVE" | "INACTIVE";
|
||||
|
||||
customerType: CustomerType;
|
||||
namePrefix: string;
|
||||
firstName: string;
|
||||
customerType?: CustomerType;
|
||||
namePrefix?: string;
|
||||
firstName?: string;
|
||||
firstNameEN?: string;
|
||||
lastName: string;
|
||||
lastName?: string;
|
||||
lastNameEN?: string;
|
||||
gender: string;
|
||||
birthDate: Date;
|
||||
gender?: string;
|
||||
birthDate?: Date;
|
||||
};
|
||||
|
||||
function imageLocation(id: string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue