- Cataloghi: qualita di stampa e margini

This commit is contained in:
Surya Paolo
2024-11-22 20:23:31 +01:00
parent b1b952d120
commit 479934a8fb
5 changed files with 31 additions and 23 deletions

View File

@@ -4,7 +4,7 @@ const Schema = mongoose.Schema;
const tools = require('../tools/general');
const { ObjectID, ObjectId } = require('mongodb');
const { MySchedaSchema, IDimensioni, IImg } = require('../models/myscheda');
const { MySchedaSchema, IDimensioni, IImg, IText, IAreaDiStampa } = require('../models/myscheda');
mongoose.Promise = global.Promise;
mongoose.level = "F";
@@ -63,16 +63,9 @@ const catalogo = new Schema(
pdf_filename: { type: String },
printable: { type: Boolean },
first_page_img: { type: String },
first_page_html: { type: String },
first_page_width: { type: Number },
first_page_height: { type: Number },
last_page_img: { type: String },
last_page_html: { type: String },
last_page_height: { type: Number },
last_page_width: { type: Number },
imgsfondo_def: IImg,
first_page: IDimensioni,
last_page: IDimensioni,
areadistampa: IAreaDiStampa,
dimensioni_def: IElementiPagina,