From 9ff50e94a30902a842720cc6428e72ae76f51be3 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Thu, 7 Nov 2024 12:51:15 +0700 Subject: [PATCH] refactor: add type status --- src/stores/quotations/index.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/stores/quotations/index.ts b/src/stores/quotations/index.ts index 4c5b8938..164fa0d9 100644 --- a/src/stores/quotations/index.ts +++ b/src/stores/quotations/index.ts @@ -56,6 +56,14 @@ export const useQuotationStore = defineStore('quotation-store', () => { | 'BillFull' | 'BillSplit' | 'BillSplitCustom'; + status?: + | 'Issued' + | 'Accepted' + | 'PaymentPending' + | 'PaymentInProcess' + | 'PaymentSuccess' + | 'ProcessComplete' + | 'Canceled'; query?: string; }) { const res = await api.get>('/quotation', {