Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/requirement/domain/Timeline

Pure (DOMAIN-001): the placement read back in the order it runs.

Cockpit client (features), next. Source: ui/client/features/requirement/domain/Timeline.ts.

Functions#

screenOf()#

screenOf(blocks): string

Defined in: ui/client/features/requirement/domain/Timeline.ts:61

The screen the units are wired into: the name of the first page or controller layer.

Parameters#

blocks

PlacementBlock[]

Returns#

string


toTimeline()#

toTimeline(placement): TimelineStep[]

Defined in: ui/client/features/requirement/domain/Timeline.ts:69

The timeline of a placement: the page load, then one step per block in run order, then a redirect after each mutation that carries validated-redirect. Empty when nothing is placed yet (a word of the card is still open).

Parameters#

placement

Pick<Placement, "blocks"> | null

Returns#

TimelineStep[]