@dhyasama/totem-models 6.15.1 → 6.15.3
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 +4 -2
- package/package.json +1 -1
- package/.npmignore +0 -14
- package/package-lock.json +0 -1829
package/lib/Organization.js
CHANGED
|
@@ -214,6 +214,10 @@ module.exports = function(mongoose, config) {
|
|
|
214
214
|
color: { type: String, trim: true }
|
|
215
215
|
}],
|
|
216
216
|
|
|
217
|
+
sourceTypes: { type: Array, default: ['Cold Inbound', 'Cold Outbound', 'Met at Event', 'Was Referred', 'Other'] },
|
|
218
|
+
|
|
219
|
+
referrerTypes: { type: Array, default: ['Founder', 'Investor', 'Service Provider', 'Friends & Family', 'Limited Partner', 'Other'] },
|
|
220
|
+
|
|
217
221
|
standardFields: {
|
|
218
222
|
|
|
219
223
|
// Standard fields are always "on" in the system
|
|
@@ -246,7 +250,6 @@ module.exports = function(mongoose, config) {
|
|
|
246
250
|
},
|
|
247
251
|
|
|
248
252
|
sourcePerson: {
|
|
249
|
-
types: [ { type: String, trim: true } ],
|
|
250
253
|
order: { type: Number, default: 99 },
|
|
251
254
|
colspan: { type: Number, default: 1 },
|
|
252
255
|
showOnFilter: { type: Boolean, default: true },
|
|
@@ -254,7 +257,6 @@ module.exports = function(mongoose, config) {
|
|
|
254
257
|
},
|
|
255
258
|
|
|
256
259
|
sourceType: {
|
|
257
|
-
types: [ { type: String, trim: true } ],
|
|
258
260
|
order: { type: Number, default: 99 },
|
|
259
261
|
colspan: { type: Number, default: 1 },
|
|
260
262
|
showOnFilter: { type: Boolean, default: true },
|
package/package.json
CHANGED