subcatprod
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { IAction } from '@src/model/Projects'
|
||||
import { IFriends, IGroupShort, IMyGroup, IPaymentType } from '@src/model/UserStore'
|
||||
import {
|
||||
IDepartment, IProducer, IShareWithUs, IStorehouse, IProductInfo, IProvider, IScontistica, ICategory, IGasordine, ICatProd
|
||||
IDepartment, IProducer, IShareWithUs, IStorehouse, IProductInfo, IProvider, IScontistica, ICategory, IGasordine, ICatProd, ISubCatProd
|
||||
} from '@src/model/Products'
|
||||
|
||||
import { IUserFields, IUserProfile } from '@src/model/UserStore'
|
||||
@@ -447,6 +447,7 @@ export interface IGlobalState {
|
||||
producers: IProducer[],
|
||||
providers: IProvider[],
|
||||
catprods: ICatProd[],
|
||||
subcatprods: ISubCatProd[],
|
||||
gasordines: IGasordine[],
|
||||
scontisticas: IScontistica[],
|
||||
storehouses: IStorehouse[],
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user