zet-lib 1.2.11 → 1.2.12

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/lib/index.js CHANGED
@@ -25,4 +25,6 @@ module.exports = {
25
25
  zTester: require('./zTester'),
26
26
  zCache: require('./zCache'),
27
27
  puppeteer: require('puppeteer'),
28
+ moment: require('moment'),
29
+ ejs: require('ejs'),
28
30
  }
package/lib/zRoute.js CHANGED
@@ -193,7 +193,12 @@ zRoute.post = (req, res, MYMODEL, routeName, body) => {
193
193
 
194
194
  case 'lexical':
195
195
  post[routeName][key] = JSON.stringify(post[routeName][key])
196
- //console.log(post[routeName][key]);
196
+ break
197
+
198
+ case 'select':
199
+ if (!post[routeName][key]) {
200
+ post[routeName][key] = 0
201
+ }
197
202
  break
198
203
 
199
204
  case 'table':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"