@dhyasama/totem-models 1.13.0 → 1.13.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/LimitedPartner.js +4 -4
- package/lib/Round.js +2 -2
- package/package.json +1 -1
package/lib/LimitedPartner.js
CHANGED
|
@@ -702,14 +702,14 @@ module.exports = function(mongoose, config) {
|
|
|
702
702
|
|
|
703
703
|
LimitedPartner.plugin(filter, {
|
|
704
704
|
readFilter: {
|
|
705
|
-
'admin': ['name', 'shortName', 'start', 'people', 'documentSlugs', 'fundsInvested', 'contact', 'distributions', 'k1', 'entered', 'status', 'flagged', 'notes'],
|
|
706
|
-
'lp-full': ['name', 'shortName', 'start', 'people', 'documentSlugs', 'fundsInvested', 'contact', 'distributions', 'k1', 'entered', 'status', 'flagged', 'notes'],
|
|
705
|
+
'admin': ['name', 'shortName', 'related', 'start', 'people', 'documentSlugs', 'fundsInvested', 'contact', 'distributions', 'k1', 'entered', 'status', 'flagged', 'notes'],
|
|
706
|
+
'lp-full': ['name', 'shortName', 'related', 'start', 'people', 'documentSlugs', 'fundsInvested', 'contact', 'distributions', 'k1', 'entered', 'status', 'flagged', 'notes'],
|
|
707
707
|
'lp-names': ['name', 'shortName', 'flagged'],
|
|
708
708
|
'none': []
|
|
709
709
|
},
|
|
710
710
|
writeFilter: {
|
|
711
|
-
'admin': ['name', 'shortName', 'start', 'people', 'documentSlugs', 'fundsInvested', 'contact', 'distributions', 'k1', 'entered', 'status', 'flagged', 'notes'],
|
|
712
|
-
'lp-full': ['name', 'shortName', 'start', 'people', 'documentSlugs', 'fundsInvested', 'contact', 'distributions', 'k1', 'entered', 'status', 'flagged', 'notes'],
|
|
711
|
+
'admin': ['name', 'shortName', 'related', 'start', 'people', 'documentSlugs', 'fundsInvested', 'contact', 'distributions', 'k1', 'entered', 'status', 'flagged', 'notes'],
|
|
712
|
+
'lp-full': ['name', 'shortName', 'related', 'start', 'people', 'documentSlugs', 'fundsInvested', 'contact', 'distributions', 'k1', 'entered', 'status', 'flagged', 'notes'],
|
|
713
713
|
'lp-names': ['flagged'],
|
|
714
714
|
'none': []
|
|
715
715
|
},
|
package/lib/Round.js
CHANGED
|
@@ -529,7 +529,7 @@ module.exports = function(mongoose, config) {
|
|
|
529
529
|
self
|
|
530
530
|
.find({ 'vehicles.fund': fundId })
|
|
531
531
|
.select('organization vehicles preMoneyValuation')
|
|
532
|
-
.populate('organization', 'name logoUrl description')
|
|
532
|
+
.populate('organization', 'name logoUrl description contact industries status ipo closed acquired operating')
|
|
533
533
|
.populate('vehicles.fund')
|
|
534
534
|
.populate('vehicles.investments')
|
|
535
535
|
.exec(function(err, rounds) {
|
|
@@ -556,7 +556,7 @@ module.exports = function(mongoose, config) {
|
|
|
556
556
|
self
|
|
557
557
|
.find({ 'vehicles.fund': { $in: fundIds } })
|
|
558
558
|
.select('organization vehicles preMoneyValuation')
|
|
559
|
-
.populate('organization', 'name logoUrl description contact industries')
|
|
559
|
+
.populate('organization', 'name logoUrl description contact industries status ipo closed acquired operating')
|
|
560
560
|
.populate('vehicles.fund')
|
|
561
561
|
.populate('vehicles.investments')
|
|
562
562
|
.exec(function(err, rounds) {
|