joye-backend-utility 7.2.2 → 7.2.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.
package/dist/database.js
CHANGED
|
@@ -12,6 +12,7 @@ class database {
|
|
|
12
12
|
con.model('Master_Data', schema_1.MasterDataSchema);
|
|
13
13
|
con.model('Master_Emotion', schema_1.MasterEmotionsSchema);
|
|
14
14
|
con.model('Master_Emotion_Message_Mapping', schema_1.MasterEmotionsMessageMappingSchema);
|
|
15
|
+
con.model('Master_Emotion_Message_Mapping_V2', schema_1.MasterEmotionsMessageMappingSchemaV2);
|
|
15
16
|
con.model('Master_Emotion_Message_Type_Theme_Mapping', schema_1.MasterEmotionMessageTypeThemeMappingSchema);
|
|
16
17
|
con.model('Master_Podcast', schema_1.MasterPodcastSchema);
|
|
17
18
|
con.model('Master_Prediction_Emotion', schema_1.MasterPredictionEmotionSchema);
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { MasterAppSettingSchema } from './masterAppSetting';
|
|
|
3
3
|
export { MasterDataSchema } from './masterData';
|
|
4
4
|
export { MasterEmotionsSchema } from './masterEmotion';
|
|
5
5
|
export { MasterEmotionsMessageMappingSchema } from './masterEmotionMessageMapping';
|
|
6
|
+
export { MasterEmotionsMessageMappingSchemaV2 } from './masterEmotionMessageMappingV2';
|
|
6
7
|
export { MasterEmotionMessageTypeThemeMappingSchema } from './masterEmotionMessageTypeThemeMapping';
|
|
7
8
|
export { MasterPodcastSchema } from './masterPodcast';
|
|
8
9
|
export { MasterPredictionEmotionSchema } from './masterPredictionEmotion';
|
package/dist/schema/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UserSuperPowerDataSchema = exports.MasterSuperPowerRuleSchema = void 0;
|
|
3
|
+
exports.MasterEmotionsSchemaV2 = exports.PageViewSchema = exports.AIPromptsSchema = exports.UserAnalyticSchema = exports.AIResponsesTrackingSchema = exports.UserProfileSchema = exports.UserChatSessionSchema = exports.FeatureFeedbackSchema = exports.UserWeekActivitySchema = exports.UserTrainingRemindersSchema = exports.UserTrainingDailyDataSchema = exports.MasterTrainingDaysSchema = exports.UserTrainingWeekDataSchema = exports.UserTrainingDataSchema = exports.MasterTrainingWeekSchema = exports.MasterTrainingSchema = exports.userJoyLevelQaSchema = exports.userGoalSchema = exports.OrganizationUserAttrPermissionSchema = exports.TimezoneSchema = exports.UserVideoSchema = exports.UserFeedbackSchema = exports.UserReminderSchema = exports.MasterLinkCardSchema = exports.UserRecommendationSchema = exports.MasterSuggestionsParameterSchema = exports.MasterSuggestionsMessageSchema = exports.MasterBlessingsDataSchema = exports.MasterVideoSchema = exports.DatabaseInfoSchema = exports.UserSchema = exports.UserMessageLogSchema = exports.UserMessageSchema = exports.UserMeetingSchema = exports.UserLogSchema = exports.PlatformSchema = exports.OrganizationSchema = exports.MasterThemeMessageSchema = exports.MasterThemeDataSchema = exports.MasterPredictionEmotionsMessageMappingSchema = exports.MasterPredictionEmotionMessageSchema = exports.MasterPredictionEmotionSchema = exports.MasterPodcastSchema = exports.MasterEmotionMessageTypeThemeMappingSchema = exports.MasterEmotionsMessageMappingSchemaV2 = exports.MasterEmotionsMessageMappingSchema = exports.MasterEmotionsSchema = exports.MasterDataSchema = exports.MasterAppSettingSchema = exports.BrewSchema = void 0;
|
|
4
|
+
exports.UserSuperPowerDataSchema = exports.MasterSuperPowerRuleSchema = exports.MasterSuperPowerDataSchema = void 0;
|
|
5
5
|
var brew_1 = require("./brew");
|
|
6
6
|
Object.defineProperty(exports, "BrewSchema", { enumerable: true, get: function () { return brew_1.BrewSchema; } });
|
|
7
7
|
var masterAppSetting_1 = require("./masterAppSetting");
|
|
@@ -12,6 +12,8 @@ var masterEmotion_1 = require("./masterEmotion");
|
|
|
12
12
|
Object.defineProperty(exports, "MasterEmotionsSchema", { enumerable: true, get: function () { return masterEmotion_1.MasterEmotionsSchema; } });
|
|
13
13
|
var masterEmotionMessageMapping_1 = require("./masterEmotionMessageMapping");
|
|
14
14
|
Object.defineProperty(exports, "MasterEmotionsMessageMappingSchema", { enumerable: true, get: function () { return masterEmotionMessageMapping_1.MasterEmotionsMessageMappingSchema; } });
|
|
15
|
+
var masterEmotionMessageMappingV2_1 = require("./masterEmotionMessageMappingV2");
|
|
16
|
+
Object.defineProperty(exports, "MasterEmotionsMessageMappingSchemaV2", { enumerable: true, get: function () { return masterEmotionMessageMappingV2_1.MasterEmotionsMessageMappingSchemaV2; } });
|
|
15
17
|
var masterEmotionMessageTypeThemeMapping_1 = require("./masterEmotionMessageTypeThemeMapping");
|
|
16
18
|
Object.defineProperty(exports, "MasterEmotionMessageTypeThemeMappingSchema", { enumerable: true, get: function () { return masterEmotionMessageTypeThemeMapping_1.MasterEmotionMessageTypeThemeMappingSchema; } });
|
|
17
19
|
var masterPodcast_1 = require("./masterPodcast");
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MasterEmotionsMessageMappingSchemaV2 = 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.MasterEmotionsMessageMappingSchemaV2 = MasterEmotionsMessageMapping;
|
|
@@ -46,5 +46,52 @@ const UserTrainingData = new mongoose_1.Schema({
|
|
|
46
46
|
type: Number,
|
|
47
47
|
required: false,
|
|
48
48
|
},
|
|
49
|
+
sprints: {
|
|
50
|
+
type: {
|
|
51
|
+
one: {
|
|
52
|
+
status: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: false,
|
|
55
|
+
},
|
|
56
|
+
endDate: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: '',
|
|
59
|
+
},
|
|
60
|
+
rating: {
|
|
61
|
+
type: Number,
|
|
62
|
+
required: false,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
two: {
|
|
66
|
+
status: {
|
|
67
|
+
type: Boolean,
|
|
68
|
+
default: false,
|
|
69
|
+
},
|
|
70
|
+
endDate: {
|
|
71
|
+
type: String,
|
|
72
|
+
default: '',
|
|
73
|
+
},
|
|
74
|
+
rating: {
|
|
75
|
+
type: Number,
|
|
76
|
+
required: false,
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
three: {
|
|
80
|
+
status: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: false,
|
|
83
|
+
},
|
|
84
|
+
endDate: {
|
|
85
|
+
type: String,
|
|
86
|
+
default: '',
|
|
87
|
+
},
|
|
88
|
+
rating: {
|
|
89
|
+
type: Number,
|
|
90
|
+
required: false,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
required: false,
|
|
95
|
+
},
|
|
49
96
|
});
|
|
50
97
|
exports.UserTrainingDataSchema = UserTrainingData;
|