@dhyasama/totem-models 9.73.0 → 9.75.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.
@@ -321,16 +321,16 @@ module.exports = function(mongoose, config) {
321
321
 
322
322
  active: { type: Boolean, default: false },
323
323
 
324
- query: {
325
- stages: { type: String, trim: true },
326
- timeframe: { type: String, enum: ['Past Week', 'Past Month', 'Past 3 Months', 'Past 6 Months', 'Past Year', 'All Time'], default: 'Past Month' },
327
- },
328
-
329
324
  statuses: [{
330
325
  name: { type: String, trim: true },
331
326
  active: { type: Boolean, default: true }
332
327
  }],
333
328
 
329
+ query: {
330
+ statuses: { type: String, trim: true, default: 'active' },
331
+ timeframe: { type: String, enum: ['Past Week', 'Past Month', 'Past 3 Months', 'Past 6 Months', 'Past Year', 'All Time'], default: 'Past Month' },
332
+ },
333
+
334
334
  sourceTypes: { type: Array, default: ['Cold Inbound', 'Cold Outbound', 'Met at Event', 'Was Referred', 'Other'] },
335
335
  referrerTypes: { type: Array, default: ['Founder', 'Investor', 'Service Provider', 'Friends & Family', 'Limited Partner', 'Other'] },
336
336
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "9.73.0",
3
+ "version": "9.75.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",