subcatprod

This commit is contained in:
Surya Paolo
2024-01-12 13:03:07 +01:00
parent ee064854a7
commit 89e8575aae
12 changed files with 97 additions and 1 deletions

View File

@@ -8,7 +8,9 @@ export interface IProductInfo {
description?: string,
department?: string,
idCatProds?: string[],
idSubCatProds?: string[],
catprods?: ICatProd[],
subcatprods?: ISubCatProd[],
color?: string,
size?: string,
weight?: number,
@@ -96,6 +98,7 @@ export interface IProductsState {
cart: ICart
orders: IOrderCart[]
catprods: ICatProd[]
subcatprods: ISubCatProd[]
productInfos: IProductInfo[]
}
@@ -133,6 +136,15 @@ export interface ICatProd {
color?: string,
}
export interface ISubCatProd {
_id?: any
idCatProd: string
name: string
img?: string
icon?: string
color?: string
}
export interface IStorehouse {
_id?: any
idapp?: string