product page update
This commit is contained in:
@@ -9,30 +9,34 @@ export interface ProductsList {
|
||||
}
|
||||
|
||||
export interface Product {
|
||||
id: string;
|
||||
name_uz: string;
|
||||
name_ru: string;
|
||||
is_active: boolean;
|
||||
image: string;
|
||||
category: string;
|
||||
price: number;
|
||||
description_uz: string;
|
||||
description_ru: string;
|
||||
unity: string;
|
||||
tg_id: string;
|
||||
code: string;
|
||||
article: string;
|
||||
quantity_left: number;
|
||||
min_quantity: number;
|
||||
brand: null | string;
|
||||
return_date: null | string;
|
||||
expires_date: null | string;
|
||||
manufacturer: null | string;
|
||||
volume: string;
|
||||
id: number;
|
||||
images: {
|
||||
id: string;
|
||||
id: number;
|
||||
image: string;
|
||||
}[];
|
||||
meansurement: null | number;
|
||||
inventory_id: null | string;
|
||||
product_id: string;
|
||||
code: string;
|
||||
name: string;
|
||||
short_name: string;
|
||||
weight_netto: null | string;
|
||||
weight_brutto: null | string;
|
||||
litr: null | string;
|
||||
box_type_code: null | string;
|
||||
box_quant: null | string;
|
||||
groups: {
|
||||
id: number;
|
||||
name: string;
|
||||
image: string;
|
||||
type: string;
|
||||
}[];
|
||||
state: string;
|
||||
barcodes: null | string;
|
||||
article_code: null | string;
|
||||
marketing_group_code: null | string;
|
||||
inventory_kinds: { id: number; name: string }[];
|
||||
sector_codes: { id: number; code: string }[];
|
||||
}
|
||||
|
||||
export interface Category {
|
||||
@@ -46,11 +50,12 @@ export interface Category {
|
||||
}
|
||||
|
||||
export interface CategoryItem {
|
||||
id: string;
|
||||
name_uz: string;
|
||||
name_ru: string;
|
||||
image: string;
|
||||
id: number;
|
||||
name: string;
|
||||
image: string | null;
|
||||
order: number;
|
||||
category_id: null | number;
|
||||
type: null | string;
|
||||
}
|
||||
|
||||
export interface UnityList {
|
||||
|
||||
Reference in New Issue
Block a user