@mastra/mongodb 0.13.3 → 0.13.5

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
@@ -1974,6 +1974,22 @@ var WorkflowsStorageMongoDB = class extends WorkflowsStorage {
1974
1974
  super();
1975
1975
  this.operations = operations;
1976
1976
  }
1977
+ updateWorkflowResults({
1978
+ // workflowName,
1979
+ // runId,
1980
+ // stepId,
1981
+ // result,
1982
+ // runtimeContext,
1983
+ }) {
1984
+ throw new Error("Method not implemented.");
1985
+ }
1986
+ updateWorkflowState({
1987
+ // workflowName,
1988
+ // runId,
1989
+ // opts,
1990
+ }) {
1991
+ throw new Error("Method not implemented.");
1992
+ }
1977
1993
  async persistWorkflowSnapshot({
1978
1994
  workflowName,
1979
1995
  runId,
@@ -2289,6 +2305,22 @@ var MongoDBStore = class extends MastraStorage {
2289
2305
  async getEvalsByAgentName(agentName, type) {
2290
2306
  return this.stores.legacyEvals.getEvalsByAgentName(agentName, type);
2291
2307
  }
2308
+ async updateWorkflowResults({
2309
+ workflowName,
2310
+ runId,
2311
+ stepId,
2312
+ result,
2313
+ runtimeContext
2314
+ }) {
2315
+ return this.stores.workflows.updateWorkflowResults({ workflowName, runId, stepId, result, runtimeContext });
2316
+ }
2317
+ async updateWorkflowState({
2318
+ workflowName,
2319
+ runId,
2320
+ opts
2321
+ }) {
2322
+ return this.stores.workflows.updateWorkflowState({ workflowName, runId, opts });
2323
+ }
2292
2324
  async persistWorkflowSnapshot({
2293
2325
  workflowName,
2294
2326
  runId,