Function: lowerSegments()
ts
function lowerSegments(segments: RawSegment[]): MediaPlan;Defined in: src/batteries/media/pipe.ts:355
Lower raw segments to an (unvalidated) MediaPlan. Quoted-JSON arg parsing and type/enum checks happen in the validator, which consumes the raw segments — this lowering exists for tooling that wants the structural plan without validation.
Parameters
| Parameter | Type | Description |
|---|---|---|
segments | RawSegment[] | Output of parsePipeRaw. |
Returns
The structural plan (args carried as parsed, json args still strings).