@bluedot-innovation/models 2.0.4-alpha.2 → 2.0.4-alpha.3

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,5 +1,5 @@
1
1
  ## 2.0.4
2
- - customActions no longer an array
2
+ - customData no longer an array
3
3
  - add accountId to zones
4
4
 
5
5
  ## 2.0.3-alpha.1
package/models/Zone.js CHANGED
@@ -53,13 +53,13 @@ let ZoneSchema = new Schema({
53
53
  type: [filterSchema]
54
54
  },
55
55
  actions: {
56
- type: actionSchema
56
+ type: [actionSchema]
57
57
  },
58
58
  geofeatures: {
59
59
  type: [geofeatureSchema],
60
60
  required: true
61
61
  },
62
- customData: [{type: Schema.Types.Mixed}],
62
+ customData: {type: Schema.Types.Mixed},
63
63
  description: {type: String, default: ''},
64
64
  creationTime: {type: Date, default: Date.now},
65
65
  lastUpdateTime: {type: Date, default: Date.now},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "2.0.4-alpha.2",
3
+ "version": "2.0.4-alpha.3",
4
4
  "description": "",
5
5
  "main": "Models.js",
6
6
  "scripts": {