From 201c9249cc10a94a3dae530742d7d648e13f8dd4 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Wed, 31 Dec 2025 11:58:14 +0700 Subject: [PATCH] fix(FE): Make expedition_vendor optional and nullable --- src/types/api/purchase/purchase.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/api/purchase/purchase.d.ts b/src/types/api/purchase/purchase.d.ts index 7f493d08..2f69c543 100644 --- a/src/types/api/purchase/purchase.d.ts +++ b/src/types/api/purchase/purchase.d.ts @@ -42,12 +42,12 @@ export type PurchaseItem = { expedition_vendor_name?: string | null; received_qty?: number | null; transport_per_item?: number | null; - expedition_vendor: { + expedition_vendor?: { id: number; name: string; alias: string; category: string; - }; + } | null; }; export type BasePurchase = {