joye-backend-utility 7.2.11 → 7.2.13

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.
@@ -161,6 +161,10 @@ const MasterEmotions = new mongoose_1.Schema({
161
161
  type: String,
162
162
  required: false,
163
163
  },
164
+ mayBeEmotionColor: {
165
+ type: String,
166
+ required: false,
167
+ },
164
168
  podcasts: { type: Array, required: false },
165
169
  });
166
170
  exports.MasterEmotionsSchemaV2 = MasterEmotions;
@@ -125,6 +125,11 @@ const UserAnalytic = new mongoose_1.Schema({
125
125
  type: Boolean,
126
126
  required: false,
127
127
  },
128
+ staticDaily: {
129
+ // To show the daily Suggestion/Insight data is a fallback data from from Databricks cron execution
130
+ type: Boolean,
131
+ required: false,
132
+ },
128
133
  });
129
134
  UserAnalytic.index({ employeeId: 1, weekNumber: -1, year: -1, date: -1 });
130
135
  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": "7.2.11",
3
+ "version": "7.2.13",
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",