@mastra/pg 0.14.2 → 0.14.3

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
@@ -2753,6 +2753,22 @@ var WorkflowsPG = class extends WorkflowsStorage {
2753
2753
  this.operations = operations;
2754
2754
  this.schema = schema;
2755
2755
  }
2756
+ updateWorkflowResults({
2757
+ // workflowName,
2758
+ // runId,
2759
+ // stepId,
2760
+ // result,
2761
+ // runtimeContext,
2762
+ }) {
2763
+ throw new Error("Method not implemented.");
2764
+ }
2765
+ updateWorkflowState({
2766
+ // workflowName,
2767
+ // runId,
2768
+ // opts,
2769
+ }) {
2770
+ throw new Error("Method not implemented.");
2771
+ }
2756
2772
  async persistWorkflowSnapshot({
2757
2773
  workflowName,
2758
2774
  runId,
@@ -3140,6 +3156,22 @@ var PostgresStore = class extends MastraStorage {
3140
3156
  /**
3141
3157
  * Workflows
3142
3158
  */
3159
+ async updateWorkflowResults({
3160
+ workflowName,
3161
+ runId,
3162
+ stepId,
3163
+ result,
3164
+ runtimeContext
3165
+ }) {
3166
+ return this.stores.workflows.updateWorkflowResults({ workflowName, runId, stepId, result, runtimeContext });
3167
+ }
3168
+ async updateWorkflowState({
3169
+ workflowName,
3170
+ runId,
3171
+ opts
3172
+ }) {
3173
+ return this.stores.workflows.updateWorkflowState({ workflowName, runId, opts });
3174
+ }
3143
3175
  async persistWorkflowSnapshot({
3144
3176
  workflowName,
3145
3177
  runId,