@dhyasama/totem-models 10.55.0 → 10.56.1

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/Event.js CHANGED
@@ -21,6 +21,7 @@ module.exports = function(mongoose, config) {
21
21
  required: true,
22
22
  enum: [
23
23
  'Splash',
24
+ 'Gatsby'
24
25
  ],
25
26
  default: 'Splash'
26
27
  },
@@ -381,7 +381,7 @@ module.exports = function(mongoose, config) {
381
381
  text: {
382
382
  required: { type: Boolean, required: false },
383
383
  max: { type: Number, required: false },
384
- format: { type: String, enum: ['email', 'url'], required: false }
384
+ format: { type: String, enum: [null, 'email', 'url'], required: false }
385
385
  },
386
386
  number: {
387
387
  required: { type: Boolean, required: false }
@@ -401,7 +401,7 @@ module.exports = function(mongoose, config) {
401
401
  },
402
402
  file: {
403
403
  required: { type: Boolean, required: false },
404
- type: { type: String, enum: ['pdf', 'image', 'excel', 'powerpoint', 'word'], required: false }
404
+ type: { type: String, enum: [null, 'pdf', 'image', 'excel', 'powerpoint', 'word'], required: false }
405
405
  }
406
406
  }
407
407
  }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "10.55.0",
3
+ "version": "10.56.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",