joye-backend-utility 7.2.9 → 7.2.11
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.
package/dist/schema/platform.js
CHANGED
|
@@ -112,6 +112,7 @@ const UserAnalytic = new mongoose_1.Schema({
|
|
|
112
112
|
required: false,
|
|
113
113
|
},
|
|
114
114
|
activity: {
|
|
115
|
+
// To show the data is a fallback data from Databricks cron execution
|
|
115
116
|
type: Boolean,
|
|
116
117
|
required: false,
|
|
117
118
|
},
|
|
@@ -119,6 +120,11 @@ const UserAnalytic = new mongoose_1.Schema({
|
|
|
119
120
|
type: Object,
|
|
120
121
|
required: false,
|
|
121
122
|
},
|
|
123
|
+
fallbackData: {
|
|
124
|
+
// To show the data is a fallback data from UI initiated /emotion-data request
|
|
125
|
+
type: Boolean,
|
|
126
|
+
required: false,
|
|
127
|
+
},
|
|
122
128
|
});
|
|
123
129
|
UserAnalytic.index({ employeeId: 1, weekNumber: -1, year: -1, date: -1 });
|
|
124
130
|
UserAnalytic.index({ employeeId: 1, month: -1, year: -1, date: -1 });
|