From 99632ee0d015509acf8acbf963bf469b5769e1f3 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Tue, 15 Oct 2024 09:45:30 +0700 Subject: [PATCH] feat: add metadata --- src/stores/quotations/types.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index ab1a7db4..30d49988 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -1,5 +1,5 @@ import { CustomerType } from '../customer/types'; -import { Status } from '../types'; +import { CreatedBy, Status, UpdatedBy } from '../types'; type CustomerBranchRelation = { customer: { @@ -204,8 +204,10 @@ export type Quotation = { customerBranch: CustomerBranchRelation; createdByUserId: string; + createdBy: CreatedBy; createdAt: string | Date; updatedByUserId: string; + updatedBy: UpdatedBy; updatedAt: string | Date; }; @@ -262,8 +264,10 @@ export type QuotationFull = { createdByUserId: string; createdAt: string | Date; + createdBy: CreatedBy; updatedByUserId: string; updatedAt: string | Date; + updatedBy: UpdatedBy; }; export type QuotationPayload = {