chore: format
This commit is contained in:
parent
e7852eb8aa
commit
10e0d638f5
6 changed files with 23 additions and 26 deletions
|
|
@ -33,9 +33,9 @@ export type Branch = {
|
|||
telephoneNo: string;
|
||||
lineId: string;
|
||||
contact: BranchContact[];
|
||||
_count:{
|
||||
branch:number
|
||||
}
|
||||
_count: {
|
||||
branch: number;
|
||||
};
|
||||
};
|
||||
|
||||
export type BranchWithChildren = Branch & { branch: Branch[] };
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { District, Province, SubDistrict } from '../address';
|
|||
import { Status } from '../types';
|
||||
import { User } from '../user/types';
|
||||
|
||||
import { Customer , CustomerBranch } from '../customer/types';
|
||||
import { Customer, CustomerBranch } from '../customer/types';
|
||||
|
||||
export type Employee = {
|
||||
id: string;
|
||||
|
|
@ -47,12 +47,10 @@ export type Employee = {
|
|||
district: District | null;
|
||||
province: Province | null;
|
||||
profileImageUrl: string | null;
|
||||
customerBranch: CustomerBranch & { customer: Customer } ;
|
||||
|
||||
customerBranch: CustomerBranch & { customer: Customer };
|
||||
};
|
||||
|
||||
export type EmployeeCreate = {
|
||||
|
||||
code: string;
|
||||
image: File | null;
|
||||
customerBranchId: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue