@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.
@@ -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 select', 'Multiple select'], required: true },
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "6.3.0",
3
+ "version": "6.3.2",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",
package/.npmignore DELETED
@@ -1,14 +0,0 @@
1
- lib-cov
2
- *.seed
3
- *.log
4
- *.csv
5
- *.dat
6
- *.out
7
- *.pid
8
- *.gz
9
-
10
- npm-debug.log
11
- node_modules
12
-
13
- .DS_Store
14
- .idea