Parameters
PipelineDefinitionInput
required
The authored pipeline.
Returns
PipelineDefinition<DatasetName>
A definition for source loading and local testing. Export it as the default value of a
pipeline.ts file under pipelines/ for the CLI.Throws
Throws a local error for an empty dataset name, duplicate field IDs, duplicate node IDs, a node that references an undeclared field object, or a connection whose source or target node is undeclared. Construction does not perform full graph validation. The CLI validates definitions while loading source; usevalidate() for the graph contract and local checks before applying.