@dhyasama/totem-models 8.96.0 → 8.97.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.
@@ -216,7 +216,7 @@ module.exports = function(mongoose, config) {
216
216
  type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
217
217
 
218
218
  // These are the number formats
219
- format: { type: String, enum: ['number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance'] },
219
+ format: { type: String, enum: [null, 'number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance'] },
220
220
 
221
221
  // These will be the choices in polls, single-selects and multi-selects
222
222
  options: [{
@@ -321,7 +321,7 @@ module.exports = function(mongoose, config) {
321
321
  type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
322
322
 
323
323
  // These are the number formats
324
- format: { type: String, enum: ['number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance'] },
324
+ format: { type: String, enum: [null, 'number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance'] },
325
325
 
326
326
  // These will be the choices in polls, single-selects and multi-selects
327
327
  options: [{
@@ -390,7 +390,7 @@ module.exports = function(mongoose, config) {
390
390
  type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
391
391
 
392
392
  // These are the number formats
393
- format: { type: String, enum: ['number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance'] },
393
+ format: { type: String, enum: [null, 'number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance'] },
394
394
 
395
395
  // These will be the choices in polls, single-selects and multi-selects
396
396
  options: [{
@@ -453,7 +453,7 @@ module.exports = function(mongoose, config) {
453
453
  type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
454
454
 
455
455
  // These are the number formats
456
- format: { type: String, enum: ['number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance'] },
456
+ format: { type: String, enum: [null, 'number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance'] },
457
457
 
458
458
  // These will be the choices in polls, single-selects and multi-selects
459
459
  options: [{
@@ -518,7 +518,7 @@ module.exports = function(mongoose, config) {
518
518
  type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
519
519
 
520
520
  // These are the number formats
521
- format: { type: String, enum: ['number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance'] },
521
+ format: { type: String, enum: [null, 'number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance'] },
522
522
 
523
523
  // These will be the choices in polls, single-selects and multi-selects
524
524
  options: [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.96.0",
3
+ "version": "8.97.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",