- Catalogo: Aggiunta di Schede
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { IAction } from '@src/model/Projects'
|
||||
import { IFriends, IGroupShort, IMyGroup, IPaymentType } from '@src/model/UserStore'
|
||||
import {
|
||||
IDepartment, IQueryAI, IProducer, IShareWithUs, IStorehouse, IProductInfo, IProvider, IScontistica, ICategory, IGasordine, ICatProd, ISubCatProd, ICatAI
|
||||
IDepartment, IQueryAI, IProducer, IShareWithUs, IStorehouse, IProductInfo, IProvider, IScontistica, ICategory, IGasordine, ICatProd, ISubCatProd, ICatAI,
|
||||
IProduct
|
||||
} from '@src/model/Products'
|
||||
|
||||
import { IUserFields, IUserProfile } from '@src/model/UserStore'
|
||||
@@ -126,6 +127,7 @@ export interface IMyElem {
|
||||
_id?: string
|
||||
type?: number
|
||||
path?: string
|
||||
idPage?: string
|
||||
img?: string
|
||||
container?: string
|
||||
container2?: string
|
||||
@@ -417,6 +419,14 @@ export interface ITestp1 {
|
||||
|
||||
export type StateConnection = 'online' | 'offline'
|
||||
|
||||
export interface IFilterCatalogo {
|
||||
author: string
|
||||
sort: number
|
||||
publisher: string
|
||||
type: string
|
||||
ageGroup: string
|
||||
}
|
||||
|
||||
export interface IConfig {
|
||||
_id: string,
|
||||
key?: string,
|
||||
@@ -474,6 +484,7 @@ export interface IGlobalState {
|
||||
gallery: IGallery[],
|
||||
mypage: IMyPage[],
|
||||
myelems: IMyElem[],
|
||||
myschedas: IMyScheda[],
|
||||
templemail: ITemplEmail[],
|
||||
opzemail: ISettings[],
|
||||
mailinglist: IMailinglist[],
|
||||
@@ -673,6 +684,42 @@ export interface IMyCard {
|
||||
link?: string
|
||||
}
|
||||
|
||||
export interface IMyScheda {
|
||||
_id: string,
|
||||
idapp: string,
|
||||
isTemplate: boolean,
|
||||
name: string,
|
||||
widthscheda?: string
|
||||
line_height?: number
|
||||
widthpag?: number
|
||||
width?: number
|
||||
height?: number
|
||||
numschede_perRiga?: number
|
||||
numschede_perCol?: number
|
||||
margine_top?: number
|
||||
margine_pagina?: string
|
||||
margine_riga?: string
|
||||
text?: string
|
||||
posiz_text?: number
|
||||
|
||||
productTypes?: number[]
|
||||
excludeproductTypes?: number[]
|
||||
editore?: string[]
|
||||
author?: string
|
||||
sort?: number
|
||||
arrProdottiSpeciali?: string[]
|
||||
|
||||
// In Memoria:
|
||||
arrProdToShow?: IProduct[][]
|
||||
}
|
||||
|
||||
export interface ISchedaSingola {
|
||||
_id?: string
|
||||
scheda?: IMyScheda,
|
||||
order?: number,
|
||||
numSchede?: number,
|
||||
}
|
||||
|
||||
export interface ICatalogo {
|
||||
//++AddCATALOGO_FIELDS
|
||||
productTypes: number[]
|
||||
@@ -685,16 +732,22 @@ export interface ICatalogo {
|
||||
backgroundimage_printable?: string
|
||||
widthpag?: number
|
||||
widthpagPrintable?: number
|
||||
widthscheda?: string
|
||||
width?: string
|
||||
height?: string
|
||||
printable?: boolean
|
||||
numschede_perCol?: number
|
||||
numschede_perRiga?: number
|
||||
margine_pagina?: string
|
||||
margine_riga?: string
|
||||
margine_paginaPrintable?: string
|
||||
margine_rigaPrintable?: string
|
||||
|
||||
first_page_img?: string
|
||||
first_page_html?: string
|
||||
first_page_height?: number
|
||||
first_page_width?: number
|
||||
last_page_img?: string
|
||||
last_page_html?: string
|
||||
last_page_height?: number
|
||||
last_page_width?: number
|
||||
|
||||
arrSchede?: ISchedaSingola[]
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user