@dhyasama/totem-models 6.3.0 → 6.3.2
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/Organization.js +4 -4
- package/package.json +1 -1
- package/.npmignore +0 -14
- package/package-lock.json +0 -1829
package/lib/Organization.js
CHANGED
|
@@ -271,7 +271,7 @@ module.exports = function(mongoose, config) {
|
|
|
271
271
|
|
|
272
272
|
// Dictates the type of control rendered on form
|
|
273
273
|
// Also impacts data validation
|
|
274
|
-
type: { type: String, enum: ['Text', 'Number', 'Tags', 'Poll', 'Checkbox', 'Single
|
|
274
|
+
type: { type: String, enum: ['Text', 'Number', 'Tags', 'Poll', 'Checkbox', 'Single Select', 'Multiple Select'], required: true },
|
|
275
275
|
|
|
276
276
|
// These will be the choices in polls, single-selects and multi-selects
|
|
277
277
|
options: [{
|
|
@@ -293,12 +293,12 @@ module.exports = function(mongoose, config) {
|
|
|
293
293
|
// Sets the order to render fields on list, org page deal section and deal edit form
|
|
294
294
|
order: { type: Number },
|
|
295
295
|
|
|
296
|
+
// Optionally include as an option on the deal
|
|
297
|
+
filter: { type: Boolean, default: false },
|
|
298
|
+
|
|
296
299
|
// Sets the number of columns for this property to span on the deals list
|
|
297
300
|
colspan: { type: Number, default: 1 },
|
|
298
301
|
|
|
299
|
-
// Optionally include as an option on the deal
|
|
300
|
-
showOnFilter: { type: Boolean, default: true },
|
|
301
|
-
|
|
302
302
|
// Optionally show or hide fields on deals list
|
|
303
303
|
// Fields are always shown on org pages and in edit forms
|
|
304
304
|
showOnList: { type: Boolean }
|
package/package.json
CHANGED