joye-backend-utility 4.1.9 → 4.1.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.
@@ -44,5 +44,9 @@ const Organization = new mongoose_1.Schema({
44
44
  type: String,
45
45
  required: false,
46
46
  },
47
+ createTimestamp: {
48
+ type: Number,
49
+ required: false,
50
+ },
47
51
  });
48
52
  exports.OrganizationSchema = Organization;
@@ -12,6 +12,10 @@ const User = new mongoose_1.Schema({
12
12
  required: true,
13
13
  index: true,
14
14
  },
15
+ postPieScreen: {
16
+ type: String,
17
+ required: false,
18
+ },
15
19
  happinessCounterLifetime: {
16
20
  type: Object,
17
21
  yesCount: {
@@ -130,5 +134,9 @@ const User = new mongoose_1.Schema({
130
134
  type: Number,
131
135
  required: false,
132
136
  },
137
+ createTimestamp: {
138
+ type: Number,
139
+ required: false,
140
+ },
133
141
  });
134
142
  exports.UserSchema = User;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joye-backend-utility",
3
- "version": "4.1.9",
3
+ "version": "4.1.11",
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",