Skip to content

waygraph / ManifestBlock

Interface: ManifestBlock ​

Defined in: src/manifest/manifest.ts:32

Properties ​

checks ​

checks: object

Defined in: src/manifest/manifest.ts:62

What it checks before acting and on arrival: each Trait as data, or "dynamic" when a function builds them.

precondition ​

precondition: ManifestCheck[] | "dynamic"

verify ​

verify: ManifestCheck[] | "dynamic"


description ​

description: string

Defined in: src/manifest/manifest.ts:40


expect ​

expect: string[]

Defined in: src/manifest/manifest.ts:45

What the Block promises wherever it's used (its expect), in words; per outcome as "if Tag: ...".


exportName ​

exportName: string

Defined in: src/manifest/manifest.ts:38


file ​

file: string

Defined in: src/manifest/manifest.ts:46


for? ​

optional for?: string[]

Defined in: src/manifest/manifest.ts:66

The accounts it's given (for): who can open a page, who has a Method's button, who sees a layout's link.


from ​

from: string[]

Defined in: src/manifest/manifest.ts:41


group? ​

optional group?: "do" | "expects" | "links"

Defined in: src/manifest/manifest.ts:56

A Block written in a page: which group of it (do, expects, links), the page's id, and its key there.


id ​

id: string

Defined in: src/manifest/manifest.ts:36

file#exportName, unique across the project.


key? ​

optional key?: string

Defined in: src/manifest/manifest.ts:58


kind ​

kind: BlockKind

Defined in: src/manifest/manifest.ts:39


map? ​

optional map?: string

Defined in: src/manifest/manifest.ts:48

The src/map/ group folder the Block lives in (e.g. (external)/hoppscotch), or the map package it came from.


name ​

name: string

Defined in: src/manifest/manifest.ts:37


opens? ​

optional opens?: true

Defined in: src/manifest/manifest.ts:52

A Page Block that opens itself (it has a url or a click): a way in, as a Nav is.


owner? ​

optional owner?: string

Defined in: src/manifest/manifest.ts:57


query? ​

optional query?: string[]

Defined in: src/manifest/manifest.ts:54

The query params a Page Block keeps in its address (?tab=): state of the page.


requires ​

requires: string[]

Defined in: src/manifest/manifest.ts:43


selectors ​

selectors: SelectorEntry[]

Defined in: src/manifest/manifest.ts:64

The selector entries its definition reads (LoginSel.submit), from the project's selector files.


sets? ​

optional sets?: object[]

Defined in: src/manifest/manifest.ts:34

The states it changes when it lands; on when that depends on where it lands.

key ​

key: string

on? ​

optional on?: string

value ​

value: string | boolean


source? ​

optional source?: SourceSpan

Defined in: src/manifest/manifest.ts:60

The lines of file that define it.


to ​

to: string[]

Defined in: src/manifest/manifest.ts:42


url? ​

optional url?: string

Defined in: src/manifest/manifest.ts:50

Where a Nav or Page Block goes by url: the url, or the pattern a url built from mem makes (/requests/:id).

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