joye-backend-utility 5.1.9 → 5.1.10
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/config/index.d.ts +2 -2
- package/dist/config/index.js +8 -8
- package/dist/database.d.ts +26 -26
- package/dist/database.js +141 -141
- package/dist/dateTime.d.ts +11 -11
- package/dist/dateTime.js +82 -82
- package/dist/index.d.ts +6 -6
- package/dist/index.js +26 -26
- package/dist/jwt.d.ts +3 -3
- package/dist/jwt.js +40 -40
- package/dist/jwtKeys/jwtRS256.key +54 -0
- package/dist/jwtKeys/jwtRS256.key.pub +14 -0
- package/dist/redisClient.d.ts +6 -6
- package/dist/redisClient.js +34 -34
- package/dist/schema/brew.d.ts +2 -2
- package/dist/schema/brew.js +160 -160
- package/dist/schema/databaseInfo.d.ts +2 -2
- package/dist/schema/databaseInfo.js +35 -35
- package/dist/schema/index.d.ts +37 -37
- package/dist/schema/index.js +77 -77
- package/dist/schema/masterAppSetting.d.ts +2 -2
- package/dist/schema/masterAppSetting.js +24 -24
- package/dist/schema/masterBlessingsData.d.ts +2 -2
- package/dist/schema/masterBlessingsData.js +41 -41
- package/dist/schema/masterData.d.ts +2 -2
- package/dist/schema/masterData.js +28 -28
- package/dist/schema/masterEmotion.d.ts +2 -2
- package/dist/schema/masterEmotion.js +115 -115
- package/dist/schema/masterEmotionMessageMapping.d.ts +2 -2
- package/dist/schema/masterEmotionMessageMapping.js +16 -16
- package/dist/schema/masterEmotionMessageTypeThemeMapping.d.ts +2 -2
- package/dist/schema/masterEmotionMessageTypeThemeMapping.js +23 -23
- package/dist/schema/masterLinkCard.d.ts +2 -2
- package/dist/schema/masterLinkCard.js +28 -28
- package/dist/schema/masterPodcast.d.ts +2 -2
- package/dist/schema/masterPodcast.js +37 -37
- package/dist/schema/masterPredictionEmotion.d.ts +2 -2
- package/dist/schema/masterPredictionEmotion.js +27 -27
- package/dist/schema/masterPredictionEmotionMessage.d.ts +2 -2
- package/dist/schema/masterPredictionEmotionMessage.js +26 -26
- package/dist/schema/masterPredictionEmotionMessageMapping.d.ts +2 -2
- package/dist/schema/masterPredictionEmotionMessageMapping.js +16 -16
- package/dist/schema/masterSuggestionsMessage.model.d.ts +2 -2
- package/dist/schema/masterSuggestionsMessage.model.js +31 -31
- package/dist/schema/masterSuggestionsParameter.model.d.ts +2 -2
- package/dist/schema/masterSuggestionsParameter.model.js +23 -23
- package/dist/schema/masterThemeData.d.ts +2 -2
- package/dist/schema/masterThemeData.js +48 -48
- package/dist/schema/masterThemeMessage.d.ts +2 -2
- package/dist/schema/masterThemeMessage.js +13 -13
- package/dist/schema/masterTraining.d.ts +2 -2
- package/dist/schema/masterTraining.js +29 -29
- package/dist/schema/masterTrainingWeek.d.ts +2 -2
- package/dist/schema/masterTrainingWeek.js +32 -32
- package/dist/schema/masterVideo.d.ts +2 -2
- package/dist/schema/masterVideo.js +33 -33
- package/dist/schema/organization.d.ts +2 -2
- package/dist/schema/organization.js +79 -79
- package/dist/schema/organizationUserAttrPermission.d.ts +2 -2
- package/dist/schema/organizationUserAttrPermission.js +59 -59
- package/dist/schema/platform.d.ts +2 -2
- package/dist/schema/platform.js +28 -28
- package/dist/schema/timezones.d.ts +2 -2
- package/dist/schema/timezones.js +26 -26
- package/dist/schema/user.d.ts +2 -2
- package/dist/schema/user.js +202 -202
- package/dist/schema/userFeedback.d.ts +2 -2
- package/dist/schema/userFeedback.js +24 -24
- package/dist/schema/userGoal.d.ts +2 -2
- package/dist/schema/userGoal.js +38 -38
- package/dist/schema/userJoyLevelQa.d.ts +2 -2
- package/dist/schema/userJoyLevelQa.js +49 -49
- package/dist/schema/userLog.d.ts +2 -2
- package/dist/schema/userLog.js +22 -22
- package/dist/schema/userMeeting.d.ts +2 -2
- package/dist/schema/userMeeting.js +22 -22
- package/dist/schema/userMessages.d.ts +2 -2
- package/dist/schema/userMessages.js +24 -24
- package/dist/schema/userMessagesLog.d.ts +2 -2
- package/dist/schema/userMessagesLog.js +69 -69
- package/dist/schema/userRecommendation.d.ts +2 -2
- package/dist/schema/userRecommendation.js +24 -24
- package/dist/schema/userReminder.d.ts +2 -2
- package/dist/schema/userReminder.js +61 -61
- package/dist/schema/userTrainingData.d.ts +2 -2
- package/dist/schema/userTrainingData.js +37 -37
- package/dist/schema/userTrainingWeekData.d.ts +2 -2
- package/dist/schema/userTrainingWeekData.js +36 -36
- package/dist/schema/userVideo.d.ts +2 -2
- package/dist/schema/userVideo.js +50 -50
- package/dist/util.d.ts +2 -2
- package/dist/util.js +13 -13
- package/package.json +1 -1
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MasterEmotionsSchema = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const MasterEmotions = new mongoose_1.Schema({
|
|
6
|
-
key: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true,
|
|
9
|
-
index: true,
|
|
10
|
-
},
|
|
11
|
-
name: {
|
|
12
|
-
type: String,
|
|
13
|
-
required: true,
|
|
14
|
-
},
|
|
15
|
-
emotionCategory: {
|
|
16
|
-
type: String,
|
|
17
|
-
required: true,
|
|
18
|
-
},
|
|
19
|
-
type: {
|
|
20
|
-
type: String,
|
|
21
|
-
required: true,
|
|
22
|
-
},
|
|
23
|
-
weight: {
|
|
24
|
-
type: String,
|
|
25
|
-
required: true,
|
|
26
|
-
},
|
|
27
|
-
color: {
|
|
28
|
-
type: String,
|
|
29
|
-
required: false,
|
|
30
|
-
},
|
|
31
|
-
sColor: {
|
|
32
|
-
type: String,
|
|
33
|
-
required: false,
|
|
34
|
-
},
|
|
35
|
-
cColor: {
|
|
36
|
-
type: String,
|
|
37
|
-
required: false,
|
|
38
|
-
},
|
|
39
|
-
startColor: {
|
|
40
|
-
type: String,
|
|
41
|
-
required: false,
|
|
42
|
-
},
|
|
43
|
-
stopColor: {
|
|
44
|
-
type: String,
|
|
45
|
-
required: false,
|
|
46
|
-
},
|
|
47
|
-
active: {
|
|
48
|
-
type: Boolean,
|
|
49
|
-
required: false,
|
|
50
|
-
},
|
|
51
|
-
value: {
|
|
52
|
-
type: Number,
|
|
53
|
-
required: false,
|
|
54
|
-
},
|
|
55
|
-
pieValue: {
|
|
56
|
-
type: Number,
|
|
57
|
-
required: false,
|
|
58
|
-
},
|
|
59
|
-
questions: { type: Array, required: false },
|
|
60
|
-
cardQuestions: { type: Array, required: false },
|
|
61
|
-
suggestionData: {
|
|
62
|
-
type: Object,
|
|
63
|
-
pie: {
|
|
64
|
-
type: Array,
|
|
65
|
-
},
|
|
66
|
-
prePieMessage: {
|
|
67
|
-
type: Array,
|
|
68
|
-
},
|
|
69
|
-
required: false,
|
|
70
|
-
},
|
|
71
|
-
appreciationData: {
|
|
72
|
-
type: Object,
|
|
73
|
-
pie: {
|
|
74
|
-
type: Array,
|
|
75
|
-
},
|
|
76
|
-
prePieMessage: {
|
|
77
|
-
type: Array,
|
|
78
|
-
},
|
|
79
|
-
required: false,
|
|
80
|
-
},
|
|
81
|
-
voice: {
|
|
82
|
-
type: Object,
|
|
83
|
-
suggestionData: {
|
|
84
|
-
type: Object,
|
|
85
|
-
pie: {
|
|
86
|
-
type: Array,
|
|
87
|
-
},
|
|
88
|
-
prePieMessage: {
|
|
89
|
-
type: Array,
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
appreciationData: {
|
|
93
|
-
type: Object,
|
|
94
|
-
pie: {
|
|
95
|
-
type: Array,
|
|
96
|
-
},
|
|
97
|
-
prePieMessage: {
|
|
98
|
-
type: Array,
|
|
99
|
-
},
|
|
100
|
-
required: false,
|
|
101
|
-
},
|
|
102
|
-
},
|
|
103
|
-
pie: { type: Array, required: false },
|
|
104
|
-
dailyChart: { type: Array, required: false },
|
|
105
|
-
prePieMessage: { type: Array, required: false },
|
|
106
|
-
suggestionEmotionColor: {
|
|
107
|
-
type: String,
|
|
108
|
-
required: false,
|
|
109
|
-
},
|
|
110
|
-
appreciationEmotionColor: {
|
|
111
|
-
type: String,
|
|
112
|
-
required: false,
|
|
113
|
-
},
|
|
114
|
-
});
|
|
115
|
-
exports.MasterEmotionsSchema = MasterEmotions;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MasterEmotionsSchema = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const MasterEmotions = new mongoose_1.Schema({
|
|
6
|
+
key: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true,
|
|
9
|
+
index: true,
|
|
10
|
+
},
|
|
11
|
+
name: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: true,
|
|
14
|
+
},
|
|
15
|
+
emotionCategory: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: true,
|
|
18
|
+
},
|
|
19
|
+
type: {
|
|
20
|
+
type: String,
|
|
21
|
+
required: true,
|
|
22
|
+
},
|
|
23
|
+
weight: {
|
|
24
|
+
type: String,
|
|
25
|
+
required: true,
|
|
26
|
+
},
|
|
27
|
+
color: {
|
|
28
|
+
type: String,
|
|
29
|
+
required: false,
|
|
30
|
+
},
|
|
31
|
+
sColor: {
|
|
32
|
+
type: String,
|
|
33
|
+
required: false,
|
|
34
|
+
},
|
|
35
|
+
cColor: {
|
|
36
|
+
type: String,
|
|
37
|
+
required: false,
|
|
38
|
+
},
|
|
39
|
+
startColor: {
|
|
40
|
+
type: String,
|
|
41
|
+
required: false,
|
|
42
|
+
},
|
|
43
|
+
stopColor: {
|
|
44
|
+
type: String,
|
|
45
|
+
required: false,
|
|
46
|
+
},
|
|
47
|
+
active: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
required: false,
|
|
50
|
+
},
|
|
51
|
+
value: {
|
|
52
|
+
type: Number,
|
|
53
|
+
required: false,
|
|
54
|
+
},
|
|
55
|
+
pieValue: {
|
|
56
|
+
type: Number,
|
|
57
|
+
required: false,
|
|
58
|
+
},
|
|
59
|
+
questions: { type: Array, required: false },
|
|
60
|
+
cardQuestions: { type: Array, required: false },
|
|
61
|
+
suggestionData: {
|
|
62
|
+
type: Object,
|
|
63
|
+
pie: {
|
|
64
|
+
type: Array,
|
|
65
|
+
},
|
|
66
|
+
prePieMessage: {
|
|
67
|
+
type: Array,
|
|
68
|
+
},
|
|
69
|
+
required: false,
|
|
70
|
+
},
|
|
71
|
+
appreciationData: {
|
|
72
|
+
type: Object,
|
|
73
|
+
pie: {
|
|
74
|
+
type: Array,
|
|
75
|
+
},
|
|
76
|
+
prePieMessage: {
|
|
77
|
+
type: Array,
|
|
78
|
+
},
|
|
79
|
+
required: false,
|
|
80
|
+
},
|
|
81
|
+
voice: {
|
|
82
|
+
type: Object,
|
|
83
|
+
suggestionData: {
|
|
84
|
+
type: Object,
|
|
85
|
+
pie: {
|
|
86
|
+
type: Array,
|
|
87
|
+
},
|
|
88
|
+
prePieMessage: {
|
|
89
|
+
type: Array,
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
appreciationData: {
|
|
93
|
+
type: Object,
|
|
94
|
+
pie: {
|
|
95
|
+
type: Array,
|
|
96
|
+
},
|
|
97
|
+
prePieMessage: {
|
|
98
|
+
type: Array,
|
|
99
|
+
},
|
|
100
|
+
required: false,
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
pie: { type: Array, required: false },
|
|
104
|
+
dailyChart: { type: Array, required: false },
|
|
105
|
+
prePieMessage: { type: Array, required: false },
|
|
106
|
+
suggestionEmotionColor: {
|
|
107
|
+
type: String,
|
|
108
|
+
required: false,
|
|
109
|
+
},
|
|
110
|
+
appreciationEmotionColor: {
|
|
111
|
+
type: String,
|
|
112
|
+
required: false,
|
|
113
|
+
},
|
|
114
|
+
});
|
|
115
|
+
exports.MasterEmotionsSchema = MasterEmotions;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from 'mongoose';
|
|
2
|
-
export declare const MasterEmotionsMessageMappingSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
|
+
export declare const MasterEmotionsMessageMappingSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MasterEmotionsMessageMappingSchema = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const MasterEmotionsMessageMapping = new mongoose_1.Schema({
|
|
6
|
-
masterEmotionKey: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true,
|
|
9
|
-
},
|
|
10
|
-
type: {
|
|
11
|
-
type: String,
|
|
12
|
-
required: true,
|
|
13
|
-
},
|
|
14
|
-
mapping: { type: Array, required: false },
|
|
15
|
-
});
|
|
16
|
-
exports.MasterEmotionsMessageMappingSchema = MasterEmotionsMessageMapping;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MasterEmotionsMessageMappingSchema = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const MasterEmotionsMessageMapping = new mongoose_1.Schema({
|
|
6
|
+
masterEmotionKey: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true,
|
|
9
|
+
},
|
|
10
|
+
type: {
|
|
11
|
+
type: String,
|
|
12
|
+
required: true,
|
|
13
|
+
},
|
|
14
|
+
mapping: { type: Array, required: false },
|
|
15
|
+
});
|
|
16
|
+
exports.MasterEmotionsMessageMappingSchema = MasterEmotionsMessageMapping;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from 'mongoose';
|
|
2
|
-
export declare const MasterEmotionMessageTypeThemeMappingSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
|
+
export declare const MasterEmotionMessageTypeThemeMappingSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MasterEmotionMessageTypeThemeMappingSchema = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const MasterEmotionMessageTypeThemeMapping = new mongoose_1.Schema({
|
|
6
|
-
masterEmotionKey: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true,
|
|
9
|
-
},
|
|
10
|
-
messageType: {
|
|
11
|
-
type: String,
|
|
12
|
-
required: true,
|
|
13
|
-
},
|
|
14
|
-
detail: {
|
|
15
|
-
type: String,
|
|
16
|
-
required: false,
|
|
17
|
-
},
|
|
18
|
-
themes: {
|
|
19
|
-
type: Array,
|
|
20
|
-
required: false,
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
exports.MasterEmotionMessageTypeThemeMappingSchema = MasterEmotionMessageTypeThemeMapping;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MasterEmotionMessageTypeThemeMappingSchema = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const MasterEmotionMessageTypeThemeMapping = new mongoose_1.Schema({
|
|
6
|
+
masterEmotionKey: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true,
|
|
9
|
+
},
|
|
10
|
+
messageType: {
|
|
11
|
+
type: String,
|
|
12
|
+
required: true,
|
|
13
|
+
},
|
|
14
|
+
detail: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: false,
|
|
17
|
+
},
|
|
18
|
+
themes: {
|
|
19
|
+
type: Array,
|
|
20
|
+
required: false,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
exports.MasterEmotionMessageTypeThemeMappingSchema = MasterEmotionMessageTypeThemeMapping;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from 'mongoose';
|
|
2
|
-
export declare const MasterLinkCardSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
|
+
export declare const MasterLinkCardSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MasterLinkCardSchema = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const MasterLinkCard = new mongoose_1.Schema({
|
|
6
|
-
title: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true,
|
|
9
|
-
index: true,
|
|
10
|
-
},
|
|
11
|
-
category: {
|
|
12
|
-
type: String,
|
|
13
|
-
required: true,
|
|
14
|
-
},
|
|
15
|
-
link: {
|
|
16
|
-
type: String,
|
|
17
|
-
required: true,
|
|
18
|
-
},
|
|
19
|
-
exceptTenantIds: {
|
|
20
|
-
type: Array,
|
|
21
|
-
required: false,
|
|
22
|
-
},
|
|
23
|
-
exceptTenantNames: {
|
|
24
|
-
type: Array,
|
|
25
|
-
required: false,
|
|
26
|
-
},
|
|
27
|
-
});
|
|
28
|
-
exports.MasterLinkCardSchema = MasterLinkCard;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MasterLinkCardSchema = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const MasterLinkCard = new mongoose_1.Schema({
|
|
6
|
+
title: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true,
|
|
9
|
+
index: true,
|
|
10
|
+
},
|
|
11
|
+
category: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: true,
|
|
14
|
+
},
|
|
15
|
+
link: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: true,
|
|
18
|
+
},
|
|
19
|
+
exceptTenantIds: {
|
|
20
|
+
type: Array,
|
|
21
|
+
required: false,
|
|
22
|
+
},
|
|
23
|
+
exceptTenantNames: {
|
|
24
|
+
type: Array,
|
|
25
|
+
required: false,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
exports.MasterLinkCardSchema = MasterLinkCard;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from 'mongoose';
|
|
2
|
-
export declare const MasterPodcastSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
|
+
export declare const MasterPodcastSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MasterPodcastSchema = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const MasterPodcast = new mongoose_1.Schema({
|
|
6
|
-
key: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true,
|
|
9
|
-
index: true,
|
|
10
|
-
},
|
|
11
|
-
file: {
|
|
12
|
-
type: String,
|
|
13
|
-
required: false,
|
|
14
|
-
},
|
|
15
|
-
title: {
|
|
16
|
-
type: String,
|
|
17
|
-
required: false,
|
|
18
|
-
},
|
|
19
|
-
url: {
|
|
20
|
-
type: String,
|
|
21
|
-
required: false,
|
|
22
|
-
},
|
|
23
|
-
duration: {
|
|
24
|
-
type: String,
|
|
25
|
-
required: false,
|
|
26
|
-
},
|
|
27
|
-
morningPodcast: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
default: false,
|
|
30
|
-
required: false,
|
|
31
|
-
},
|
|
32
|
-
training: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
required: false,
|
|
35
|
-
},
|
|
36
|
-
});
|
|
37
|
-
exports.MasterPodcastSchema = MasterPodcast;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MasterPodcastSchema = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const MasterPodcast = new mongoose_1.Schema({
|
|
6
|
+
key: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true,
|
|
9
|
+
index: true,
|
|
10
|
+
},
|
|
11
|
+
file: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: false,
|
|
14
|
+
},
|
|
15
|
+
title: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: false,
|
|
18
|
+
},
|
|
19
|
+
url: {
|
|
20
|
+
type: String,
|
|
21
|
+
required: false,
|
|
22
|
+
},
|
|
23
|
+
duration: {
|
|
24
|
+
type: String,
|
|
25
|
+
required: false,
|
|
26
|
+
},
|
|
27
|
+
morningPodcast: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: false,
|
|
30
|
+
required: false,
|
|
31
|
+
},
|
|
32
|
+
training: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
required: false,
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
exports.MasterPodcastSchema = MasterPodcast;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from 'mongoose';
|
|
2
|
-
export declare const MasterPredictionEmotionSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
|
+
export declare const MasterPredictionEmotionSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MasterPredictionEmotionSchema = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const MasterPredictionEmotion = new mongoose_1.Schema({
|
|
6
|
-
key: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true,
|
|
9
|
-
},
|
|
10
|
-
name: {
|
|
11
|
-
type: String,
|
|
12
|
-
required: true,
|
|
13
|
-
},
|
|
14
|
-
emotionCategory: {
|
|
15
|
-
type: String,
|
|
16
|
-
required: true,
|
|
17
|
-
},
|
|
18
|
-
themes: {
|
|
19
|
-
type: Array,
|
|
20
|
-
required: false,
|
|
21
|
-
},
|
|
22
|
-
inverse: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
required: true,
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
exports.MasterPredictionEmotionSchema = MasterPredictionEmotion;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MasterPredictionEmotionSchema = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const MasterPredictionEmotion = new mongoose_1.Schema({
|
|
6
|
+
key: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true,
|
|
9
|
+
},
|
|
10
|
+
name: {
|
|
11
|
+
type: String,
|
|
12
|
+
required: true,
|
|
13
|
+
},
|
|
14
|
+
emotionCategory: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: true,
|
|
17
|
+
},
|
|
18
|
+
themes: {
|
|
19
|
+
type: Array,
|
|
20
|
+
required: false,
|
|
21
|
+
},
|
|
22
|
+
inverse: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
required: true,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
exports.MasterPredictionEmotionSchema = MasterPredictionEmotion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from 'mongoose';
|
|
2
|
-
export declare const MasterPredictionEmotionMessageSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
|
+
export declare const MasterPredictionEmotionMessageSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MasterPredictionEmotionMessageSchema = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const MasterPredictionEmotionMessage = new mongoose_1.Schema({
|
|
6
|
-
masterPredictionEmotionKey: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true,
|
|
9
|
-
index: true,
|
|
10
|
-
},
|
|
11
|
-
messages: {
|
|
12
|
-
type: Array,
|
|
13
|
-
items: {
|
|
14
|
-
type: 'object',
|
|
15
|
-
properties: {
|
|
16
|
-
message: {
|
|
17
|
-
type: String,
|
|
18
|
-
},
|
|
19
|
-
theme: {
|
|
20
|
-
type: String,
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
});
|
|
26
|
-
exports.MasterPredictionEmotionMessageSchema = MasterPredictionEmotionMessage;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MasterPredictionEmotionMessageSchema = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const MasterPredictionEmotionMessage = new mongoose_1.Schema({
|
|
6
|
+
masterPredictionEmotionKey: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true,
|
|
9
|
+
index: true,
|
|
10
|
+
},
|
|
11
|
+
messages: {
|
|
12
|
+
type: Array,
|
|
13
|
+
items: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
properties: {
|
|
16
|
+
message: {
|
|
17
|
+
type: String,
|
|
18
|
+
},
|
|
19
|
+
theme: {
|
|
20
|
+
type: String,
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
exports.MasterPredictionEmotionMessageSchema = MasterPredictionEmotionMessage;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from 'mongoose';
|
|
2
|
-
export declare const MasterPredictionEmotionsMessageMappingSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
|
+
export declare const MasterPredictionEmotionsMessageMappingSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MasterPredictionEmotionsMessageMappingSchema = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const MasterPredictionEmotionsMessageMapping = new mongoose_1.Schema({
|
|
6
|
-
masterEmotionKey: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true,
|
|
9
|
-
},
|
|
10
|
-
type: {
|
|
11
|
-
type: String,
|
|
12
|
-
required: true,
|
|
13
|
-
},
|
|
14
|
-
mapping: { type: Array, required: false },
|
|
15
|
-
});
|
|
16
|
-
exports.MasterPredictionEmotionsMessageMappingSchema = MasterPredictionEmotionsMessageMapping;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MasterPredictionEmotionsMessageMappingSchema = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const MasterPredictionEmotionsMessageMapping = new mongoose_1.Schema({
|
|
6
|
+
masterEmotionKey: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true,
|
|
9
|
+
},
|
|
10
|
+
type: {
|
|
11
|
+
type: String,
|
|
12
|
+
required: true,
|
|
13
|
+
},
|
|
14
|
+
mapping: { type: Array, required: false },
|
|
15
|
+
});
|
|
16
|
+
exports.MasterPredictionEmotionsMessageMappingSchema = MasterPredictionEmotionsMessageMapping;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from 'mongoose';
|
|
2
|
-
export declare const MasterSuggestionsMessageSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
|
+
export declare const MasterSuggestionsMessageSchema: Schema<import("mongoose").Document<any, any, any>, import("mongoose").Model<import("mongoose").Document<any, any, any>, any, any>, undefined, {}>;
|