From 382ebe6e06b62acb816674bd41c898707e95346b Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Mon, 15 Jul 2024 14:12:39 +0700 Subject: [PATCH] =?UTF-8?q?refactor:=20=E0=B9=80=E0=B8=9E=E0=B8=B4?= =?UTF-8?q?=E0=B9=88=E0=B8=A1=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/product-service/types.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/stores/product-service/types.ts b/src/stores/product-service/types.ts index a8603317..b5b3d1a6 100644 --- a/src/stores/product-service/types.ts +++ b/src/stores/product-service/types.ts @@ -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;