summaryrefslogtreecommitdiff
path: root/src-migrate/common/types/cart.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/common/types/cart.ts')
-rw-r--r--src-migrate/common/types/cart.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src-migrate/common/types/cart.ts b/src-migrate/common/types/cart.ts
index 15e08093..3aceeac4 100644
--- a/src-migrate/common/types/cart.ts
+++ b/src-migrate/common/types/cart.ts
@@ -1,3 +1,5 @@
+import { CategoryPromo } from "./promotion";
+
type Price = {
price: number;
discount_percentage: number;
@@ -45,7 +47,7 @@ export type CartItem = {
image?: string;
remaining_time?: number;
promotion_type?: {
- value?: string;
+ value?: CategoryPromo;
label?: string;
};
limit_qty?: {