refactor: update type
This commit is contained in:
parent
5c1cc88a48
commit
38e2eef6ed
2 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,5 @@
|
|||
export type BranchContact = {
|
||||
id: string;
|
||||
lineId: string;
|
||||
telephoneNo: string;
|
||||
qrCodeImageUrl: string;
|
||||
updatedAt: string;
|
||||
|
|
@ -11,6 +10,5 @@ export type BranchContact = {
|
|||
};
|
||||
|
||||
export type BranchContactCreate = {
|
||||
lineId: string;
|
||||
telephoneNo: string;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ export type Branch = {
|
|||
isHeadOffice: boolean;
|
||||
longitude: string;
|
||||
latitude: string;
|
||||
telephoneNo: string;
|
||||
contactName: string;
|
||||
qrCodeImageUrl: string;
|
||||
email: string;
|
||||
zipCode: string;
|
||||
subDistrictId: string | null;
|
||||
|
|
@ -39,7 +40,8 @@ export type BranchCreate = {
|
|||
address: string;
|
||||
zipCode: string;
|
||||
email: string;
|
||||
telephoneNo: string;
|
||||
contactName: string;
|
||||
telephoneNo: string | string[];
|
||||
longitude: string;
|
||||
latitude: string;
|
||||
subDistrictId?: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue