joye-backend-utility 3.0.2 → 3.0.3

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.
@@ -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.3",
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",