@dhyasama/totem-models 6.11.0 → 6.11.2
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 -0
- package/package.json +1 -1
- package/.npmignore +0 -14
- package/package-lock.json +0 -1829
package/lib/Organization.js
CHANGED
|
@@ -213,6 +213,8 @@ module.exports = function(mongoose, config) {
|
|
|
213
213
|
color: { type: String, trim: true }
|
|
214
214
|
}],
|
|
215
215
|
|
|
216
|
+
sourceTypes: [ { type: String, trim: true } ],
|
|
217
|
+
|
|
216
218
|
standardFields: {
|
|
217
219
|
|
|
218
220
|
// Standard fields are always "on" in the system
|
|
@@ -251,6 +253,13 @@ module.exports = function(mongoose, config) {
|
|
|
251
253
|
showOnList: { type: Boolean, default: true }
|
|
252
254
|
},
|
|
253
255
|
|
|
256
|
+
sourceTypes: {
|
|
257
|
+
order: { type: Number, default: 99 },
|
|
258
|
+
colspan: { type: Number, default: 1 },
|
|
259
|
+
showOnFilter: { type: Boolean, default: true },
|
|
260
|
+
showOnList: { type: Boolean, default: true }
|
|
261
|
+
},
|
|
262
|
+
|
|
254
263
|
referrers: {
|
|
255
264
|
order: { type: Number, default: 99 },
|
|
256
265
|
colspan: { type: Number, default: 1 },
|
package/package.json
CHANGED