- ottimizzato il caricamento del sito

- ottimizzato il caricamento del catalogo.
This commit is contained in:
Surya Paolo
2025-05-15 18:22:37 +02:00
parent 50015712f5
commit 9e0634da05
17 changed files with 410565 additions and 143 deletions

View File

@@ -38,10 +38,15 @@ export interface ICatalog {
date_created?: Date,
date_updated?: Date,
lista_prodotti?: IProduct[]
isCatalogoGenerale?: boolean
num_lista_prodotti?: number
lista_prodotti?: IProduct[]
prodotti_caricati_inmem?: boolean
}
export interface IRaccoltaCatalogo {
_id: string
idapp: string

View File

@@ -141,20 +141,20 @@ export interface IProduct {
note?: string
arrvariazioni?: IVariazione[]
stockQty: number, // UPDATING
stockBloccatiQty: number, // UPDATING
bookedQtyOrdered: number // UPDATING
bookedQtyConfirmed: number // UPDATING
stockQty?: number, // UPDATING
stockBloccatiQty?: number, // UPDATING
bookedQtyOrdered?: number // UPDATING
bookedQtyConfirmed?: number // UPDATING
qtyToReachForGas: number
maxbookableGASQty: number
bookedGASQtyOrdered: number // UPDATING
bookedGASQtyConfirmed: number // UPDATING
bookableGASBloccatiQty: number // UPDATING
qtyToReachForGas?: number
maxbookableGASQty?: number
bookedGASQtyOrdered?: number // UPDATING
bookedGASQtyConfirmed?: number // UPDATING
bookableGASBloccatiQty?: number // UPDATING
minBuyQty: number
minStepQty: number
maxBookableSinglePersQty: number
minBuyQty?: number
minStepQty?: number
maxBookableSinglePersQty?: number
canBeShipped?: boolean
canBeBuyOnline?: boolean
}