@dhyasama/totem-models 8.57.2 → 8.58.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.
@@ -211,8 +211,9 @@ module.exports = function(mongoose, config) {
211
211
  name: { type: String, trim: true },
212
212
  filters: [{
213
213
  _id: false,
214
- group: { type: String, trim: true },
215
- item: { type: String, trim: true },
214
+ key: { type: String, trim: true },
215
+ condition: { type: String, enum: [null, 'equals', 'doesNotEqual', 'contains', 'doesNotContain', 'lessThan', 'greaterThan']},
216
+ value: { type: String, trim: true },
216
217
  }],
217
218
  sort: {
218
219
  by: { type: String, trim: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.57.2",
3
+ "version": "8.58.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",