@dhyasama/totem-models 9.113.0 → 9.114.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 +17 -0
- package/package.json +1 -1
package/lib/Organization.js
CHANGED
|
@@ -348,6 +348,23 @@ module.exports = function(mongoose, config) {
|
|
|
348
348
|
timeframe: { type: String, enum: ['Past Week', 'Past Month', 'Past 3 Months', 'Past 6 Months', 'Past Year', 'All Time'], default: 'Past Month' },
|
|
349
349
|
},
|
|
350
350
|
|
|
351
|
+
applications: [{
|
|
352
|
+
_id: false,
|
|
353
|
+
name: { type: String, trim: true },
|
|
354
|
+
path: { type: String, trim: true },
|
|
355
|
+
form: [{
|
|
356
|
+
_id: false,
|
|
357
|
+
key: { type: String, trim: true },
|
|
358
|
+
prompt: { type: String, trim: true },
|
|
359
|
+
validation: {
|
|
360
|
+
required: { type: Boolean, default: false },
|
|
361
|
+
maxlength: { type: Number, required: false },
|
|
362
|
+
format: { type: String, enum: ['email', 'url'], required: false },
|
|
363
|
+
filetype: { type: String, enum: ['application/pdf', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/octet-stream', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/msword', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'image/jpeg', 'image/png'], required: false },
|
|
364
|
+
}
|
|
365
|
+
}]
|
|
366
|
+
}],
|
|
367
|
+
|
|
351
368
|
sourceTypes: { type: Array, default: ['Cold Inbound', 'Cold Outbound', 'Met at Event', 'Was Referred', 'Other'] },
|
|
352
369
|
referrerTypes: { type: Array, default: ['Founder', 'Investor', 'Service Provider', 'Friends & Family', 'Limited Partner', 'Other'] },
|
|
353
370
|
|