@chevre/domain 21.30.0-alpha.7 → 21.30.0-alpha.8
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.
|
@@ -8,7 +8,10 @@ const modelName = 'Task';
|
|
|
8
8
|
exports.modelName = modelName;
|
|
9
9
|
const schemaDefinition = {
|
|
10
10
|
identifier: String,
|
|
11
|
-
project:
|
|
11
|
+
project: {
|
|
12
|
+
type: mongoose_1.SchemaTypes.Mixed,
|
|
13
|
+
required: true
|
|
14
|
+
},
|
|
12
15
|
name: String,
|
|
13
16
|
status: String,
|
|
14
17
|
runsAt: Date,
|
|
@@ -191,21 +194,22 @@ const indexes = [
|
|
|
191
194
|
{ status: 1, name: 1, numberOfTried: 1, runsAt: 1 },
|
|
192
195
|
{ name: 'executeOneByName' }
|
|
193
196
|
],
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
197
|
+
// 廃止(2024-04-23~)
|
|
198
|
+
// [
|
|
199
|
+
// {
|
|
200
|
+
// 'project.id': 1,
|
|
201
|
+
// status: 1,
|
|
202
|
+
// name: 1,
|
|
203
|
+
// numberOfTried: 1,
|
|
204
|
+
// runsAt: 1
|
|
205
|
+
// },
|
|
206
|
+
// {
|
|
207
|
+
// name: 'executeOneByName-v2',
|
|
208
|
+
// partialFilterExpression: {
|
|
209
|
+
// 'project.id': { $exists: true }
|
|
210
|
+
// }
|
|
211
|
+
// }
|
|
212
|
+
// ],
|
|
209
213
|
[
|
|
210
214
|
{ status: 1, remainingNumberOfTries: 1, lastTriedAt: 1 },
|
|
211
215
|
{
|
package/package.json
CHANGED