@dhyasama/totem-models 9.50.0 → 9.51.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.
@@ -249,7 +249,7 @@ module.exports = function(mongoose, config) {
249
249
  filters: [{
250
250
  _id: false,
251
251
  key: { type: String, trim: true },
252
- condition: { type: String, enum: [null, 'equals', 'doesNotEqual', 'contains', 'doesNotContain', 'lessThan', 'greaterThan']},
252
+ condition: { type: String, enum: [null, 'equals', 'doesNotEqual', 'contains', 'doesNotContain', 'lessThan', 'greaterThan', 'isEmpty', 'isNotEmpty']},
253
253
  values: [{ type: String, trim: true }]
254
254
  }],
255
255
  sort: {
@@ -367,7 +367,7 @@ module.exports = function(mongoose, config) {
367
367
  filters: [{
368
368
  _id: false,
369
369
  key: { type: String, trim: true },
370
- condition: { type: String, enum: [null, 'equals', 'doesNotEqual', 'contains', 'doesNotContain', 'lessThan', 'greaterThan']},
370
+ condition: { type: String, enum: [null, 'equals', 'doesNotEqual', 'contains', 'doesNotContain', 'lessThan', 'greaterThan', 'isEmpty', 'isNotEmpty']},
371
371
  values: [{ type: String, trim: true }]
372
372
  }],
373
373
  sort: {
@@ -430,7 +430,7 @@ module.exports = function(mongoose, config) {
430
430
  filters: [{
431
431
  _id: false,
432
432
  key: { type: String, trim: true },
433
- condition: { type: String, enum: [null, 'equals', 'doesNotEqual', 'contains', 'doesNotContain', 'lessThan', 'greaterThan']},
433
+ condition: { type: String, enum: [null, 'equals', 'doesNotEqual', 'contains', 'doesNotContain', 'lessThan', 'greaterThan', 'isEmpty', 'isNotEmpty']},
434
434
  values: [{ type: String, trim: true }]
435
435
  }],
436
436
  sort: {
@@ -495,7 +495,7 @@ module.exports = function(mongoose, config) {
495
495
  filters: [{
496
496
  _id: false,
497
497
  key: { type: String, trim: true },
498
- condition: { type: String, enum: [null, 'equals', 'doesNotEqual', 'contains', 'doesNotContain', 'lessThan', 'greaterThan']},
498
+ condition: { type: String, enum: [null, 'equals', 'doesNotEqual', 'contains', 'doesNotContain', 'lessThan', 'greaterThan', 'isEmpty', 'isNotEmpty']},
499
499
  values: [{ type: String, trim: true }]
500
500
  }],
501
501
  sort: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "9.50.0",
3
+ "version": "9.51.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",