@dhyasama/totem-models 8.69.1 → 8.70.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/Organization.js +9 -1
- package/package.json +1 -1
package/lib/Organization.js
CHANGED
|
@@ -208,11 +208,13 @@ module.exports = function(mongoose, config) {
|
|
|
208
208
|
reverse: { type: Boolean, default: false }
|
|
209
209
|
},
|
|
210
210
|
fields: [{
|
|
211
|
+
_id: false,
|
|
211
212
|
key: { type: String, trim: true },
|
|
212
213
|
label: { type: String, trim: true },
|
|
213
214
|
total: { type: String, enum: [null, 'sum', 'average', 'count', 'multiple']},
|
|
214
215
|
width: { type: Number, default: 150 }
|
|
215
|
-
}]
|
|
216
|
+
}],
|
|
217
|
+
view: { type: String, trim: true }
|
|
216
218
|
}],
|
|
217
219
|
|
|
218
220
|
financials: {
|
|
@@ -423,6 +425,12 @@ module.exports = function(mongoose, config) {
|
|
|
423
425
|
|
|
424
426
|
active: {type: Boolean, default: false},
|
|
425
427
|
|
|
428
|
+
},
|
|
429
|
+
|
|
430
|
+
lists: {
|
|
431
|
+
|
|
432
|
+
active: {type: Boolean, default: false},
|
|
433
|
+
|
|
426
434
|
}
|
|
427
435
|
|
|
428
436
|
},
|