blob: 746cdd4a60d9fceab953aefe8db9efb07225b0b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
import { IProductVariantDetail } from './productVariant';
export interface IProduct {
id: number;
image: string;
image_mobile: string;
image_carousel: string[];
code: string;
display_name: string;
name: string;
weight: number;
qty_sold: number;
stock_total: number;
variant_total: number;
description: string;
isSni: boolean;
is_in_bu: boolean;
isTkdn: boolean;
categories: {
id: string;
name: string;
}[];
flash_sale: {
id: string;
remaining_time: number;
tag: string;
};
lowest_price: {
price: number;
price_discount: number;
discount_percentage: number;
};
manufacture: {
id: number;
name: string;
logo: string;
};
voucher_pasti_hemat: any;
}
export interface IProductDetail extends IProduct {
variants: IProductVariantDetail[];
}
|