From 87f09731864c1bdd986963066d45d286cbd13ee0 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Tue, 18 Jun 2024 15:40:52 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B9=81=E0=B8=81=E0=B9=89=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, 4 insertions(+), 3 deletions(-) diff --git a/src/stores/product-service/types.ts b/src/stores/product-service/types.ts index 2b3b2198..8a5aacf4 100644 --- a/src/stores/product-service/types.ts +++ b/src/stores/product-service/types.ts @@ -52,15 +52,16 @@ type AdditionalType = 'string' | 'number' | 'boolean' | Date; // Product export interface ServiceById { - work: Work & { productOnWork: ProductOnWork[] }[]; + work: (Work & { productOnWork: ProductOnWork[] })[]; updatedAt: string; updateBy: string; createdAt: string; createdBy: string; status: Status; - attributes: string; + attributes: Attributes; + detail: string; name: string; - order: number; + code: string; id: string; imageUrl: 'string'; }