coalesce-transform-mcp 0.3.0 → 0.4.2
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/README.md +74 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +6 -2
- package/dist/client.js.map +1 -1
- package/dist/coalesce/api/environments.d.ts +0 -12
- package/dist/coalesce/api/environments.d.ts.map +1 -1
- package/dist/coalesce/api/environments.js +0 -4
- package/dist/coalesce/api/environments.js.map +1 -1
- package/dist/coalesce/api/jobs.d.ts +3 -5
- package/dist/coalesce/api/jobs.d.ts.map +1 -1
- package/dist/coalesce/api/jobs.js +3 -6
- package/dist/coalesce/api/jobs.js.map +1 -1
- package/dist/coalesce/api/nodes.d.ts +3 -3
- package/dist/coalesce/api/nodes.d.ts.map +1 -1
- package/dist/coalesce/api/nodes.js +6 -4
- package/dist/coalesce/api/nodes.js.map +1 -1
- package/dist/coalesce/api/runs.d.ts.map +1 -1
- package/dist/coalesce/api/runs.js +11 -1
- package/dist/coalesce/api/runs.js.map +1 -1
- package/dist/coalesce/api/scan.d.ts +14 -0
- package/dist/coalesce/api/scan.d.ts.map +1 -0
- package/dist/coalesce/api/scan.js +64 -0
- package/dist/coalesce/api/scan.js.map +1 -0
- package/dist/coalesce/api/subgraphs.d.ts +3 -2
- package/dist/coalesce/api/subgraphs.d.ts.map +1 -1
- package/dist/coalesce/api/subgraphs.js +3 -2
- package/dist/coalesce/api/subgraphs.js.map +1 -1
- package/dist/coalesce/run-schemas.d.ts.map +1 -1
- package/dist/coalesce/run-schemas.js +26 -16
- package/dist/coalesce/run-schemas.js.map +1 -1
- package/dist/coalesce/tool-response.d.ts +1 -13
- package/dist/coalesce/tool-response.d.ts.map +1 -1
- package/dist/coalesce/tool-response.js +20 -6
- package/dist/coalesce/tool-response.js.map +1 -1
- package/dist/coalesce/tool-schemas.d.ts +1 -2
- package/dist/coalesce/tool-schemas.d.ts.map +1 -1
- package/dist/coalesce/tool-schemas.js +368 -5
- package/dist/coalesce/tool-schemas.js.map +1 -1
- package/dist/coalesce/types.d.ts +8 -0
- package/dist/coalesce/types.d.ts.map +1 -1
- package/dist/coalesce/types.js +3 -1
- package/dist/coalesce/types.js.map +1 -1
- package/dist/constants.d.ts +18 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +21 -0
- package/dist/constants.js.map +1 -0
- package/dist/mcp/cache.d.ts +2 -1
- package/dist/mcp/cache.d.ts.map +1 -1
- package/dist/mcp/cache.js +122 -138
- package/dist/mcp/cache.js.map +1 -1
- package/dist/mcp/environments.d.ts +2 -1
- package/dist/mcp/environments.d.ts.map +1 -1
- package/dist/mcp/environments.js +56 -112
- package/dist/mcp/environments.js.map +1 -1
- package/dist/mcp/git-accounts.d.ts +2 -1
- package/dist/mcp/git-accounts.d.ts.map +1 -1
- package/dist/mcp/git-accounts.js +74 -96
- package/dist/mcp/git-accounts.js.map +1 -1
- package/dist/mcp/jobs.d.ts +2 -1
- package/dist/mcp/jobs.d.ts.map +1 -1
- package/dist/mcp/jobs.js +68 -122
- package/dist/mcp/jobs.js.map +1 -1
- package/dist/mcp/lineage.d.ts +5 -0
- package/dist/mcp/lineage.d.ts.map +1 -0
- package/dist/mcp/lineage.js +410 -0
- package/dist/mcp/lineage.js.map +1 -0
- package/dist/mcp/node-type-corpus.d.ts +2 -1
- package/dist/mcp/node-type-corpus.d.ts.map +1 -1
- package/dist/mcp/node-type-corpus.js +148 -151
- package/dist/mcp/node-type-corpus.js.map +1 -1
- package/dist/mcp/nodes.d.ts +2 -1
- package/dist/mcp/nodes.d.ts.map +1 -1
- package/dist/mcp/nodes.js +358 -464
- package/dist/mcp/nodes.js.map +1 -1
- package/dist/mcp/pipelines.d.ts +2 -1
- package/dist/mcp/pipelines.d.ts.map +1 -1
- package/dist/mcp/pipelines.js +514 -314
- package/dist/mcp/pipelines.js.map +1 -1
- package/dist/mcp/projects.d.ts +2 -1
- package/dist/mcp/projects.d.ts.map +1 -1
- package/dist/mcp/projects.js +66 -100
- package/dist/mcp/projects.js.map +1 -1
- package/dist/mcp/repo-node-types.d.ts +2 -1
- package/dist/mcp/repo-node-types.d.ts.map +1 -1
- package/dist/mcp/repo-node-types.js +92 -121
- package/dist/mcp/repo-node-types.js.map +1 -1
- package/dist/mcp/runs.d.ts +3 -2
- package/dist/mcp/runs.d.ts.map +1 -1
- package/dist/mcp/runs.js +93 -148
- package/dist/mcp/runs.js.map +1 -1
- package/dist/mcp/skills.d.ts +13 -0
- package/dist/mcp/skills.d.ts.map +1 -0
- package/dist/mcp/skills.js +85 -0
- package/dist/mcp/skills.js.map +1 -0
- package/dist/mcp/subgraphs.d.ts +2 -1
- package/dist/mcp/subgraphs.d.ts.map +1 -1
- package/dist/mcp/subgraphs.js +61 -98
- package/dist/mcp/subgraphs.js.map +1 -1
- package/dist/mcp/tool-helpers.d.ts +37 -0
- package/dist/mcp/tool-helpers.d.ts.map +1 -0
- package/dist/mcp/tool-helpers.js +82 -0
- package/dist/mcp/tool-helpers.js.map +1 -0
- package/dist/mcp/users.d.ts +2 -1
- package/dist/mcp/users.d.ts.map +1 -1
- package/dist/mcp/users.js +92 -145
- package/dist/mcp/users.js.map +1 -1
- package/dist/mcp/workshop.d.ts +2 -1
- package/dist/mcp/workshop.d.ts.map +1 -1
- package/dist/mcp/workshop.js +66 -101
- package/dist/mcp/workshop.js.map +1 -1
- package/dist/mcp/workspaces.d.ts +2 -1
- package/dist/mcp/workspaces.d.ts.map +1 -1
- package/dist/mcp/workspaces.js +19 -34
- package/dist/mcp/workspaces.js.map +1 -1
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/index.js +85 -0
- package/dist/prompts/index.js.map +1 -1
- package/dist/resources/context/pipeline-workshop-guide.md +1 -1
- package/dist/resources/context/tool-usage.md +7 -0
- package/dist/resources/index.d.ts +13 -0
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +105 -5
- package/dist/resources/index.js.map +1 -1
- package/dist/schemas/node-payloads.d.ts +2 -2
- package/dist/server.d.ts +2 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +158 -41
- package/dist/server.js.map +1 -1
- package/dist/services/cache/snapshots.d.ts.map +1 -1
- package/dist/services/cache/snapshots.js +9 -5
- package/dist/services/cache/snapshots.js.map +1 -1
- package/dist/services/config/schema-resolver.d.ts.map +1 -1
- package/dist/services/config/schema-resolver.js +3 -6
- package/dist/services/config/schema-resolver.js.map +1 -1
- package/dist/services/lineage/lineage-cache.d.ts +53 -0
- package/dist/services/lineage/lineage-cache.d.ts.map +1 -0
- package/dist/services/lineage/lineage-cache.js +335 -0
- package/dist/services/lineage/lineage-cache.js.map +1 -0
- package/dist/services/lineage/lineage-documentation.d.ts +29 -0
- package/dist/services/lineage/lineage-documentation.d.ts.map +1 -0
- package/dist/services/lineage/lineage-documentation.js +80 -0
- package/dist/services/lineage/lineage-documentation.js.map +1 -0
- package/dist/services/lineage/lineage-propagation.d.ts +47 -0
- package/dist/services/lineage/lineage-propagation.d.ts.map +1 -0
- package/dist/services/lineage/lineage-propagation.js +176 -0
- package/dist/services/lineage/lineage-propagation.js.map +1 -0
- package/dist/services/lineage/lineage-search.d.ts +33 -0
- package/dist/services/lineage/lineage-search.d.ts.map +1 -0
- package/dist/services/lineage/lineage-search.js +133 -0
- package/dist/services/lineage/lineage-search.js.map +1 -0
- package/dist/services/lineage/lineage-traversal.d.ts +34 -0
- package/dist/services/lineage/lineage-traversal.d.ts.map +1 -0
- package/dist/services/lineage/lineage-traversal.js +283 -0
- package/dist/services/lineage/lineage-traversal.js.map +1 -0
- package/dist/services/pipelines/clause-extraction.d.ts +3 -0
- package/dist/services/pipelines/clause-extraction.d.ts.map +1 -0
- package/dist/services/pipelines/clause-extraction.js +27 -0
- package/dist/services/pipelines/clause-extraction.js.map +1 -0
- package/dist/services/pipelines/column-helpers.d.ts +8 -0
- package/dist/services/pipelines/column-helpers.d.ts.map +1 -0
- package/dist/services/pipelines/column-helpers.js +125 -0
- package/dist/services/pipelines/column-helpers.js.map +1 -0
- package/dist/services/pipelines/cte-parsing.d.ts +29 -0
- package/dist/services/pipelines/cte-parsing.d.ts.map +1 -0
- package/dist/services/pipelines/cte-parsing.js +160 -0
- package/dist/services/pipelines/cte-parsing.js.map +1 -0
- package/dist/services/pipelines/cte-planning.d.ts +22 -0
- package/dist/services/pipelines/cte-planning.d.ts.map +1 -0
- package/dist/services/pipelines/cte-planning.js +206 -0
- package/dist/services/pipelines/cte-planning.js.map +1 -0
- package/dist/services/pipelines/execution.d.ts.map +1 -1
- package/dist/services/pipelines/execution.js +0 -1
- package/dist/services/pipelines/execution.js.map +1 -1
- package/dist/services/pipelines/intent-parsing.d.ts +24 -0
- package/dist/services/pipelines/intent-parsing.d.ts.map +1 -0
- package/dist/services/pipelines/intent-parsing.js +245 -0
- package/dist/services/pipelines/intent-parsing.js.map +1 -0
- package/dist/services/pipelines/intent-resolution.d.ts +24 -0
- package/dist/services/pipelines/intent-resolution.d.ts.map +1 -0
- package/dist/services/pipelines/intent-resolution.js +141 -0
- package/dist/services/pipelines/intent-resolution.js.map +1 -0
- package/dist/services/pipelines/intent.d.ts +4 -45
- package/dist/services/pipelines/intent.d.ts.map +1 -1
- package/dist/services/pipelines/intent.js +14 -408
- package/dist/services/pipelines/intent.js.map +1 -1
- package/dist/services/pipelines/node-type-candidates.d.ts +6 -0
- package/dist/services/pipelines/node-type-candidates.d.ts.map +1 -0
- package/dist/services/pipelines/node-type-candidates.js +165 -0
- package/dist/services/pipelines/node-type-candidates.js.map +1 -0
- package/dist/services/pipelines/node-type-intent.d.ts +1 -5
- package/dist/services/pipelines/node-type-intent.d.ts.map +1 -1
- package/dist/services/pipelines/node-type-intent.js +1 -5
- package/dist/services/pipelines/node-type-intent.js.map +1 -1
- package/dist/services/pipelines/node-type-scoring.d.ts +13 -0
- package/dist/services/pipelines/node-type-scoring.d.ts.map +1 -0
- package/dist/services/pipelines/node-type-scoring.js +322 -0
- package/dist/services/pipelines/node-type-scoring.js.map +1 -0
- package/dist/services/pipelines/node-type-selection.d.ts +22 -2
- package/dist/services/pipelines/node-type-selection.d.ts.map +1 -1
- package/dist/services/pipelines/node-type-selection.js +16 -538
- package/dist/services/pipelines/node-type-selection.js.map +1 -1
- package/dist/services/pipelines/plan-builder.d.ts +33 -0
- package/dist/services/pipelines/plan-builder.d.ts.map +1 -0
- package/dist/services/pipelines/plan-builder.js +224 -0
- package/dist/services/pipelines/plan-builder.js.map +1 -0
- package/dist/services/pipelines/planning-types.d.ts +543 -0
- package/dist/services/pipelines/planning-types.d.ts.map +1 -0
- package/dist/services/pipelines/planning-types.js +85 -0
- package/dist/services/pipelines/planning-types.js.map +1 -0
- package/dist/services/pipelines/planning.d.ts +8 -537
- package/dist/services/pipelines/planning.d.ts.map +1 -1
- package/dist/services/pipelines/planning.js +10 -1956
- package/dist/services/pipelines/planning.js.map +1 -1
- package/dist/services/pipelines/review.d.ts.map +1 -1
- package/dist/services/pipelines/review.js +3 -8
- package/dist/services/pipelines/review.js.map +1 -1
- package/dist/services/pipelines/select-parsing.d.ts +7 -0
- package/dist/services/pipelines/select-parsing.d.ts.map +1 -0
- package/dist/services/pipelines/select-parsing.js +185 -0
- package/dist/services/pipelines/select-parsing.js.map +1 -0
- package/dist/services/pipelines/source-parsing.d.ts +8 -0
- package/dist/services/pipelines/source-parsing.d.ts.map +1 -0
- package/dist/services/pipelines/source-parsing.js +151 -0
- package/dist/services/pipelines/source-parsing.js.map +1 -0
- package/dist/services/pipelines/sql-parsing.d.ts +8 -0
- package/dist/services/pipelines/sql-parsing.d.ts.map +1 -0
- package/dist/services/pipelines/sql-parsing.js +9 -0
- package/dist/services/pipelines/sql-parsing.js.map +1 -0
- package/dist/services/pipelines/sql-tokenizer.d.ts +42 -0
- package/dist/services/pipelines/sql-tokenizer.d.ts.map +1 -0
- package/dist/services/pipelines/sql-tokenizer.js +493 -0
- package/dist/services/pipelines/sql-tokenizer.js.map +1 -0
- package/dist/services/pipelines/sql-utils.d.ts +30 -0
- package/dist/services/pipelines/sql-utils.d.ts.map +1 -0
- package/dist/services/pipelines/sql-utils.js +62 -0
- package/dist/services/pipelines/sql-utils.js.map +1 -0
- package/dist/services/pipelines/workshop.d.ts.map +1 -1
- package/dist/services/pipelines/workshop.js +53 -25
- package/dist/services/pipelines/workshop.js.map +1 -1
- package/dist/services/pipelines/workspace-resolution.d.ts +18 -0
- package/dist/services/pipelines/workspace-resolution.d.ts.map +1 -0
- package/dist/services/pipelines/workspace-resolution.js +279 -0
- package/dist/services/pipelines/workspace-resolution.js.map +1 -0
- package/dist/services/runs/diagnostics.d.ts.map +1 -1
- package/dist/services/runs/diagnostics.js +3 -8
- package/dist/services/runs/diagnostics.js.map +1 -1
- package/dist/services/shared/elicitation.d.ts +14 -0
- package/dist/services/shared/elicitation.d.ts.map +1 -0
- package/dist/services/shared/elicitation.js +56 -0
- package/dist/services/shared/elicitation.js.map +1 -0
- package/dist/services/workspace/node-creation.d.ts.map +1 -1
- package/dist/services/workspace/node-creation.js +5 -1
- package/dist/services/workspace/node-creation.js.map +1 -1
- package/dist/services/workspace/node-update-helpers.d.ts.map +1 -1
- package/dist/services/workspace/node-update-helpers.js +3 -8
- package/dist/services/workspace/node-update-helpers.js.map +1 -1
- package/dist/utils.d.ts +11 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +20 -1
- package/dist/utils.js.map +1 -1
- package/dist/workflows/get-environment-health.d.ts +49 -0
- package/dist/workflows/get-environment-health.d.ts.map +1 -0
- package/dist/workflows/get-environment-health.js +310 -0
- package/dist/workflows/get-environment-health.js.map +1 -0
- package/dist/workflows/get-environment-overview.d.ts +2 -1
- package/dist/workflows/get-environment-overview.d.ts.map +1 -1
- package/dist/workflows/get-environment-overview.js +13 -19
- package/dist/workflows/get-environment-overview.js.map +1 -1
- package/dist/workflows/get-run-details.d.ts +2 -2
- package/dist/workflows/get-run-details.d.ts.map +1 -1
- package/dist/workflows/get-run-details.js +14 -19
- package/dist/workflows/get-run-details.js.map +1 -1
- package/dist/workflows/retry-and-wait.d.ts.map +1 -1
- package/dist/workflows/retry-and-wait.js +3 -2
- package/dist/workflows/retry-and-wait.js.map +1 -1
- package/dist/workflows/run-and-wait.d.ts.map +1 -1
- package/dist/workflows/run-and-wait.js +3 -2
- package/dist/workflows/run-and-wait.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,534 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
expression: string;
|
|
10
|
-
outputName: string | null;
|
|
11
|
-
sourceNodeAlias: string | null;
|
|
12
|
-
sourceNodeName: string | null;
|
|
13
|
-
sourceNodeID: string | null;
|
|
14
|
-
sourceColumnName: string | null;
|
|
15
|
-
kind: PlannedSelectItemKind;
|
|
16
|
-
supported: boolean;
|
|
17
|
-
reason?: string;
|
|
18
|
-
};
|
|
19
|
-
type PlannedSourceRef = {
|
|
20
|
-
locationName: string;
|
|
21
|
-
nodeName: string;
|
|
22
|
-
alias: string | null;
|
|
23
|
-
nodeID: string | null;
|
|
24
|
-
};
|
|
25
|
-
export type PlannedPipelineNode = {
|
|
26
|
-
planNodeID: string;
|
|
27
|
-
name: string;
|
|
28
|
-
nodeType: PipelineNodeType;
|
|
29
|
-
nodeTypeFamily?: PipelineNodeTypeFamily | null;
|
|
30
|
-
predecessorNodeIDs: string[];
|
|
31
|
-
predecessorPlanNodeIDs: string[];
|
|
32
|
-
predecessorNodeNames: string[];
|
|
33
|
-
description: string | null;
|
|
34
|
-
sql: string | null;
|
|
35
|
-
selectItems: PlannedSelectItem[];
|
|
36
|
-
outputColumnNames: string[];
|
|
37
|
-
configOverrides: Record<string, unknown>;
|
|
38
|
-
sourceRefs: PlannedSourceRef[];
|
|
39
|
-
joinCondition: string | null;
|
|
40
|
-
location: {
|
|
41
|
-
locationName?: string;
|
|
42
|
-
database?: string;
|
|
43
|
-
schema?: string;
|
|
44
|
-
};
|
|
45
|
-
requiresFullSetNode: boolean;
|
|
46
|
-
templateDefaults?: PipelineTemplateDefaults;
|
|
47
|
-
};
|
|
48
|
-
type PipelinePlan = {
|
|
49
|
-
version: 1;
|
|
50
|
-
intent: PipelineIntent;
|
|
51
|
-
status: PipelineStatus;
|
|
52
|
-
workspaceID: string;
|
|
53
|
-
platform: string | null;
|
|
54
|
-
goal: string | null;
|
|
55
|
-
sql: string | null;
|
|
56
|
-
nodes: PlannedPipelineNode[];
|
|
57
|
-
assumptions: string[];
|
|
58
|
-
openQuestions: string[];
|
|
59
|
-
warnings: string[];
|
|
60
|
-
supportedNodeTypes: PipelineNodeType[];
|
|
61
|
-
nodeTypeSelection?: PipelineNodeTypeSelection;
|
|
62
|
-
cteNodeSummary?: CteNodeSummary[];
|
|
63
|
-
STOP_AND_CONFIRM?: string;
|
|
64
|
-
};
|
|
65
|
-
type CteNodeSummary = {
|
|
66
|
-
name: string;
|
|
67
|
-
nodeType: string;
|
|
68
|
-
pattern: "staging" | "multiSource" | "aggregation";
|
|
69
|
-
sourceTable: string | null;
|
|
70
|
-
columnCount: number;
|
|
71
|
-
transforms: Array<{
|
|
72
|
-
column: string;
|
|
73
|
-
expression: string;
|
|
74
|
-
}>;
|
|
75
|
-
passthroughColumns: string[];
|
|
76
|
-
whereFilter: string | null;
|
|
77
|
-
hasGroupBy: boolean;
|
|
78
|
-
hasJoin: boolean;
|
|
79
|
-
dependsOn: string[];
|
|
80
|
-
/** Structured columns for single-call creation (non-GROUP-BY CTEs) */
|
|
81
|
-
columnsParam?: Array<{
|
|
82
|
-
name: string;
|
|
83
|
-
transform?: string;
|
|
84
|
-
}>;
|
|
85
|
-
/** GROUP BY column expressions for single-call aggregation */
|
|
86
|
-
groupByColumnsParam?: string[];
|
|
87
|
-
/** Aggregate columns for single-call aggregation */
|
|
88
|
-
aggregatesParam?: Array<{
|
|
89
|
-
name: string;
|
|
90
|
-
function: string;
|
|
91
|
-
expression: string;
|
|
92
|
-
}>;
|
|
93
|
-
};
|
|
94
|
-
export declare const PipelinePlanSchema: z.ZodObject<{
|
|
95
|
-
version: z.ZodLiteral<1>;
|
|
96
|
-
intent: z.ZodEnum<["sql", "goal"]>;
|
|
97
|
-
status: z.ZodEnum<["ready", "needs_clarification"]>;
|
|
98
|
-
workspaceID: z.ZodString;
|
|
99
|
-
platform: z.ZodNullable<z.ZodString>;
|
|
100
|
-
goal: z.ZodNullable<z.ZodString>;
|
|
101
|
-
sql: z.ZodNullable<z.ZodString>;
|
|
102
|
-
nodes: z.ZodArray<z.ZodObject<{
|
|
103
|
-
planNodeID: z.ZodString;
|
|
104
|
-
name: z.ZodString;
|
|
105
|
-
nodeType: z.ZodString;
|
|
106
|
-
nodeTypeFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["stage", "persistent-stage", "view", "work", "dimension", "fact", "hub", "satellite", "link", "unknown"]>>>;
|
|
107
|
-
predecessorNodeIDs: z.ZodArray<z.ZodString, "many">;
|
|
108
|
-
predecessorPlanNodeIDs: z.ZodArray<z.ZodString, "many">;
|
|
109
|
-
predecessorNodeNames: z.ZodArray<z.ZodString, "many">;
|
|
110
|
-
description: z.ZodNullable<z.ZodString>;
|
|
111
|
-
sql: z.ZodNullable<z.ZodString>;
|
|
112
|
-
selectItems: z.ZodArray<z.ZodObject<{
|
|
113
|
-
expression: z.ZodString;
|
|
114
|
-
outputName: z.ZodNullable<z.ZodString>;
|
|
115
|
-
sourceNodeAlias: z.ZodNullable<z.ZodString>;
|
|
116
|
-
sourceNodeName: z.ZodNullable<z.ZodString>;
|
|
117
|
-
sourceNodeID: z.ZodNullable<z.ZodString>;
|
|
118
|
-
sourceColumnName: z.ZodNullable<z.ZodString>;
|
|
119
|
-
kind: z.ZodEnum<["column", "expression"]>;
|
|
120
|
-
supported: z.ZodBoolean;
|
|
121
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
122
|
-
}, "strict", z.ZodTypeAny, {
|
|
123
|
-
supported: boolean;
|
|
124
|
-
expression: string;
|
|
125
|
-
outputName: string | null;
|
|
126
|
-
sourceNodeAlias: string | null;
|
|
127
|
-
sourceNodeName: string | null;
|
|
128
|
-
sourceNodeID: string | null;
|
|
129
|
-
sourceColumnName: string | null;
|
|
130
|
-
kind: "expression" | "column";
|
|
131
|
-
reason?: string | undefined;
|
|
132
|
-
}, {
|
|
133
|
-
supported: boolean;
|
|
134
|
-
expression: string;
|
|
135
|
-
outputName: string | null;
|
|
136
|
-
sourceNodeAlias: string | null;
|
|
137
|
-
sourceNodeName: string | null;
|
|
138
|
-
sourceNodeID: string | null;
|
|
139
|
-
sourceColumnName: string | null;
|
|
140
|
-
kind: "expression" | "column";
|
|
141
|
-
reason?: string | undefined;
|
|
142
|
-
}>, "many">;
|
|
143
|
-
outputColumnNames: z.ZodArray<z.ZodString, "many">;
|
|
144
|
-
configOverrides: z.ZodObject<{
|
|
145
|
-
preSQL: z.ZodOptional<z.ZodString>;
|
|
146
|
-
postSQL: z.ZodOptional<z.ZodString>;
|
|
147
|
-
testsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
-
materializationType: z.ZodOptional<z.ZodString>;
|
|
149
|
-
insertStrategy: z.ZodOptional<z.ZodString>;
|
|
150
|
-
truncateBefore: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
152
|
-
preSQL: z.ZodOptional<z.ZodString>;
|
|
153
|
-
postSQL: z.ZodOptional<z.ZodString>;
|
|
154
|
-
testsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
155
|
-
materializationType: z.ZodOptional<z.ZodString>;
|
|
156
|
-
insertStrategy: z.ZodOptional<z.ZodString>;
|
|
157
|
-
truncateBefore: z.ZodOptional<z.ZodBoolean>;
|
|
158
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
159
|
-
preSQL: z.ZodOptional<z.ZodString>;
|
|
160
|
-
postSQL: z.ZodOptional<z.ZodString>;
|
|
161
|
-
testsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
-
materializationType: z.ZodOptional<z.ZodString>;
|
|
163
|
-
insertStrategy: z.ZodOptional<z.ZodString>;
|
|
164
|
-
truncateBefore: z.ZodOptional<z.ZodBoolean>;
|
|
165
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
166
|
-
sourceRefs: z.ZodArray<z.ZodObject<{
|
|
167
|
-
locationName: z.ZodString;
|
|
168
|
-
nodeName: z.ZodString;
|
|
169
|
-
alias: z.ZodNullable<z.ZodString>;
|
|
170
|
-
nodeID: z.ZodNullable<z.ZodString>;
|
|
171
|
-
}, "strict", z.ZodTypeAny, {
|
|
172
|
-
nodeID: string | null;
|
|
173
|
-
locationName: string;
|
|
174
|
-
nodeName: string;
|
|
175
|
-
alias: string | null;
|
|
176
|
-
}, {
|
|
177
|
-
nodeID: string | null;
|
|
178
|
-
locationName: string;
|
|
179
|
-
nodeName: string;
|
|
180
|
-
alias: string | null;
|
|
181
|
-
}>, "many">;
|
|
182
|
-
joinCondition: z.ZodNullable<z.ZodString>;
|
|
183
|
-
location: z.ZodObject<{
|
|
184
|
-
locationName: z.ZodOptional<z.ZodString>;
|
|
185
|
-
database: z.ZodOptional<z.ZodString>;
|
|
186
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
187
|
-
}, "strict", z.ZodTypeAny, {
|
|
188
|
-
database?: string | undefined;
|
|
189
|
-
schema?: string | undefined;
|
|
190
|
-
locationName?: string | undefined;
|
|
191
|
-
}, {
|
|
192
|
-
database?: string | undefined;
|
|
193
|
-
schema?: string | undefined;
|
|
194
|
-
locationName?: string | undefined;
|
|
195
|
-
}>;
|
|
196
|
-
requiresFullSetNode: z.ZodBoolean;
|
|
197
|
-
templateDefaults: z.ZodOptional<z.ZodObject<{
|
|
198
|
-
inferredTopLevelFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
199
|
-
inferredConfig: z.ZodObject<{
|
|
200
|
-
preSQL: z.ZodOptional<z.ZodString>;
|
|
201
|
-
postSQL: z.ZodOptional<z.ZodString>;
|
|
202
|
-
testsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
-
materializationType: z.ZodOptional<z.ZodString>;
|
|
204
|
-
insertStrategy: z.ZodOptional<z.ZodString>;
|
|
205
|
-
truncateBefore: z.ZodOptional<z.ZodBoolean>;
|
|
206
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
207
|
-
preSQL: z.ZodOptional<z.ZodString>;
|
|
208
|
-
postSQL: z.ZodOptional<z.ZodString>;
|
|
209
|
-
testsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
210
|
-
materializationType: z.ZodOptional<z.ZodString>;
|
|
211
|
-
insertStrategy: z.ZodOptional<z.ZodString>;
|
|
212
|
-
truncateBefore: z.ZodOptional<z.ZodBoolean>;
|
|
213
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
214
|
-
preSQL: z.ZodOptional<z.ZodString>;
|
|
215
|
-
postSQL: z.ZodOptional<z.ZodString>;
|
|
216
|
-
testsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
-
materializationType: z.ZodOptional<z.ZodString>;
|
|
218
|
-
insertStrategy: z.ZodOptional<z.ZodString>;
|
|
219
|
-
truncateBefore: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
221
|
-
}, "strict", z.ZodTypeAny, {
|
|
222
|
-
inferredTopLevelFields: Record<string, unknown>;
|
|
223
|
-
inferredConfig: {
|
|
224
|
-
materializationType?: string | undefined;
|
|
225
|
-
insertStrategy?: string | undefined;
|
|
226
|
-
truncateBefore?: boolean | undefined;
|
|
227
|
-
preSQL?: string | undefined;
|
|
228
|
-
postSQL?: string | undefined;
|
|
229
|
-
testsEnabled?: boolean | undefined;
|
|
230
|
-
} & {
|
|
231
|
-
[k: string]: unknown;
|
|
232
|
-
};
|
|
233
|
-
}, {
|
|
234
|
-
inferredTopLevelFields: Record<string, unknown>;
|
|
235
|
-
inferredConfig: {
|
|
236
|
-
materializationType?: string | undefined;
|
|
237
|
-
insertStrategy?: string | undefined;
|
|
238
|
-
truncateBefore?: boolean | undefined;
|
|
239
|
-
preSQL?: string | undefined;
|
|
240
|
-
postSQL?: string | undefined;
|
|
241
|
-
testsEnabled?: boolean | undefined;
|
|
242
|
-
} & {
|
|
243
|
-
[k: string]: unknown;
|
|
244
|
-
};
|
|
245
|
-
}>>;
|
|
246
|
-
}, "strict", z.ZodTypeAny, {
|
|
247
|
-
description: string | null;
|
|
248
|
-
name: string;
|
|
249
|
-
sql: string | null;
|
|
250
|
-
nodeType: string;
|
|
251
|
-
predecessorNodeIDs: string[];
|
|
252
|
-
joinCondition: string | null;
|
|
253
|
-
planNodeID: string;
|
|
254
|
-
predecessorPlanNodeIDs: string[];
|
|
255
|
-
predecessorNodeNames: string[];
|
|
256
|
-
selectItems: {
|
|
257
|
-
supported: boolean;
|
|
258
|
-
expression: string;
|
|
259
|
-
outputName: string | null;
|
|
260
|
-
sourceNodeAlias: string | null;
|
|
261
|
-
sourceNodeName: string | null;
|
|
262
|
-
sourceNodeID: string | null;
|
|
263
|
-
sourceColumnName: string | null;
|
|
264
|
-
kind: "expression" | "column";
|
|
265
|
-
reason?: string | undefined;
|
|
266
|
-
}[];
|
|
267
|
-
outputColumnNames: string[];
|
|
268
|
-
configOverrides: {
|
|
269
|
-
materializationType?: string | undefined;
|
|
270
|
-
insertStrategy?: string | undefined;
|
|
271
|
-
truncateBefore?: boolean | undefined;
|
|
272
|
-
preSQL?: string | undefined;
|
|
273
|
-
postSQL?: string | undefined;
|
|
274
|
-
testsEnabled?: boolean | undefined;
|
|
275
|
-
} & {
|
|
276
|
-
[k: string]: unknown;
|
|
277
|
-
};
|
|
278
|
-
sourceRefs: {
|
|
279
|
-
nodeID: string | null;
|
|
280
|
-
locationName: string;
|
|
281
|
-
nodeName: string;
|
|
282
|
-
alias: string | null;
|
|
283
|
-
}[];
|
|
284
|
-
location: {
|
|
285
|
-
database?: string | undefined;
|
|
286
|
-
schema?: string | undefined;
|
|
287
|
-
locationName?: string | undefined;
|
|
288
|
-
};
|
|
289
|
-
requiresFullSetNode: boolean;
|
|
290
|
-
templateDefaults?: {
|
|
291
|
-
inferredTopLevelFields: Record<string, unknown>;
|
|
292
|
-
inferredConfig: {
|
|
293
|
-
materializationType?: string | undefined;
|
|
294
|
-
insertStrategy?: string | undefined;
|
|
295
|
-
truncateBefore?: boolean | undefined;
|
|
296
|
-
preSQL?: string | undefined;
|
|
297
|
-
postSQL?: string | undefined;
|
|
298
|
-
testsEnabled?: boolean | undefined;
|
|
299
|
-
} & {
|
|
300
|
-
[k: string]: unknown;
|
|
301
|
-
};
|
|
302
|
-
} | undefined;
|
|
303
|
-
nodeTypeFamily?: "link" | "unknown" | "view" | "stage" | "persistent-stage" | "work" | "dimension" | "fact" | "hub" | "satellite" | null | undefined;
|
|
304
|
-
}, {
|
|
305
|
-
description: string | null;
|
|
306
|
-
name: string;
|
|
307
|
-
sql: string | null;
|
|
308
|
-
nodeType: string;
|
|
309
|
-
predecessorNodeIDs: string[];
|
|
310
|
-
joinCondition: string | null;
|
|
311
|
-
planNodeID: string;
|
|
312
|
-
predecessorPlanNodeIDs: string[];
|
|
313
|
-
predecessorNodeNames: string[];
|
|
314
|
-
selectItems: {
|
|
315
|
-
supported: boolean;
|
|
316
|
-
expression: string;
|
|
317
|
-
outputName: string | null;
|
|
318
|
-
sourceNodeAlias: string | null;
|
|
319
|
-
sourceNodeName: string | null;
|
|
320
|
-
sourceNodeID: string | null;
|
|
321
|
-
sourceColumnName: string | null;
|
|
322
|
-
kind: "expression" | "column";
|
|
323
|
-
reason?: string | undefined;
|
|
324
|
-
}[];
|
|
325
|
-
outputColumnNames: string[];
|
|
326
|
-
configOverrides: {
|
|
327
|
-
materializationType?: string | undefined;
|
|
328
|
-
insertStrategy?: string | undefined;
|
|
329
|
-
truncateBefore?: boolean | undefined;
|
|
330
|
-
preSQL?: string | undefined;
|
|
331
|
-
postSQL?: string | undefined;
|
|
332
|
-
testsEnabled?: boolean | undefined;
|
|
333
|
-
} & {
|
|
334
|
-
[k: string]: unknown;
|
|
335
|
-
};
|
|
336
|
-
sourceRefs: {
|
|
337
|
-
nodeID: string | null;
|
|
338
|
-
locationName: string;
|
|
339
|
-
nodeName: string;
|
|
340
|
-
alias: string | null;
|
|
341
|
-
}[];
|
|
342
|
-
location: {
|
|
343
|
-
database?: string | undefined;
|
|
344
|
-
schema?: string | undefined;
|
|
345
|
-
locationName?: string | undefined;
|
|
346
|
-
};
|
|
347
|
-
requiresFullSetNode: boolean;
|
|
348
|
-
templateDefaults?: {
|
|
349
|
-
inferredTopLevelFields: Record<string, unknown>;
|
|
350
|
-
inferredConfig: {
|
|
351
|
-
materializationType?: string | undefined;
|
|
352
|
-
insertStrategy?: string | undefined;
|
|
353
|
-
truncateBefore?: boolean | undefined;
|
|
354
|
-
preSQL?: string | undefined;
|
|
355
|
-
postSQL?: string | undefined;
|
|
356
|
-
testsEnabled?: boolean | undefined;
|
|
357
|
-
} & {
|
|
358
|
-
[k: string]: unknown;
|
|
359
|
-
};
|
|
360
|
-
} | undefined;
|
|
361
|
-
nodeTypeFamily?: "link" | "unknown" | "view" | "stage" | "persistent-stage" | "work" | "dimension" | "fact" | "hub" | "satellite" | null | undefined;
|
|
362
|
-
}>, "many">;
|
|
363
|
-
assumptions: z.ZodArray<z.ZodString, "many">;
|
|
364
|
-
openQuestions: z.ZodArray<z.ZodString, "many">;
|
|
365
|
-
warnings: z.ZodArray<z.ZodString, "many">;
|
|
366
|
-
supportedNodeTypes: z.ZodArray<z.ZodString, "many">;
|
|
367
|
-
nodeTypeSelection: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
368
|
-
cteNodeSummary: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
369
|
-
STOP_AND_CONFIRM: z.ZodOptional<z.ZodString>;
|
|
370
|
-
}, "strict", z.ZodTypeAny, {
|
|
371
|
-
status: "ready" | "needs_clarification";
|
|
372
|
-
workspaceID: string;
|
|
373
|
-
nodes: {
|
|
374
|
-
description: string | null;
|
|
375
|
-
name: string;
|
|
376
|
-
sql: string | null;
|
|
377
|
-
nodeType: string;
|
|
378
|
-
predecessorNodeIDs: string[];
|
|
379
|
-
joinCondition: string | null;
|
|
380
|
-
planNodeID: string;
|
|
381
|
-
predecessorPlanNodeIDs: string[];
|
|
382
|
-
predecessorNodeNames: string[];
|
|
383
|
-
selectItems: {
|
|
384
|
-
supported: boolean;
|
|
385
|
-
expression: string;
|
|
386
|
-
outputName: string | null;
|
|
387
|
-
sourceNodeAlias: string | null;
|
|
388
|
-
sourceNodeName: string | null;
|
|
389
|
-
sourceNodeID: string | null;
|
|
390
|
-
sourceColumnName: string | null;
|
|
391
|
-
kind: "expression" | "column";
|
|
392
|
-
reason?: string | undefined;
|
|
393
|
-
}[];
|
|
394
|
-
outputColumnNames: string[];
|
|
395
|
-
configOverrides: {
|
|
396
|
-
materializationType?: string | undefined;
|
|
397
|
-
insertStrategy?: string | undefined;
|
|
398
|
-
truncateBefore?: boolean | undefined;
|
|
399
|
-
preSQL?: string | undefined;
|
|
400
|
-
postSQL?: string | undefined;
|
|
401
|
-
testsEnabled?: boolean | undefined;
|
|
402
|
-
} & {
|
|
403
|
-
[k: string]: unknown;
|
|
404
|
-
};
|
|
405
|
-
sourceRefs: {
|
|
406
|
-
nodeID: string | null;
|
|
407
|
-
locationName: string;
|
|
408
|
-
nodeName: string;
|
|
409
|
-
alias: string | null;
|
|
410
|
-
}[];
|
|
411
|
-
location: {
|
|
412
|
-
database?: string | undefined;
|
|
413
|
-
schema?: string | undefined;
|
|
414
|
-
locationName?: string | undefined;
|
|
415
|
-
};
|
|
416
|
-
requiresFullSetNode: boolean;
|
|
417
|
-
templateDefaults?: {
|
|
418
|
-
inferredTopLevelFields: Record<string, unknown>;
|
|
419
|
-
inferredConfig: {
|
|
420
|
-
materializationType?: string | undefined;
|
|
421
|
-
insertStrategy?: string | undefined;
|
|
422
|
-
truncateBefore?: boolean | undefined;
|
|
423
|
-
preSQL?: string | undefined;
|
|
424
|
-
postSQL?: string | undefined;
|
|
425
|
-
testsEnabled?: boolean | undefined;
|
|
426
|
-
} & {
|
|
427
|
-
[k: string]: unknown;
|
|
428
|
-
};
|
|
429
|
-
} | undefined;
|
|
430
|
-
nodeTypeFamily?: "link" | "unknown" | "view" | "stage" | "persistent-stage" | "work" | "dimension" | "fact" | "hub" | "satellite" | null | undefined;
|
|
431
|
-
}[];
|
|
432
|
-
warnings: string[];
|
|
433
|
-
version: 1;
|
|
434
|
-
intent: "goal" | "sql";
|
|
435
|
-
platform: string | null;
|
|
436
|
-
goal: string | null;
|
|
437
|
-
sql: string | null;
|
|
438
|
-
assumptions: string[];
|
|
439
|
-
openQuestions: string[];
|
|
440
|
-
supportedNodeTypes: string[];
|
|
441
|
-
cteNodeSummary?: Record<string, unknown>[] | undefined;
|
|
442
|
-
nodeTypeSelection?: Record<string, unknown> | undefined;
|
|
443
|
-
STOP_AND_CONFIRM?: string | undefined;
|
|
444
|
-
}, {
|
|
445
|
-
status: "ready" | "needs_clarification";
|
|
446
|
-
workspaceID: string;
|
|
447
|
-
nodes: {
|
|
448
|
-
description: string | null;
|
|
449
|
-
name: string;
|
|
450
|
-
sql: string | null;
|
|
451
|
-
nodeType: string;
|
|
452
|
-
predecessorNodeIDs: string[];
|
|
453
|
-
joinCondition: string | null;
|
|
454
|
-
planNodeID: string;
|
|
455
|
-
predecessorPlanNodeIDs: string[];
|
|
456
|
-
predecessorNodeNames: string[];
|
|
457
|
-
selectItems: {
|
|
458
|
-
supported: boolean;
|
|
459
|
-
expression: string;
|
|
460
|
-
outputName: string | null;
|
|
461
|
-
sourceNodeAlias: string | null;
|
|
462
|
-
sourceNodeName: string | null;
|
|
463
|
-
sourceNodeID: string | null;
|
|
464
|
-
sourceColumnName: string | null;
|
|
465
|
-
kind: "expression" | "column";
|
|
466
|
-
reason?: string | undefined;
|
|
467
|
-
}[];
|
|
468
|
-
outputColumnNames: string[];
|
|
469
|
-
configOverrides: {
|
|
470
|
-
materializationType?: string | undefined;
|
|
471
|
-
insertStrategy?: string | undefined;
|
|
472
|
-
truncateBefore?: boolean | undefined;
|
|
473
|
-
preSQL?: string | undefined;
|
|
474
|
-
postSQL?: string | undefined;
|
|
475
|
-
testsEnabled?: boolean | undefined;
|
|
476
|
-
} & {
|
|
477
|
-
[k: string]: unknown;
|
|
478
|
-
};
|
|
479
|
-
sourceRefs: {
|
|
480
|
-
nodeID: string | null;
|
|
481
|
-
locationName: string;
|
|
482
|
-
nodeName: string;
|
|
483
|
-
alias: string | null;
|
|
484
|
-
}[];
|
|
485
|
-
location: {
|
|
486
|
-
database?: string | undefined;
|
|
487
|
-
schema?: string | undefined;
|
|
488
|
-
locationName?: string | undefined;
|
|
489
|
-
};
|
|
490
|
-
requiresFullSetNode: boolean;
|
|
491
|
-
templateDefaults?: {
|
|
492
|
-
inferredTopLevelFields: Record<string, unknown>;
|
|
493
|
-
inferredConfig: {
|
|
494
|
-
materializationType?: string | undefined;
|
|
495
|
-
insertStrategy?: string | undefined;
|
|
496
|
-
truncateBefore?: boolean | undefined;
|
|
497
|
-
preSQL?: string | undefined;
|
|
498
|
-
postSQL?: string | undefined;
|
|
499
|
-
testsEnabled?: boolean | undefined;
|
|
500
|
-
} & {
|
|
501
|
-
[k: string]: unknown;
|
|
502
|
-
};
|
|
503
|
-
} | undefined;
|
|
504
|
-
nodeTypeFamily?: "link" | "unknown" | "view" | "stage" | "persistent-stage" | "work" | "dimension" | "fact" | "hub" | "satellite" | null | undefined;
|
|
505
|
-
}[];
|
|
506
|
-
warnings: string[];
|
|
507
|
-
version: 1;
|
|
508
|
-
intent: "goal" | "sql";
|
|
509
|
-
platform: string | null;
|
|
510
|
-
goal: string | null;
|
|
511
|
-
sql: string | null;
|
|
512
|
-
assumptions: string[];
|
|
513
|
-
openQuestions: string[];
|
|
514
|
-
supportedNodeTypes: string[];
|
|
515
|
-
cteNodeSummary?: Record<string, unknown>[] | undefined;
|
|
516
|
-
nodeTypeSelection?: Record<string, unknown> | undefined;
|
|
517
|
-
STOP_AND_CONFIRM?: string | undefined;
|
|
518
|
-
}>;
|
|
519
|
-
export declare const DEFAULT_STAGE_CONFIG: Record<string, unknown>;
|
|
520
|
-
export declare function normalizeSqlIdentifier(identifier: string): string;
|
|
521
|
-
export declare function deepClone<T>(value: T): T;
|
|
522
|
-
export declare function normalizeWhitespace(value: string): string;
|
|
523
|
-
export declare function buildSourceDependencyKey(locationName: string | null | undefined, nodeName: string): string;
|
|
524
|
-
export declare function getUniqueSourceDependencies(sourceRefs: Array<{
|
|
525
|
-
locationName: string;
|
|
526
|
-
nodeName: string;
|
|
527
|
-
}>): Array<{
|
|
528
|
-
locationName: string;
|
|
529
|
-
nodeName: string;
|
|
530
|
-
}>;
|
|
531
|
-
export declare function getColumnNamesFromNode(node: Record<string, unknown>): string[];
|
|
1
|
+
export { PipelinePlanSchema, DEFAULT_STAGE_CONFIG } from "./planning-types.js";
|
|
2
|
+
export type { PlannedSelectItemKind, PlannedSelectItem, PlannedPipelineNode, ResolvedSqlRef, ParsedSqlSourceRef, WorkspaceNodeTypeInventory } from "./planning-types.js";
|
|
3
|
+
export { normalizeSqlIdentifier, deepClone, normalizeWhitespace, buildSourceDependencyKey, getUniqueSourceDependencies, parseSqlSourceRefs, parseSqlSelectItems, extractCtes, escapeRegExp } from "./sql-parsing.js";
|
|
4
|
+
export type { ParsedCte, CteColumn } from "./sql-parsing.js";
|
|
5
|
+
export { getColumnNamesFromNode, getNodeColumnArray, getColumnSourceNodeIDs, findMatchingBaseColumn, renameSourceMappingEntries, buildStageSourceMappingFromPlan } from "./column-helpers.js";
|
|
6
|
+
export { getWorkspaceNodeTypeInventory } from "./workspace-resolution.js";
|
|
7
|
+
import type { CoalesceClient } from "../../client.js";
|
|
8
|
+
import type { PipelinePlan } from "./planning-types.js";
|
|
532
9
|
export declare function planPipeline(client: CoalesceClient, params: {
|
|
533
10
|
workspaceID: string;
|
|
534
11
|
goal?: string;
|
|
@@ -543,10 +20,4 @@ export declare function planPipeline(client: CoalesceClient, params: {
|
|
|
543
20
|
sourceNodeIDs?: string[];
|
|
544
21
|
repoPath?: string;
|
|
545
22
|
}): Promise<PipelinePlan>;
|
|
546
|
-
export declare function getNodeColumnArray(node: Record<string, unknown>): Record<string, unknown>[];
|
|
547
|
-
export declare function getColumnSourceNodeIDs(column: Record<string, unknown>): string[];
|
|
548
|
-
export declare function findMatchingBaseColumn(node: Record<string, unknown>, selectItem: PlannedSelectItem): Record<string, unknown> | null;
|
|
549
|
-
export declare function renameSourceMappingEntries(node: Record<string, unknown>, newName: string): Record<string, unknown>;
|
|
550
|
-
export declare function buildStageSourceMappingFromPlan(currentNode: Record<string, unknown>, nodePlan: PlannedPipelineNode): Record<string, unknown>[];
|
|
551
|
-
export {};
|
|
552
23
|
//# sourceMappingURL=planning.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planning.d.ts","sourceRoot":"","sources":["../../../src/services/pipelines/planning.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"planning.d.ts","sourceRoot":"","sources":["../../../src/services/pipelines/planning.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,YAAY,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,cAAc,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAEzK,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrN,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,+BAA+B,EAAE,MAAM,qBAAqB,CAAC;AAE9L,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAI1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAqBxD,wBAAsB,YAAY,CAChC,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE;IACN,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GACA,OAAO,CAAC,YAAY,CAAC,CA6WvB"}
|