RoutesSource<PageIds>
Interface: RoutesSource<PageIds>
Defined in: src/graph/sources/types.ts:33
A route table read as pages — the spine. PageIds carries the page names
through const inference so a source-contributed page is a REAL typed node
path on the compiled graph (registerActions/show/setVisible accept it;
a typo stays a compile error).
Type Parameters
PageIds
PageIds extends string = string
Properties
crossLinks?
readonlyoptionalcrossLinks?:true| readonlyPageIds[]
Defined in: src/graph/sources/types.ts:43
The crossLinks REQUEST this table was read with — true (every page whose
route is fully literal) or the named subset. Snapshot DATA, not tools: the
factory sees one route table, while the link's on list is "every page in
the effective graph except the target". Only mergeSources knows that set,
so it is the one place the request materialises.
kind
readonlykind:"routes"
Defined in: src/graph/sources/types.ts:34
pages
readonlypages:Record<PageIds,PageNodeDef>
Defined in: src/graph/sources/types.ts:35