@chevre/domain 23.0.0-alpha.2 → 23.0.0-alpha.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.
|
@@ -3,11 +3,11 @@ import * as factory from '../../../factory';
|
|
|
3
3
|
type IDocTypeAsEventSeries = factory.eventSeries.IAttributes & {
|
|
4
4
|
_id: string;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type IDocType = IDocTypeAsEventSeries;
|
|
7
7
|
type IModel = Model<IDocType>;
|
|
8
8
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
9
9
|
type ISchema = Schema<IDocType, IModel, {}, {}, {}, {}, ISchemaDefinition, IDocType>;
|
|
10
10
|
declare const modelName = "EventSeries";
|
|
11
11
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
12
12
|
declare function createSchema(): ISchema;
|
|
13
|
-
export { createSchema, IModel, indexes, modelName };
|
|
13
|
+
export { createSchema, IDocType, IModel, indexes, modelName };
|
|
@@ -9,30 +9,21 @@ const settings_1 = require("../../../settings");
|
|
|
9
9
|
const modelName = 'EventSeries';
|
|
10
10
|
exports.modelName = modelName;
|
|
11
11
|
const schemaDefinition = {
|
|
12
|
-
project: {
|
|
13
|
-
|
|
14
|
-
required: true
|
|
15
|
-
},
|
|
16
|
-
organizer: {
|
|
17
|
-
type: mongoose_1.SchemaTypes.Mixed,
|
|
18
|
-
required: true
|
|
19
|
-
},
|
|
12
|
+
project: { type: mongoose_1.SchemaTypes.Mixed, required: true },
|
|
13
|
+
organizer: { type: mongoose_1.SchemaTypes.Mixed, required: true },
|
|
20
14
|
_id: String,
|
|
21
|
-
typeOf: {
|
|
22
|
-
type: String,
|
|
23
|
-
required: true
|
|
24
|
-
},
|
|
15
|
+
typeOf: { type: String, required: true },
|
|
25
16
|
identifier: String,
|
|
26
17
|
name: mongoose_1.SchemaTypes.Mixed,
|
|
27
18
|
additionalProperty: mongoose_1.SchemaTypes.Mixed,
|
|
28
19
|
alternativeHeadline: mongoose_1.SchemaTypes.Mixed,
|
|
29
20
|
description: mongoose_1.SchemaTypes.Mixed,
|
|
30
21
|
duration: String,
|
|
31
|
-
endDate: Date,
|
|
22
|
+
endDate: { type: Date, required: true }, // required(2025-10-08~)
|
|
32
23
|
eventStatus: String,
|
|
33
24
|
headline: mongoose_1.SchemaTypes.Mixed,
|
|
34
25
|
location: mongoose_1.SchemaTypes.Mixed,
|
|
35
|
-
startDate: Date,
|
|
26
|
+
startDate: { type: Date, required: true }, // required(2025-10-08~)
|
|
36
27
|
workPerformed: mongoose_1.SchemaTypes.Mixed,
|
|
37
28
|
videoFormat: mongoose_1.SchemaTypes.Mixed,
|
|
38
29
|
soundFormat: mongoose_1.SchemaTypes.Mixed,
|
|
@@ -160,7 +160,8 @@ function createInformTasks(params, setting) {
|
|
|
160
160
|
);
|
|
161
161
|
// 最適化(2024-03-25~)
|
|
162
162
|
events4inform = screeningEventSeries4inform.map(({ project, organizer, typeOf, name, location, id, videoFormat, soundFormat, workPerformed, kanaName, eventStatus, endDate, startDate, additionalProperty, subtitleLanguage, dubLanguage, alternativeHeadline, description, duration, headline }) => {
|
|
163
|
-
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(
|
|
163
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ project, organizer, typeOf, name, location, id, videoFormat, soundFormat, workPerformed, kanaName, eventStatus,
|
|
164
|
+
endDate, startDate }, (Array.isArray(additionalProperty)) ? { additionalProperty } : undefined), (subtitleLanguage !== undefined) ? {} : undefined), (dubLanguage !== undefined) ? { dubLanguage } : undefined), (alternativeHeadline !== undefined) ? { alternativeHeadline } : undefined), (description !== undefined) ? { description } : undefined), (typeof duration === 'string') ? { duration } : undefined), (headline !== undefined) ? { headline } : undefined);
|
|
164
165
|
});
|
|
165
166
|
}
|
|
166
167
|
if (events4inform.length > 0) {
|
package/package.json
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
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": "5.0.0-alpha.
|
|
15
|
-
"@cinerino/sdk": "12.5.0-alpha.
|
|
14
|
+
"@chevre/factory": "5.0.0-alpha.3",
|
|
15
|
+
"@cinerino/sdk": "12.5.0-alpha.5",
|
|
16
16
|
"@motionpicture/coa-service": "9.6.0",
|
|
17
17
|
"@motionpicture/gmo-service": "5.4.0-alpha.1",
|
|
18
18
|
"@sendgrid/client": "8.1.4",
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"postversion": "git push origin --tags",
|
|
116
116
|
"prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
|
|
117
117
|
},
|
|
118
|
-
"version": "23.0.0-alpha.
|
|
118
|
+
"version": "23.0.0-alpha.3"
|
|
119
119
|
}
|