@mastra/spanner 1.6.3 → 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/LICENSE.md +6 -4
- package/dist/docs/SKILL.md +2 -2
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/integrations-databases-spanner.md +2 -0
- package/dist/index.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/storage/db/index.d.ts.map +1 -1
- package/dist/storage/domains/agents/index.d.ts.map +1 -1
- package/dist/storage/domains/background-tasks/index.d.ts.map +1 -1
- package/dist/storage/domains/blobs/index.d.ts.map +1 -1
- package/dist/storage/domains/channels/index.d.ts.map +1 -1
- package/dist/storage/domains/datasets/index.d.ts.map +1 -1
- package/dist/storage/domains/experiments/index.d.ts.map +1 -1
- package/dist/storage/domains/favorites/index.d.ts.map +1 -1
- package/dist/storage/domains/mcp-clients/index.d.ts.map +1 -1
- package/dist/storage/domains/mcp-servers/index.d.ts.map +1 -1
- package/dist/storage/domains/memory/index.d.ts.map +1 -1
- package/dist/storage/domains/observability/index.d.ts.map +1 -1
- package/dist/storage/domains/prompt-blocks/index.d.ts.map +1 -1
- package/dist/storage/domains/schedules/index.d.ts.map +1 -1
- package/dist/storage/domains/scorer-definitions/index.d.ts.map +1 -1
- package/dist/storage/domains/scores/index.d.ts.map +1 -1
- package/dist/storage/domains/skills/index.d.ts.map +1 -1
- package/dist/storage/domains/workflow-definitions/index.d.ts.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/domains/workspaces/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +8 -9
- package/CHANGELOG.md +0 -1236
package/dist/index.js
CHANGED
|
@@ -11750,6 +11750,7 @@ function rowToDefinition(row) {
|
|
|
11750
11750
|
if (parsed.metadata != null) def.metadata = parsed.metadata;
|
|
11751
11751
|
if (parsed.stateSchema != null) def.stateSchema = parsed.stateSchema;
|
|
11752
11752
|
if (parsed.requestContextSchema != null) def.requestContextSchema = parsed.requestContextSchema;
|
|
11753
|
+
if (parsed.schedule != null) def.schedule = parsed.schedule;
|
|
11753
11754
|
if (parsed.authorId != null) def.authorId = parsed.authorId;
|
|
11754
11755
|
return def;
|
|
11755
11756
|
}
|
|
@@ -11776,6 +11777,11 @@ var WorkflowDefinitionsSpanner = class WorkflowDefinitionsSpanner extends Workfl
|
|
|
11776
11777
|
tableName: TABLE_WORKFLOW_DEFINITIONS,
|
|
11777
11778
|
schema: WORKFLOW_DEFINITIONS_SCHEMA
|
|
11778
11779
|
});
|
|
11780
|
+
await this.db.alterTable({
|
|
11781
|
+
tableName: TABLE_WORKFLOW_DEFINITIONS,
|
|
11782
|
+
schema: WORKFLOW_DEFINITIONS_SCHEMA,
|
|
11783
|
+
ifNotExists: ["schedule"]
|
|
11784
|
+
});
|
|
11779
11785
|
await this.createDefaultIndexes();
|
|
11780
11786
|
await this.createCustomIndexes();
|
|
11781
11787
|
}
|
|
@@ -11812,6 +11818,7 @@ var WorkflowDefinitionsSpanner = class WorkflowDefinitionsSpanner extends Workfl
|
|
|
11812
11818
|
stateSchema: input.stateSchema ?? null,
|
|
11813
11819
|
requestContextSchema: input.requestContextSchema ?? null,
|
|
11814
11820
|
graph: input.graph,
|
|
11821
|
+
schedule: "schedule" in input ? input.schedule ?? null : null,
|
|
11815
11822
|
status: "active",
|
|
11816
11823
|
source: "storage",
|
|
11817
11824
|
authorId: "authorId" in input ? input.authorId ?? null : null,
|
|
@@ -11842,6 +11849,7 @@ var WorkflowDefinitionsSpanner = class WorkflowDefinitionsSpanner extends Workfl
|
|
|
11842
11849
|
if ("stateSchema" in input && input.stateSchema !== void 0) data.stateSchema = input.stateSchema;
|
|
11843
11850
|
if ("requestContextSchema" in input && input.requestContextSchema !== void 0) data.requestContextSchema = input.requestContextSchema;
|
|
11844
11851
|
if ("graph" in input && input.graph !== void 0) data.graph = input.graph;
|
|
11852
|
+
if ("schedule" in input && input.schedule !== void 0) data.schedule = input.schedule;
|
|
11845
11853
|
if ("status" in input && input.status !== void 0) data.status = input.status;
|
|
11846
11854
|
if ("authorId" in input && input.authorId !== void 0) data.authorId = input.authorId;
|
|
11847
11855
|
await this.db.update({
|