summaryrefslogtreecommitdiff
path: root/src-migrate/types
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/types')
-rw-r--r--src-migrate/types/product.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src-migrate/types/product.ts b/src-migrate/types/product.ts
index 681cdc8e..75d55002 100644
--- a/src-migrate/types/product.ts
+++ b/src-migrate/types/product.ts
@@ -1,6 +1,8 @@
import { IProductVariantDetail } from './productVariant';
export interface IProduct {
+ qtySold: number;
+ stockTotal: number;
id: number;
image: string;
code: string;
@@ -18,11 +20,13 @@ export interface IProduct {
name: string;
}[];
flash_sale: {
- id: string;
+ id: number;
remaining_time: number;
tag: string;
};
lowest_price: {
+ priceDiscount: number;
+ discountPercentage: number;
price: number;
price_discount: number;
discount_percentage: number;