@dhyasama/totem-models 5.11.1 → 5.11.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.
@@ -227,10 +227,17 @@ module.exports = function(mongoose, config) {
227
227
 
228
228
  customFields: [{
229
229
 
230
+ // Data stored on deals will be accessed with this key
231
+ // It must follow standard js variable naming rules
232
+ // Whenever possible, just use the label and replace spaces with underscore
233
+ // Will not be displayed
230
234
  permanentKey: { type: String, trim: true, required: true },
231
235
 
236
+ // User friendly text, will be displayed
232
237
  label: { type: String, trim: true, required: true },
233
238
 
239
+ // Dictates the type of control rendered on form
240
+ // Also impacts data validation
234
241
  type: { type: String, enum: ['Text', 'Checkbox', 'Single select', 'Multiple select'], required: true },
235
242
 
236
243
  // These will be the values in single- and multi-selects
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "5.11.1",
3
+ "version": "5.11.2",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",