Skip to content

waygraph / BlockFrom

Type Alias: BlockFrom<In> ​

BlockFrom<In> = Omit<SomeBlock, "instruction"> & object

Defined in: src/engine/block/some-block.ts:52

Any Block that starts from In, wherever it ends: its precondition is still checked against In, so a route can't hand a Block a Checkpoint it doesn't start from.

Type Parameters ​

In ​

In extends Checkpoint<string>

Type Declaration ​

instruction ​

instruction: Omit<SomeInstruction, "precondition"> & object

Type Declaration ​

precondition? ​

optional precondition?: Trait[] | ((input) => Trait[])

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