diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts index e8da5a4..d1a0086 100644 --- a/frontend/types/global.d.ts +++ b/frontend/types/global.d.ts @@ -172,11 +172,18 @@ declare global { id: number; count: number; images: string[]; - discount_code: string | null; - status: string; + status: + | "ADMIN_PENDING" + | "PENDING" + | "POSTED" + | "RECEIVED" + | "CANCELED" + | "REFUND"; + verbose_status: string; is_paid: boolean; - created_at: string | null; - address: Address | null; + created_at: string; + final_price: string; + order_id: number; }; type DiscountCode = {