@dhyasama/totem-models 12.1.0 → 12.3.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.
@@ -1170,12 +1170,9 @@ module.exports = function(mongoose, config) {
1170
1170
  .find({ '_id': { $in : ids }})
1171
1171
  .populate({
1172
1172
  path: 'people.person',
1173
- select: 'name avatarUrl title doNotDisplay calendarEventSummaries sources',
1173
+ select: 'name avatarUrl title doNotDisplay sources',
1174
1174
  populate: [
1175
- { path: 'sources.person', select: 'name avatarUrl title doNotDisplay' },
1176
- { path: 'calendarEventSummaries.attendees.internal', select: 'name avatarUrl title doNotDisplay' },
1177
- { path: 'calendarEventSummaries.attendees.external', select: 'name avatarUrl title doNotDisplay' },
1178
- { path: 'calendarEventSummaries.notes', populate: { path: 'createdBy', select: 'name avatarUrl title doNotDisplay' } }
1175
+ { path: 'sources.person', select: 'name avatarUrl title doNotDisplay' }
1179
1176
  ]
1180
1177
  })
1181
1178
  .populate('related', 'name logoUrl')
@@ -1770,11 +1767,7 @@ module.exports = function(mongoose, config) {
1770
1767
  query.select('notes people.person');
1771
1768
  query.populate({
1772
1769
  path: 'people.person',
1773
- select: 'name avatarUrl title calendarEventSummaries',
1774
- populate: {
1775
- path: 'calendarEventSummaries.notes',
1776
- populate: { path: 'createdBy', select: 'name avatarUrl title' }
1777
- }
1770
+ select: 'name avatarUrl title'
1778
1771
  });
1779
1772
  query.populate({
1780
1773
  path: 'notes',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "12.1.0",
3
+ "version": "12.3.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",