@mastra/mssql 0.3.2 → 0.3.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +36 -0
- package/dist/index.cjs +32 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/scores/index.d.ts +1 -1
- package/dist/storage/domains/scores/index.d.ts.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +19 -1
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +19 -1
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/storage/domains/scores/index.ts +1 -1
- package/src/storage/domains/workflows/index.ts +38 -1
- package/src/storage/index.ts +35 -1
package/dist/index.js
CHANGED
|
@@ -1872,6 +1872,22 @@ var WorkflowsMSSQL = class extends WorkflowsStorage {
|
|
|
1872
1872
|
this.operations = operations;
|
|
1873
1873
|
this.schema = schema;
|
|
1874
1874
|
}
|
|
1875
|
+
updateWorkflowResults({
|
|
1876
|
+
// workflowName,
|
|
1877
|
+
// runId,
|
|
1878
|
+
// stepId,
|
|
1879
|
+
// result,
|
|
1880
|
+
// runtimeContext,
|
|
1881
|
+
}) {
|
|
1882
|
+
throw new Error("Method not implemented.");
|
|
1883
|
+
}
|
|
1884
|
+
updateWorkflowState({
|
|
1885
|
+
// workflowName,
|
|
1886
|
+
// runId,
|
|
1887
|
+
// opts,
|
|
1888
|
+
}) {
|
|
1889
|
+
throw new Error("Method not implemented.");
|
|
1890
|
+
}
|
|
1875
1891
|
async persistWorkflowSnapshot({
|
|
1876
1892
|
workflowName,
|
|
1877
1893
|
runId,
|
|
@@ -2259,6 +2275,22 @@ var MSSQLStore = class extends MastraStorage {
|
|
|
2259
2275
|
/**
|
|
2260
2276
|
* Workflows
|
|
2261
2277
|
*/
|
|
2278
|
+
async updateWorkflowResults({
|
|
2279
|
+
workflowName,
|
|
2280
|
+
runId,
|
|
2281
|
+
stepId,
|
|
2282
|
+
result,
|
|
2283
|
+
runtimeContext
|
|
2284
|
+
}) {
|
|
2285
|
+
return this.stores.workflows.updateWorkflowResults({ workflowName, runId, stepId, result, runtimeContext });
|
|
2286
|
+
}
|
|
2287
|
+
async updateWorkflowState({
|
|
2288
|
+
workflowName,
|
|
2289
|
+
runId,
|
|
2290
|
+
opts
|
|
2291
|
+
}) {
|
|
2292
|
+
return this.stores.workflows.updateWorkflowState({ workflowName, runId, opts });
|
|
2293
|
+
}
|
|
2262
2294
|
async persistWorkflowSnapshot({
|
|
2263
2295
|
workflowName,
|
|
2264
2296
|
runId,
|