@dhyasama/totem-models 1.6.0 → 1.6.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/CapTable.js +1 -1
- package/lib/Organization.js +1 -1
- package/lib/Round.js +3 -1
- package/package.json +1 -1
- package/.npmignore +0 -14
package/lib/CapTable.js
CHANGED
|
@@ -261,7 +261,7 @@ module.exports = function(mongoose, config) {
|
|
|
261
261
|
self
|
|
262
262
|
.findOne({customer: customerId, organization: orgId })
|
|
263
263
|
.populate('stakeholders.person', 'name avatarUrl title')
|
|
264
|
-
.populate('stakeholders.fund', 'name')
|
|
264
|
+
.populate('stakeholders.fund', 'name shortName')
|
|
265
265
|
.exec(cb);
|
|
266
266
|
|
|
267
267
|
};
|
package/lib/Organization.js
CHANGED
package/lib/Round.js
CHANGED
|
@@ -137,6 +137,8 @@ module.exports = function(mongoose, config) {
|
|
|
137
137
|
name: rounds[0].organization.name,
|
|
138
138
|
logoUrl: rounds[0].organization.logoUrl,
|
|
139
139
|
description: rounds[0].organization.description,
|
|
140
|
+
contact: rounds[0].organization.contact,
|
|
141
|
+
industries: rounds[0].organization.industries,
|
|
140
142
|
status: rounds[0].organization.status,
|
|
141
143
|
preMoneyValuation: rounds[0].preMoneyValuation
|
|
142
144
|
};
|
|
@@ -554,7 +556,7 @@ module.exports = function(mongoose, config) {
|
|
|
554
556
|
self
|
|
555
557
|
.find({ 'vehicles.fund': { $in: fundIds } })
|
|
556
558
|
.select('organization vehicles preMoneyValuation')
|
|
557
|
-
.populate('organization', 'name logoUrl description')
|
|
559
|
+
.populate('organization', 'name logoUrl description contact industries')
|
|
558
560
|
.populate('vehicles.fund')
|
|
559
561
|
.populate('vehicles.investments')
|
|
560
562
|
.exec(function(err, rounds) {
|
package/package.json
CHANGED