joye-backend-utility 5.1.48 → 5.1.50

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.
@@ -175,6 +175,10 @@ const User = new mongoose_1.Schema({
175
175
  type: Number,
176
176
  required: false,
177
177
  },
178
+ hgRemSetting: {
179
+ type: Boolean,
180
+ required: false,
181
+ },
178
182
  lastCardCycle: {
179
183
  // TO identify what was the last cycle
180
184
  // Value in 1, 2, 3
@@ -61,6 +61,11 @@ const userGoal = new mongoose_1.Schema({
61
61
  type: Boolean,
62
62
  default: false,
63
63
  },
64
+ hgRemSetting: {
65
+ type: Boolean,
66
+ default: false,
67
+ required: false,
68
+ },
64
69
  });
65
70
  userGoal.index({ employeeId: 1, date: -1 }, {
66
71
  unique: false,
@@ -95,6 +95,10 @@ const UserAnalytic = new mongoose_1.Schema({
95
95
  type: String,
96
96
  required: false,
97
97
  },
98
+ welcomeMessage: {
99
+ type: String,
100
+ required: false,
101
+ },
98
102
  });
99
103
  UserAnalytic.index({ employeeId: 1, weekNumber: -1, year: -1, date: -1 });
100
104
  UserAnalytic.index({ employeeId: 1, month: -1, year: -1, date: -1 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joye-backend-utility",
3
- "version": "5.1.48",
3
+ "version": "5.1.50",
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",