refactor: เพิ่ม type
This commit is contained in:
parent
e45f55f4e3
commit
382ebe6e06
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue