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