@mastra/mongodb 0.14.10 → 0.14.11
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/CHANGELOG.md +20 -0
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +2 -9
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +2 -9
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { saveScorePayloadSchema } from '@mastra/core/scores';
|
|
|
11
11
|
|
|
12
12
|
// package.json
|
|
13
13
|
var package_default = {
|
|
14
|
-
version: "0.14.
|
|
14
|
+
version: "0.14.11"};
|
|
15
15
|
var MongoDBFilterTranslator = class extends BaseFilterTranslator {
|
|
16
16
|
getSupportedOperators() {
|
|
17
17
|
return {
|
|
@@ -2551,6 +2551,9 @@ var WorkflowsStorageMongoDB = class extends WorkflowsStorage {
|
|
|
2551
2551
|
if (options.workflowName) {
|
|
2552
2552
|
query["workflow_name"] = options.workflowName;
|
|
2553
2553
|
}
|
|
2554
|
+
if (options.status) {
|
|
2555
|
+
query["snapshot.status"] = options.status;
|
|
2556
|
+
}
|
|
2554
2557
|
if (options.fromDate) {
|
|
2555
2558
|
query["createdAt"] = { $gte: options.fromDate };
|
|
2556
2559
|
}
|