@dhyasama/totem-models 8.81.0 → 8.82.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.
@@ -302,9 +302,7 @@ module.exports = function(mongoose, config) {
302
302
 
303
303
  statuses: [{
304
304
  name: { type: String, trim: true },
305
- order: { type: Number },
306
- active: { type: Boolean, default: true },
307
- color: { type: String, trim: true }
305
+ active: { type: Boolean, default: true }
308
306
  }],
309
307
 
310
308
  sourceTypes: { type: Array, default: ['Cold Inbound', 'Cold Outbound', 'Met at Event', 'Was Referred', 'Other'] },
@@ -324,7 +322,10 @@ module.exports = function(mongoose, config) {
324
322
 
325
323
  // Dictates the type of control rendered on form
326
324
  // Also impacts data validation
327
- type: { type: String, enum: ['Text', 'Number', 'Money', 'Tags', 'Poll', 'Checkbox', 'Single Select', 'Multiple Select'] },
325
+ type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
326
+
327
+ // This is the format for numbers
328
+ format: { type: String, enum: ['number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance'] },
328
329
 
329
330
  // These will be the choices in polls, single-selects and multi-selects
330
331
  options: [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.81.0",
3
+ "version": "8.82.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",