refactor: เพิ่ม type

This commit is contained in:
Net 2024-07-15 14:12:39 +07:00
parent e45f55f4e3
commit 382ebe6e06

View file

@ -5,6 +5,13 @@ export type ServiceAndProduct =
| (Service & { type: 'service' })
| (ProductList & { type: 'product' });
export interface TreeProduct {
name: string;
id: string;
code: string;
type?: 'group' | 'type';
}
export interface Service {
productTypeId: string;
updatedAt: string;