@chevre/domain 21.2.0-alpha.60 → 21.2.0-alpha.61
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.
|
@@ -6,12 +6,13 @@ import { chevre } from '../../../lib/index';
|
|
|
6
6
|
// const project = { id: String(process.env.PROJECT_ID) };
|
|
7
7
|
|
|
8
8
|
async function main() {
|
|
9
|
-
await mongoose.connect(<string>process.env.MONGOLAB_URI);
|
|
9
|
+
await mongoose.connect(<string>process.env.MONGOLAB_URI, { autoIndex: false });
|
|
10
10
|
|
|
11
11
|
const taskRepo = new chevre.repository.Task(mongoose.connection);
|
|
12
12
|
|
|
13
13
|
const result = await taskRepo.deleteByName({
|
|
14
14
|
name: chevre.factory.taskName.DeleteOrder,
|
|
15
|
+
// name: chevre.factory.taskName.DeleteAssetTransaction,
|
|
15
16
|
status: { $eq: chevre.factory.taskStatus.Ready }
|
|
16
17
|
});
|
|
17
18
|
|
|
@@ -55,19 +55,19 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
55
55
|
typeOf?: string | undefined;
|
|
56
56
|
project?: any;
|
|
57
57
|
identifier?: string | undefined;
|
|
58
|
-
|
|
58
|
+
itemOffered?: any;
|
|
59
59
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
60
60
|
name?: any;
|
|
61
61
|
typeOf?: string | undefined;
|
|
62
62
|
project?: any;
|
|
63
63
|
identifier?: string | undefined;
|
|
64
|
-
|
|
64
|
+
itemOffered?: any;
|
|
65
65
|
}>> & Omit<import("mongoose").FlatRecord<{
|
|
66
66
|
name?: any;
|
|
67
67
|
typeOf?: string | undefined;
|
|
68
68
|
project?: any;
|
|
69
69
|
identifier?: string | undefined;
|
|
70
|
-
|
|
70
|
+
itemOffered?: any;
|
|
71
71
|
}> & {
|
|
72
72
|
_id: import("mongoose").Types.ObjectId;
|
|
73
73
|
}, never>>;
|
|
@@ -13,7 +13,7 @@ const schema = new mongoose_1.Schema({
|
|
|
13
13
|
identifier: String,
|
|
14
14
|
typeOf: String,
|
|
15
15
|
name: mongoose_1.SchemaTypes.Mixed,
|
|
16
|
-
|
|
16
|
+
itemOffered: mongoose_1.SchemaTypes.Mixed
|
|
17
17
|
}, {
|
|
18
18
|
collection: 'offerItemConditions',
|
|
19
19
|
id: true,
|
package/package.json
CHANGED