backend-plus 2.0.0-beta.5 → 2.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/for-client/my-tables.js +1 -2
- package/lib/backend-plus.js +1 -0
- package/package.json +5 -5
package/for-client/my-tables.js
CHANGED
|
@@ -573,7 +573,6 @@ myOwn.setTimeStamp = function setTimeStamp(row){
|
|
|
573
573
|
|
|
574
574
|
myOwn.skipTimeStamp = function skipTimeStamp(row, timeStamp){
|
|
575
575
|
var skip = (row[TIME_STAMP_PROP] || 0) > timeStamp;
|
|
576
|
-
console.log(skip ? 'SKIP' : 'PASS', timeStamp, row[TIME_STAMP_PROP], JSON4all.toUrl(row))
|
|
577
576
|
if (!skip) row[TIME_STAMP_PROP] = timeStamp;
|
|
578
577
|
return skip;
|
|
579
578
|
}
|
|
@@ -2195,7 +2194,7 @@ myOwn.TableGrid.prototype.createRowInsertElements = function createRowInsertElem
|
|
|
2195
2194
|
}
|
|
2196
2195
|
var depotForInsert = grid.createDepotFromRow({$allow:{delete:true, update:true}}, 'new');
|
|
2197
2196
|
grid.connector.fixedFields.forEach(function(pair){
|
|
2198
|
-
if(!pair.range){
|
|
2197
|
+
if(!pair.range && grid.def.field[pair.fieldName].inTable !== false){
|
|
2199
2198
|
depotForInsert.row[pair.fieldName] = pair.value;
|
|
2200
2199
|
depotForInsert.rowPendingForUpdate[pair.fieldName] = pair.value;
|
|
2201
2200
|
}
|
package/lib/backend-plus.js
CHANGED
|
@@ -1377,6 +1377,7 @@ AppBackend.prototype.addProcedureServices = function addProcedureServices(forUnl
|
|
|
1377
1377
|
var params={};
|
|
1378
1378
|
procedureDef.parameters.forEach(function(paramDef){
|
|
1379
1379
|
var undecodedValue = req[source][paramDef.name];
|
|
1380
|
+
undecodedValue = paramDef.encoding == 'plain' || undecodedValue === undefined ? undecodedValue : undecodedValue + '';
|
|
1380
1381
|
var value = undecodedValue===undefined?undecodedValue:myOwn.encoders[paramDef.encoding].parse(undecodedValue);
|
|
1381
1382
|
if(undecodedValue===undefined){
|
|
1382
1383
|
if(paramDef.defaultSpecial === 'currentYear'){
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "backend-plus",
|
|
3
3
|
"description": "Backend for the anti Pareto rule",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.7",
|
|
5
5
|
"author": "Codenautas <codenautas@googlegroups.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "codenautas/backend-plus",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@types/big.js": "^6.
|
|
76
|
+
"@types/big.js": "^6.2.0",
|
|
77
77
|
"@types/expect.js": "~0.3.29",
|
|
78
78
|
"@types/express": "^4.17.17",
|
|
79
79
|
"@types/express-useragent": "^1.0.2",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@types/js-yaml": "^4.0.5",
|
|
82
82
|
"@types/mocha": "^10.0.1",
|
|
83
83
|
"@types/multiparty": "~0.0.33",
|
|
84
|
-
"@types/node": "^20.4.
|
|
84
|
+
"@types/node": "^20.4.10",
|
|
85
85
|
"@types/nodemailer": "^6.4.9",
|
|
86
86
|
"@types/numeral": "~2.0.2",
|
|
87
87
|
"@types/session-file-store": "^1.2.2",
|
|
@@ -98,10 +98,10 @@
|
|
|
98
98
|
"kill-9": "~0.4.3",
|
|
99
99
|
"mocha": "^10.2.0",
|
|
100
100
|
"nyc": "^15.1.0",
|
|
101
|
-
"puppeteer": "^
|
|
101
|
+
"puppeteer": "^21.0.3",
|
|
102
102
|
"sinon": "^15.2.0",
|
|
103
103
|
"supertest": "^6.3.3",
|
|
104
|
-
"types.d.ts": "~0.6.
|
|
104
|
+
"types.d.ts": "~0.6.17",
|
|
105
105
|
"typescript": "^5.1.6",
|
|
106
106
|
"why-is-node-running": "^2.2.2"
|
|
107
107
|
},
|