@mastra/upstash 0.14.2 → 0.14.3-alpha.0
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 +9 -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/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 +2 -2
- package/src/storage/domains/workflows/index.ts +38 -1
- package/src/storage/index.ts +35 -1
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/upstash
|
|
2
2
|
|
|
3
|
+
## 0.14.3-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#6994](https://github.com/mastra-ai/mastra/pull/6994) [`0594a70`](https://github.com/mastra-ai/mastra/commit/0594a70ac948d306c7f38765b171c9535e6c78d4) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve type resolving for storage adapters
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56), [`be49354`](https://github.com/mastra-ai/mastra/commit/be493546dca540101923ec700feb31f9a13939f2), [`d591ab3`](https://github.com/mastra-ai/mastra/commit/d591ab3ecc985c1870c0db347f8d7a20f7360536), [`ba82abe`](https://github.com/mastra-ai/mastra/commit/ba82abe76e869316bb5a9c95e8ea3946f3436fae), [`727f7e5`](https://github.com/mastra-ai/mastra/commit/727f7e5086e62e0dfe3356fb6dcd8bcb420af246), [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95), [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1), [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01)]:
|
|
10
|
+
- @mastra/core@0.14.2-alpha.1
|
|
11
|
+
|
|
3
12
|
## 0.14.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -1544,6 +1544,22 @@ var WorkflowsUpstash = class extends storage.WorkflowsStorage {
|
|
|
1544
1544
|
this.client = client;
|
|
1545
1545
|
this.operations = operations;
|
|
1546
1546
|
}
|
|
1547
|
+
updateWorkflowResults({
|
|
1548
|
+
// workflowName,
|
|
1549
|
+
// runId,
|
|
1550
|
+
// stepId,
|
|
1551
|
+
// result,
|
|
1552
|
+
// runtimeContext,
|
|
1553
|
+
}) {
|
|
1554
|
+
throw new Error("Method not implemented.");
|
|
1555
|
+
}
|
|
1556
|
+
updateWorkflowState({
|
|
1557
|
+
// workflowName,
|
|
1558
|
+
// runId,
|
|
1559
|
+
// opts,
|
|
1560
|
+
}) {
|
|
1561
|
+
throw new Error("Method not implemented.");
|
|
1562
|
+
}
|
|
1547
1563
|
async persistWorkflowSnapshot(params) {
|
|
1548
1564
|
const { namespace = "workflows", workflowName, runId, snapshot } = params;
|
|
1549
1565
|
try {
|
|
@@ -1831,6 +1847,22 @@ var UpstashStore = class extends storage.MastraStorage {
|
|
|
1831
1847
|
async getMessagesPaginated(args) {
|
|
1832
1848
|
return this.stores.memory.getMessagesPaginated(args);
|
|
1833
1849
|
}
|
|
1850
|
+
async updateWorkflowResults({
|
|
1851
|
+
workflowName,
|
|
1852
|
+
runId,
|
|
1853
|
+
stepId,
|
|
1854
|
+
result,
|
|
1855
|
+
runtimeContext
|
|
1856
|
+
}) {
|
|
1857
|
+
return this.stores.workflows.updateWorkflowResults({ workflowName, runId, stepId, result, runtimeContext });
|
|
1858
|
+
}
|
|
1859
|
+
async updateWorkflowState({
|
|
1860
|
+
workflowName,
|
|
1861
|
+
runId,
|
|
1862
|
+
opts
|
|
1863
|
+
}) {
|
|
1864
|
+
return this.stores.workflows.updateWorkflowState({ workflowName, runId, opts });
|
|
1865
|
+
}
|
|
1834
1866
|
async persistWorkflowSnapshot(params) {
|
|
1835
1867
|
return this.stores.workflows.persistWorkflowSnapshot(params);
|
|
1836
1868
|
}
|