@bluedot-innovation/models 5.1.37 → 5.1.39

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 5.1.39
2
+ - Changed MRT to HHH:MM (999:59) to match with V1
3
+
4
+ ## 5.1.38
5
+ - Added missing export for ConfigurationParameters model
6
+
1
7
  ## 5.1.37
2
8
  - Added missing @turf/helpers package
3
9
 
package/Models.js CHANGED
@@ -43,6 +43,7 @@ Models.DBEvent = require('./models/DBEvent').Model
43
43
  Models.SingleUseToken = require('./models/SingleUseToken').Model
44
44
  Models.Contract = require('./models/Contract').Model
45
45
  Models.DailyStats = require('./models/DailyStats').Model
46
+ Models.ConfigurationParameters = require('./models/ConfigurationParameters').Model
46
47
 
47
48
  let Schemas = {}
48
49
 
package/models/Zone.js CHANGED
@@ -80,7 +80,7 @@ let zoneSchema = new Schema({
80
80
  type: Number,
81
81
  required: true,
82
82
  min: 60,
83
- max: 359940,
83
+ max: 3599940,
84
84
  validate: {
85
85
  validator: Number.isInteger,
86
86
  message: '{VALUE} is not a number'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "5.1.37",
3
+ "version": "5.1.39",
4
4
  "main": "Models.js",
5
5
  "scripts": {
6
6
  "lint": "./node_modules/.bin/eslint -c .eslintrc.js ./models/*.js ./__tests__/**/*.js ./__tests__/**/**/*.js ./schemas/*.js",