@dhyasama/totem-models 8.68.0 → 8.69.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.
@@ -207,7 +207,12 @@ module.exports = function(mongoose, config) {
207
207
  by: { type: String, trim: true },
208
208
  reverse: { type: Boolean, default: false }
209
209
  },
210
- fields: [{ type: String, trim: true }],
210
+ fields: [{
211
+ key: { type: String, trim: true },
212
+ label: { type: String, trim: true },
213
+ total: { type: String, enum: [null, 'sum', 'average', 'count', 'multiple']},
214
+ width: { type: Number, default: 150 },
215
+ }]
211
216
  }],
212
217
 
213
218
  financials: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.68.0",
3
+ "version": "8.69.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",