joye-backend-utility 3.0.12 → 3.0.14

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.
@@ -122,6 +122,10 @@ const UserSchema = new mongoose_1.Schema({
122
122
  type: String,
123
123
  required: false,
124
124
  },
125
+ roleName: {
126
+ type: String,
127
+ required: false,
128
+ },
125
129
  });
126
130
  const userModel = (0, mongoose_1.model)('User', UserSchema);
127
131
  userModel.syncIndexes();
@@ -7,21 +7,12 @@ const UserMeetingSchema = new mongoose_1.Schema({
7
7
  type: String,
8
8
  required: true,
9
9
  },
10
- notificationSent: {
11
- type: Boolean,
12
- required: true,
13
- default: false,
14
- },
15
10
  date: {
16
11
  type: String,
17
12
  required: true,
18
13
  },
19
- endTime: {
20
- type: Number,
21
- required: false,
22
- },
23
- startTime: {
24
- type: Number,
14
+ meetings: {
15
+ type: Array,
25
16
  required: false,
26
17
  },
27
18
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joye-backend-utility",
3
- "version": "3.0.12",
3
+ "version": "3.0.14",
4
4
  "description": "Joye backend utility for db functions and common functions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",