Skip to main content

Type Alias: PipelineStructure

PipelineStructure = { steps: PipelineStructure[]; type: "sequential"; } | { branches: PipelineStructure[]; type: "parallel"; } | { condition: string; onFail?: PipelineStructure; onPass: PipelineStructure; type: "conditional"; } | { body: PipelineStructure; max?: number; type: "loop"; until: string; } | { captureAs?: string; name: string; type: "bot"; } | { name: string; type: "transform"; } | { captureAs?: string; fields: string[]; type: "select"; } | { captureAs?: string; mappings: Record<string, string>; type: "merge"; } | { body: PipelineStructure; iterable: string; type: "map"; } | { body: PipelineStructure; iterable: string; type: "for"; variable: string; }

Defined in: packages/core/src/stream-segments/types.ts:170

Serializable pipeline structure for UI display