refactor: add type

This commit is contained in:
Net 2024-09-03 18:15:29 +07:00
parent 56522b4fc8
commit e8f6080aa0

View file

@ -46,6 +46,8 @@ export type Branch = {
_count: {
branch: number;
};
virtual: boolean;
webUrl: string;
};
export type BranchWithChildren = Branch & { branch: Branch[] };
@ -73,6 +75,7 @@ export type BranchCreate = {
imageUrl?: File;
lineId: string;
webUrl?: string;
virtual: boolean;
};
export type BranchUserStats = {