Catalogo, versione di libro/ebook, ecc... quantità

This commit is contained in:
Surya Paolo
2024-05-05 13:55:49 +02:00
parent 399599d450
commit 17deeb7028
7 changed files with 200 additions and 95 deletions

View File

@@ -28,8 +28,9 @@ export interface IProductInfo {
img4?: string
image_link?: string
ingredienti?: string
link?: string
link_scheda?: string
valori_nutrizionali?: string
checkout_link?: string
authors?: string[]
collezione?: string
publisher?: string
@@ -38,6 +39,23 @@ export interface IProductInfo {
productType?: number
}
export interface IVariazione {
active?: boolean
versione?: number
status?: string,
price?: number
sale_price?: number
quantita?: number
availability?: number
numpages?: number
formato?: string
tipologia?: string
edizione?: string
preOrderDate?: Date
addtocart_link?: string
eta?: string
}
export interface IProduct {
_id?: any
active?: boolean
@@ -55,17 +73,15 @@ export interface IProduct {
gasordine: IGasordine | null,
provider?: IProvider,
price: number,
sale_price?: number,
after_price?: string,
quantityAvailable?: number,
bookableAvailableQty?: number,
QuantitaOrdinateInAttesa?: number,
QuantitaPrenotateInAttesa?: number,
note?: string
versione?: number
arrvariazioni?: IVariazione[]
stockQty: number, // UPDATING
status?: string,
stockBloccatiQty: number, // UPDATING
bookedQtyOrdered: number // UPDATING
bookedQtyConfirmed: number // UPDATING
@@ -127,14 +143,15 @@ export interface IProductsState {
export interface IProducer {
_id?: any
idapp?: string
name?: string,
description?: string,
referent?: string,
username?: string,
region?: string,
city?: string,
img?: string,
website?: string,
name?: string
description?: string
short_descr?: string
referent?: string
username?: string
region?: string
city?: string
img?: string
website?: string
}
export interface IDepartment {