@dhyasama/totem-models 10.23.1 → 10.25.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/Deal.js +1 -1
- package/lib/Organization.js +4 -4
- package/package.json +1 -1
package/lib/Deal.js
CHANGED
|
@@ -161,7 +161,7 @@ module.exports = function(mongoose, config) {
|
|
|
161
161
|
|
|
162
162
|
query.populate({ path: 'documents', match: { customer: options.CUSTOMER_ID } });
|
|
163
163
|
query.populate({ path: 'messages', match: { customer: options.CUSTOMER_ID } });
|
|
164
|
-
query.populate('organization', 'name aliases description logoUrl website websiteAliases chairs contact
|
|
164
|
+
query.populate('organization', 'name aliases description logoUrl website websiteAliases chairs contact social crunchbase foundedOn operating shutdown');
|
|
165
165
|
query.populate('referrer.person', 'name avatarUrl title');
|
|
166
166
|
query.exec(cb);
|
|
167
167
|
|
package/lib/Organization.js
CHANGED
|
@@ -238,7 +238,7 @@ module.exports = function(mongoose, config) {
|
|
|
238
238
|
label: { type: String, trim: true },
|
|
239
239
|
|
|
240
240
|
// Dictates the type of control rendered on form and data validation
|
|
241
|
-
type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
|
|
241
|
+
type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Multiple Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
|
|
242
242
|
|
|
243
243
|
// These are the number formats
|
|
244
244
|
format: { type: String, enum: [null, 'number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance', 'M/d/yy'] },
|
|
@@ -408,7 +408,7 @@ module.exports = function(mongoose, config) {
|
|
|
408
408
|
label: { type: String, trim: true },
|
|
409
409
|
|
|
410
410
|
// Dictates the type of control rendered on form and data validation
|
|
411
|
-
type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
|
|
411
|
+
type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Multiple Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
|
|
412
412
|
|
|
413
413
|
// These are the number formats
|
|
414
414
|
format: { type: String, enum: [null, 'number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance', 'M/d/yy'] },
|
|
@@ -471,7 +471,7 @@ module.exports = function(mongoose, config) {
|
|
|
471
471
|
label: { type: String, trim: true },
|
|
472
472
|
|
|
473
473
|
// Dictates the type of control rendered on form and data validation
|
|
474
|
-
type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
|
|
474
|
+
type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Multiple Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
|
|
475
475
|
|
|
476
476
|
// These are the number formats
|
|
477
477
|
format: { type: String, enum: [null, 'number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance', 'M/d/yy'] },
|
|
@@ -536,7 +536,7 @@ module.exports = function(mongoose, config) {
|
|
|
536
536
|
label: { type: String, trim: true },
|
|
537
537
|
|
|
538
538
|
// Dictates the type of control rendered on form and data validation
|
|
539
|
-
type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
|
|
539
|
+
type: { type: String, enum: ['Text', 'Number', 'Checkbox', 'Single Select', 'Multiple Select', 'Timestamp', 'Tags', 'Person', 'Org', 'Poll'] },
|
|
540
540
|
|
|
541
541
|
// These are the number formats
|
|
542
542
|
format: { type: String, enum: [null, 'number', 'abbreviated', 'decimal', 'financials', 'currency', 'ownership', 'multiple', 'variance', 'M/d/yy'] },
|