@mastra/spanner 1.6.4-alpha.0 → 1.6.4-alpha.1
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/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-spanner
|
|
|
3
3
|
description: Documentation for @mastra/spanner. Use when working with @mastra/spanner APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/spanner"
|
|
6
|
-
version: "1.6.4-alpha.
|
|
6
|
+
version: "1.6.4-alpha.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
package/dist/index.cjs
CHANGED
|
@@ -11751,6 +11751,7 @@ function rowToDefinition(row) {
|
|
|
11751
11751
|
if (parsed.metadata != null) def.metadata = parsed.metadata;
|
|
11752
11752
|
if (parsed.stateSchema != null) def.stateSchema = parsed.stateSchema;
|
|
11753
11753
|
if (parsed.requestContextSchema != null) def.requestContextSchema = parsed.requestContextSchema;
|
|
11754
|
+
if (parsed.schedule != null) def.schedule = parsed.schedule;
|
|
11754
11755
|
if (parsed.authorId != null) def.authorId = parsed.authorId;
|
|
11755
11756
|
return def;
|
|
11756
11757
|
}
|
|
@@ -11777,6 +11778,11 @@ var WorkflowDefinitionsSpanner = class WorkflowDefinitionsSpanner extends _mastr
|
|
|
11777
11778
|
tableName: _mastra_core_storage.TABLE_WORKFLOW_DEFINITIONS,
|
|
11778
11779
|
schema: _mastra_core_storage.WORKFLOW_DEFINITIONS_SCHEMA
|
|
11779
11780
|
});
|
|
11781
|
+
await this.db.alterTable({
|
|
11782
|
+
tableName: _mastra_core_storage.TABLE_WORKFLOW_DEFINITIONS,
|
|
11783
|
+
schema: _mastra_core_storage.WORKFLOW_DEFINITIONS_SCHEMA,
|
|
11784
|
+
ifNotExists: ["schedule"]
|
|
11785
|
+
});
|
|
11780
11786
|
await this.createDefaultIndexes();
|
|
11781
11787
|
await this.createCustomIndexes();
|
|
11782
11788
|
}
|
|
@@ -11813,6 +11819,7 @@ var WorkflowDefinitionsSpanner = class WorkflowDefinitionsSpanner extends _mastr
|
|
|
11813
11819
|
stateSchema: input.stateSchema ?? null,
|
|
11814
11820
|
requestContextSchema: input.requestContextSchema ?? null,
|
|
11815
11821
|
graph: input.graph,
|
|
11822
|
+
schedule: "schedule" in input ? input.schedule ?? null : null,
|
|
11816
11823
|
status: "active",
|
|
11817
11824
|
source: "storage",
|
|
11818
11825
|
authorId: "authorId" in input ? input.authorId ?? null : null,
|
|
@@ -11843,6 +11850,7 @@ var WorkflowDefinitionsSpanner = class WorkflowDefinitionsSpanner extends _mastr
|
|
|
11843
11850
|
if ("stateSchema" in input && input.stateSchema !== void 0) data.stateSchema = input.stateSchema;
|
|
11844
11851
|
if ("requestContextSchema" in input && input.requestContextSchema !== void 0) data.requestContextSchema = input.requestContextSchema;
|
|
11845
11852
|
if ("graph" in input && input.graph !== void 0) data.graph = input.graph;
|
|
11853
|
+
if ("schedule" in input && input.schedule !== void 0) data.schedule = input.schedule;
|
|
11846
11854
|
if ("status" in input && input.status !== void 0) data.status = input.status;
|
|
11847
11855
|
if ("authorId" in input && input.authorId !== void 0) data.authorId = input.authorId;
|
|
11848
11856
|
await this.db.update({
|