joye-backend-utility 3.0.2 → 3.0.4

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.
@@ -101,6 +101,14 @@ const BrewSchema = new mongoose_1.Schema({
101
101
  },
102
102
  required: false,
103
103
  },
104
+ stressBustersStartCount: {
105
+ type: Number,
106
+ required: false,
107
+ },
108
+ stressBustersEndCount: {
109
+ type: Number,
110
+ required: false,
111
+ },
104
112
  creationDate: {
105
113
  type: String,
106
114
  required: true,
@@ -6,7 +6,7 @@ const MasterAppSettingSchema = new mongoose_1.Schema({
6
6
  key: {
7
7
  type: String,
8
8
  required: true,
9
- // index: true,
9
+ index: true,
10
10
  },
11
11
  name: {
12
12
  type: String,
@@ -6,7 +6,7 @@ const MasterDataSchema = new mongoose_1.Schema({
6
6
  key: {
7
7
  type: String,
8
8
  required: true,
9
- // index: true,
9
+ index: true,
10
10
  },
11
11
  dataType: {
12
12
  type: String,
@@ -6,7 +6,7 @@ const MasterEmotionsSchema = new mongoose_1.Schema({
6
6
  key: {
7
7
  type: String,
8
8
  required: true,
9
- // index: true,
9
+ index: true,
10
10
  },
11
11
  name: {
12
12
  type: String,
@@ -6,7 +6,7 @@ const MasterPodcastSchema = new mongoose_1.Schema({
6
6
  key: {
7
7
  type: String,
8
8
  required: true,
9
- // index: true,
9
+ index: true,
10
10
  },
11
11
  file: {
12
12
  type: String,
@@ -6,7 +6,7 @@ const MasterPredictionEmotionMessageSchema = new mongoose_1.Schema({
6
6
  masterPredictionEmotionKey: {
7
7
  type: String,
8
8
  required: true,
9
- // index: true,
9
+ index: true,
10
10
  },
11
11
  messages: {
12
12
  type: Array,
@@ -6,7 +6,7 @@ const MasterThemeDataSchema = new mongoose_1.Schema({
6
6
  theme: {
7
7
  type: Number,
8
8
  required: true,
9
- // index: true,
9
+ index: true,
10
10
  },
11
11
  appreciationMessages: {
12
12
  type: Array,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joye-backend-utility",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
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",