@dhyasama/totem-models 6.8.5 → 6.8.7
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/List.js +1 -1
- package/lib/Organization.js +3 -3
- package/package.json +1 -1
package/lib/List.js
CHANGED
|
@@ -137,7 +137,7 @@ module.exports = function(mongoose, config) {
|
|
|
137
137
|
})
|
|
138
138
|
.populate('createdBy', 'name avatarUrl')
|
|
139
139
|
.populate('limitedPartners', 'name logoUrl fundsInvested')
|
|
140
|
-
.populate('organizations', 'name logoUrl')
|
|
140
|
+
.populate('organizations', 'name logoUrl contact')
|
|
141
141
|
.populate('people', 'name title avatarUrl contact')
|
|
142
142
|
.exec(cb);
|
|
143
143
|
};
|
package/lib/Organization.js
CHANGED
|
@@ -281,7 +281,7 @@ module.exports = function(mongoose, config) {
|
|
|
281
281
|
|
|
282
282
|
// Dictates the type of control rendered on form
|
|
283
283
|
// Also impacts data validation
|
|
284
|
-
type: { type: String, enum: ['Text', 'Number', 'Tags', 'Poll', 'Checkbox', 'Single Select', 'Multiple Select'] },
|
|
284
|
+
type: { type: String, enum: ['Text', 'Number', 'Money', 'Tags', 'Poll', 'Checkbox', 'Single Select', 'Multiple Select'] },
|
|
285
285
|
|
|
286
286
|
// These will be the choices in polls, single-selects and multi-selects
|
|
287
287
|
options: [{
|
|
@@ -552,7 +552,7 @@ module.exports = function(mongoose, config) {
|
|
|
552
552
|
if (standardFields.raise.showOnList) {
|
|
553
553
|
result.push({
|
|
554
554
|
name: 'Raise',
|
|
555
|
-
type: '
|
|
555
|
+
type: 'Money',
|
|
556
556
|
key: 'fundraise.amount',
|
|
557
557
|
isStandard: true,
|
|
558
558
|
order: standardFields.raise.order * 10,
|
|
@@ -564,7 +564,7 @@ module.exports = function(mongoose, config) {
|
|
|
564
564
|
if(standardFields.valuation.showOnList) {
|
|
565
565
|
result.push({
|
|
566
566
|
name: 'Valuation',
|
|
567
|
-
type: '
|
|
567
|
+
type: 'Money',
|
|
568
568
|
key: 'fundraise.valuation',
|
|
569
569
|
isStandard: true,
|
|
570
570
|
order: standardFields.valuation.order * 10 + 1,
|