@dhyasama/totem-models 1.31.0 → 1.32.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.
@@ -26,6 +26,8 @@ module.exports = function(mongoose, config) {
26
26
 
27
27
  end: { type: Date, index: false, required: true },
28
28
 
29
+ recurring: { type: Boolean, default: false },
30
+
29
31
  attendees: [{
30
32
 
31
33
  email: { type: String, index: true, required: true },
@@ -126,6 +128,7 @@ module.exports = function(mongoose, config) {
126
128
  summary: calendarEvent.summary,
127
129
  start: calendarEvent.start,
128
130
  end: calendarEvent.end,
131
+ recurring: calendarEvent.recurring,
129
132
  attendees: calendarEvent.attendees,
130
133
  allInternal: calendarEvent.allInternal,
131
134
  processed: calendarEvent.processed,
@@ -17,6 +17,7 @@ module.exports = function(mongoose, config) {
17
17
  totemCustomerId: { type: Schema.ObjectId, ref: 'Organization', index: true, required: true },
18
18
  summary: { type: String, required: true, trim: true },
19
19
  startTime: { type: Date, index: true },
20
+ recurring: { type: Boolean, default: false },
20
21
  attendees: {
21
22
  internal: [{ type: Schema.ObjectId, ref: 'Person', index: true }], // people from customer
22
23
  external: [{ type: Schema.ObjectId, ref: 'Person', index: true }] // everyone else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "1.31.0",
3
+ "version": "1.32.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",