changed order global type

This commit is contained in:
Mamalizz
2025-03-15 01:49:01 +03:30
parent cca4a2b7b5
commit fdd6b16843
+11 -4
View File
@@ -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 = {