@dhyasama/totem-models 6.31.0 → 6.32.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.
package/lib/Financials.js CHANGED
@@ -83,8 +83,13 @@ module.exports = function(mongoose, config) {
83
83
  }]
84
84
  },
85
85
 
86
- // Catch-all for customer specific key-value pairs from sheet that aren't supported by our schema
87
- details: [{
86
+ metrics: [{
87
+ key: { type: String, trim: true },
88
+ value: { type: Number },
89
+ _id: false
90
+ }],
91
+
92
+ questions: [{
88
93
  key: { type: String, trim: true },
89
94
  value: { type: String, trim: true },
90
95
  _id: false
@@ -210,6 +210,11 @@ module.exports = function(mongoose, config) {
210
210
  active: { type: Boolean, default: false }
211
211
  },
212
212
 
213
+ financials : {
214
+ questions: [{ type: String, trim: true }],
215
+ metrics: [{ type: String, trim: true }],
216
+ },
217
+
213
218
  deals: {
214
219
 
215
220
  active: { type: Boolean, default: false },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "6.31.0",
3
+ "version": "6.32.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",