@dhyasama/totem-models 10.2.1 → 10.3.0

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.
@@ -360,7 +360,7 @@ module.exports = function(mongoose, config) {
360
360
  _id: false,
361
361
  key: { type: String, trim: true },
362
362
  label: { type: String, trim: true },
363
- type: { type: String, enum: ['header', 'text', 'number', 'checkbox', 'select', 'date', 'file'] },
363
+ type: { type: String, enum: ['header', 'text', 'number', 'checkbox', 'select', 'multiselect', 'date', 'file'] },
364
364
  validation: {
365
365
  text: {
366
366
  required: { type: Boolean, required: false },
@@ -374,6 +374,9 @@ module.exports = function(mongoose, config) {
374
374
  required: { type: Boolean, required: false }
375
375
  },
376
376
  select: {
377
+ required: { type: Boolean, required: false }
378
+ },
379
+ multiselect: {
377
380
  required: { type: Boolean, required: false },
378
381
  max: { type: Number, required: false }
379
382
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "10.2.1",
3
+ "version": "10.3.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",