@dhyasama/totem-models 7.6.0 → 7.7.1

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.
@@ -218,10 +218,10 @@ module.exports = function(mongoose, config) {
218
218
  kpis: [{
219
219
  name: { type: String, trim: true },
220
220
  description: { type: String, trim: true },
221
- format: { type: String, trim: true },
221
+ format: { type: String, enum: [null, 'number', 'money', 'percentage', 'variance']},
222
222
  }],
223
223
  questions: [{
224
- prompt: { type: String, enum: [null, 'number', 'money', 'percentage', 'variance']},
224
+ prompt: { type: String, trim: true }
225
225
  }],
226
226
  },
227
227
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "7.6.0",
3
+ "version": "7.7.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",