chore: format

This commit is contained in:
Methapon2001 2024-07-26 10:57:31 +07:00
parent e7852eb8aa
commit 10e0d638f5
6 changed files with 23 additions and 26 deletions

View file

@ -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[] };

View file

@ -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;