@chevre/domain 24.0.0-alpha.85 → 24.0.0-alpha.86
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.
|
@@ -152,24 +152,10 @@ class EventSeriesRepo {
|
|
|
152
152
|
}
|
|
153
153
|
const videoFormatTypeOfEq = conditions.videoFormat?.typeOf?.$eq;
|
|
154
154
|
if (typeof videoFormatTypeOfEq === 'string') {
|
|
155
|
-
// 新しい参照先へ変更(2025-12-31~)
|
|
156
|
-
// andConditions.push({
|
|
157
|
-
// 'videoFormat.typeOf': {
|
|
158
|
-
// $exists: true,
|
|
159
|
-
// $eq: videoFormatTypeOfEq
|
|
160
|
-
// }
|
|
161
|
-
// });
|
|
162
155
|
andConditions.push({ 'subEvent.videoFormat': { $exists: true, $eq: videoFormatTypeOfEq } });
|
|
163
156
|
}
|
|
164
157
|
const videoFormatTypeOfIn = conditions.videoFormat?.typeOf?.$in;
|
|
165
158
|
if (Array.isArray(videoFormatTypeOfIn)) {
|
|
166
|
-
// 新しい参照先へ変更(2025-12-31~)
|
|
167
|
-
// andConditions.push({
|
|
168
|
-
// 'videoFormat.typeOf': {
|
|
169
|
-
// $exists: true,
|
|
170
|
-
// $in: videoFormatTypeOfIn
|
|
171
|
-
// }
|
|
172
|
-
// });
|
|
173
159
|
andConditions.push({ 'subEvent.videoFormat': { $exists: true, $in: videoFormatTypeOfIn } });
|
|
174
160
|
}
|
|
175
161
|
const soundFormatTypeOfEq = conditions.soundFormat?.typeOf?.$eq;
|
|
@@ -32,11 +32,6 @@ const schemaDefinition = {
|
|
|
32
32
|
kanaName: String,
|
|
33
33
|
offers: mongoose_1.SchemaTypes.Mixed,
|
|
34
34
|
coaInfo: mongoose_1.SchemaTypes.Mixed
|
|
35
|
-
// discontinue(2026-02-14~)
|
|
36
|
-
// ...{
|
|
37
|
-
// // factory.eventSeries.IEventから廃止したので、ひとまずspread operatorで解決(2026-02-10~)
|
|
38
|
-
// videoFormat: SchemaTypes.Mixed
|
|
39
|
-
// }
|
|
40
35
|
};
|
|
41
36
|
const schemaOptions = {
|
|
42
37
|
autoIndex: settings_1.MONGO_AUTO_INDEX,
|
|
@@ -142,16 +137,6 @@ const indexes = [
|
|
|
142
137
|
}
|
|
143
138
|
}
|
|
144
139
|
],
|
|
145
|
-
// remove videoFormatTypeOf(2026-02-13~)
|
|
146
|
-
// [
|
|
147
|
-
// { 'videoFormat.typeOf': 1, startDate: 1 },
|
|
148
|
-
// {
|
|
149
|
-
// name: 'videoFormatTypeOf',
|
|
150
|
-
// partialFilterExpression: {
|
|
151
|
-
// 'videoFormat.typeOf': { $exists: true }
|
|
152
|
-
// }
|
|
153
|
-
// }
|
|
154
|
-
// ],
|
|
155
140
|
[
|
|
156
141
|
{ 'subEvent.videoFormat': 1, startDate: 1 },
|
|
157
142
|
{
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@aws-sdk/client-cognito-identity-provider": "3.600.0",
|
|
13
13
|
"@aws-sdk/credential-providers": "3.600.0",
|
|
14
|
-
"@chevre/factory": "8.0.0-alpha.
|
|
14
|
+
"@chevre/factory": "8.0.0-alpha.8",
|
|
15
15
|
"@motionpicture/coa-service": "10.0.0",
|
|
16
16
|
"@motionpicture/gmo-service": "6.1.0-alpha.0",
|
|
17
17
|
"@sendgrid/client": "8.1.4",
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"depcruise": "depcruise src",
|
|
83
83
|
"doc": "echo \"implementing...\" && exit 0",
|
|
84
84
|
"eslint": "eslint \"src/**/*.ts\"",
|
|
85
|
+
"eslint:example": "eslint \"example/**/*.ts\"",
|
|
85
86
|
"coverage": "vitest run --coverage",
|
|
86
87
|
"test": "npm run eslint && npm run coverage",
|
|
87
88
|
"preversion": "npm run check:all",
|
|
@@ -91,5 +92,5 @@
|
|
|
91
92
|
"postversion": "git push origin --tags",
|
|
92
93
|
"prepublishOnly": "npm run clean && npm run build"
|
|
93
94
|
},
|
|
94
|
-
"version": "24.0.0-alpha.
|
|
95
|
+
"version": "24.0.0-alpha.86"
|
|
95
96
|
}
|