joye-backend-utility 5.0.32 → 5.0.34

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.
@@ -164,10 +164,22 @@ const User = new mongoose_1.Schema({
164
164
  type: String,
165
165
  required: false,
166
166
  },
167
+ consentVia: {
168
+ type: String,
169
+ required: false,
170
+ },
171
+ loginTime: {
172
+ type: Number,
173
+ required: false,
174
+ },
167
175
  lastRecommendationDate: {
168
176
  type: String,
169
177
  required: false,
170
178
  },
179
+ appreciationDate: {
180
+ type: String,
181
+ required: false,
182
+ },
171
183
  consent: {
172
184
  type: Boolean,
173
185
  required: false,
@@ -35,6 +35,10 @@ const UserMessageLog = new mongoose_1.Schema({
35
35
  type: Boolean,
36
36
  required: false,
37
37
  },
38
+ appreciation: {
39
+ type: Boolean,
40
+ required: false,
41
+ },
38
42
  saved: {
39
43
  type: Boolean,
40
44
  default: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joye-backend-utility",
3
- "version": "5.0.32",
3
+ "version": "5.0.34",
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",