@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 +1 -0
- package/lib/Organization.js +2 -2
- package/package.json +1 -1
package/lib/Event.js
CHANGED
package/lib/Organization.js
CHANGED
|
@@ -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
|
}]
|