@mastra/dynamodb 0.14.3-alpha.0 → 0.14.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.cjs CHANGED
@@ -1844,7 +1844,8 @@ var StoreOperationsDynamoDB = class extends storage.StoreOperations {
1844
1844
  [storage.TABLE_EVALS]: "eval",
1845
1845
  [storage.TABLE_SCORERS]: "score",
1846
1846
  [storage.TABLE_TRACES]: "trace",
1847
- [storage.TABLE_RESOURCES]: "resource"
1847
+ [storage.TABLE_RESOURCES]: "resource",
1848
+ [storage.TABLE_AI_SPANS]: "ai_span"
1848
1849
  };
1849
1850
  return mapping[tableName] || null;
1850
1851
  }
@@ -2601,6 +2602,22 @@ var WorkflowStorageDynamoDB = class extends storage.WorkflowsStorage {
2601
2602
  super();
2602
2603
  this.service = service;
2603
2604
  }
2605
+ updateWorkflowResults({
2606
+ // workflowName,
2607
+ // runId,
2608
+ // stepId,
2609
+ // result,
2610
+ // runtimeContext,
2611
+ }) {
2612
+ throw new Error("Method not implemented.");
2613
+ }
2614
+ updateWorkflowState({
2615
+ // workflowName,
2616
+ // runId,
2617
+ // opts,
2618
+ }) {
2619
+ throw new Error("Method not implemented.");
2620
+ }
2604
2621
  // Workflow operations
2605
2622
  async persistWorkflowSnapshot({
2606
2623
  workflowName,
@@ -2999,6 +3016,22 @@ var DynamoDBStore = class extends storage.MastraStorage {
2999
3016
  return this.stores.traces.getTracesPaginated(_args);
3000
3017
  }
3001
3018
  // Workflow operations
3019
+ async updateWorkflowResults({
3020
+ workflowName,
3021
+ runId,
3022
+ stepId,
3023
+ result,
3024
+ runtimeContext
3025
+ }) {
3026
+ return this.stores.workflows.updateWorkflowResults({ workflowName, runId, stepId, result, runtimeContext });
3027
+ }
3028
+ async updateWorkflowState({
3029
+ workflowName,
3030
+ runId,
3031
+ opts
3032
+ }) {
3033
+ return this.stores.workflows.updateWorkflowState({ workflowName, runId, opts });
3034
+ }
3002
3035
  async persistWorkflowSnapshot({
3003
3036
  workflowName,
3004
3037
  runId,