From f903bd1d8b08d0b6d677afe27f913fb916e2b7cd Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Tue, 25 Jun 2024 09:46:14 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=20=20type=20ServiceAndProduct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/product-service/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stores/product-service/types.ts b/src/stores/product-service/types.ts index b4367dc1..479310ce 100644 --- a/src/stores/product-service/types.ts +++ b/src/stores/product-service/types.ts @@ -1,6 +1,10 @@ import { Status } from '../types'; import { Pagination } from 'src/stores/types'; +export type ServiceAndProduct = (Service | ProductList) & { + type: 'product' | 'service'; +}; + export interface Service { updatedAt: string; updateBy: string;