@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/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.10"};
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
  }