joye-backend-utility 7.2.6 → 7.2.8

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.
@@ -8,6 +8,11 @@ const MasterTraining = new mongoose_1.Schema({
8
8
  required: true,
9
9
  index: true,
10
10
  },
11
+ info: {
12
+ type: String,
13
+ required: false,
14
+ default: '',
15
+ },
11
16
  title: {
12
17
  type: String,
13
18
  required: true,
@@ -201,6 +201,10 @@ const User = new mongoose_1.Schema({
201
201
  type: Object,
202
202
  index: true,
203
203
  },
204
+ notificationDays: {
205
+ type: Array,
206
+ required: false,
207
+ },
204
208
  });
205
209
  User.index({ employeeId: 1 }, {
206
210
  unique: true,
@@ -17,6 +17,10 @@ const UserProfile = new mongoose_1.Schema({
17
17
  type: String,
18
18
  required: true,
19
19
  },
20
+ profile: {
21
+ type: Object,
22
+ required: false,
23
+ },
20
24
  creationTimestamp: {
21
25
  type: Number,
22
26
  required: true,
@@ -8,11 +8,6 @@ const UserTrainingData = new mongoose_1.Schema({
8
8
  required: true,
9
9
  index: true,
10
10
  },
11
- intro: {
12
- type: String,
13
- required: true,
14
- default: '',
15
- },
16
11
  startDate: {
17
12
  type: String,
18
13
  required: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joye-backend-utility",
3
- "version": "7.2.6",
3
+ "version": "7.2.8",
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",