Skip to content

waygraph / StubPhaseResult

Type Alias: StubPhaseResult ​

StubPhaseResult = object

Defined in: src/engine/stub/stub.ts:225

Result of running a stub phase (rings + episode fixtures).

Properties ​

bannerUi? ​

optional bannerUi?: BannerUiOpts

Defined in: src/engine/stub/stub.ts:253


caption? ​

optional caption?: string

Defined in: src/engine/stub/stub.ts:254


device? ​

optional device?: DeviceState

Defined in: src/engine/stub/stub.ts:241

Resolved device after this phase (undefined when keep with no prior).


deviceSync? ​

optional deviceSync?: "set" | "clear" | "keep"

Defined in: src/engine/stub/stub.ts:248

Device intent (mirror todoSync):

  • set - apply device
  • clear - reset to desktop (hideDevice / device desktop)
  • keep - author omitted device; demo must leave previous alone

highlights ​

highlights: ResolvedHighlight[]

Defined in: src/engine/stub/stub.ts:226


networkTabVisible? ​

optional networkTabVisible?: boolean

Defined in: src/engine/stub/stub.ts:255


showCalls? ​

optional showCalls?: boolean

Defined in: src/engine/stub/stub.ts:257

The step's first HTTP call opens in the call modal (StubUi.showCalls).


slides ​

slides: WaygraphSlide[]

Defined in: src/engine/stub/stub.ts:259

Slides to play in this phase (StubUi.slides); empty when the stub set none.


title? ​

optional title?: string

Defined in: src/engine/stub/stub.ts:251


titlePos? ​

optional titlePos?: BannerPos

Defined in: src/engine/stub/stub.ts:252


todoDock? ​

optional todoDock?: TodoDockState

Defined in: src/engine/stub/stub.ts:230


todoDockUi? ​

optional todoDockUi?: TodoDockUiOpts

Defined in: src/engine/stub/stub.ts:239

Todo-dock UX for this phase (when author called StubUi.todoDockUi).


todoIndex? ​

optional todoIndex?: number

Defined in: src/engine/stub/stub.ts:229


todoParallel? ​

optional todoParallel?: boolean

Defined in: src/engine/stub/stub.ts:262

When true, keep other docks (multi-todo). Default false = replace.


todoPos? ​

optional todoPos?: "left" | "right"

Defined in: src/engine/stub/stub.ts:260


todos ​

todos: WaygraphTodoItem[]

Defined in: src/engine/stub/stub.ts:228

Flattened first-group items (compat). Prefer todoDock.


todoSync? ​

optional todoSync?: "set" | "clear" | "keep"

Defined in: src/engine/stub/stub.ts:237

Todo dock intent for this phase:

  • set - replace dock with todoDock
  • clear - hide dock (author called hideTodos / empty todos())
  • keep - author omitted todos; demo must leave previous dock alone

zoom? ​

optional zoom?: number

Defined in: src/engine/stub/stub.ts:249


zoomOut? ​

optional zoomOut?: boolean

Defined in: src/engine/stub/stub.ts:250

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed