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";
|
status?: "ACTIVE" | "INACTIVE";
|
||||||
|
|
||||||
customerType: CustomerType;
|
customerType?: CustomerType;
|
||||||
namePrefix: string;
|
namePrefix?: string;
|
||||||
firstName: string;
|
firstName?: string;
|
||||||
firstNameEN?: string;
|
firstNameEN?: string;
|
||||||
lastName: string;
|
lastName?: string;
|
||||||
lastNameEN?: string;
|
lastNameEN?: string;
|
||||||
gender: string;
|
gender?: string;
|
||||||
birthDate: Date;
|
birthDate?: Date;
|
||||||
};
|
};
|
||||||
|
|
||||||
function imageLocation(id: string) {
|
function imageLocation(id: string) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue