Interface: RouteInfo
Documentation / @xmachines/play-router / RouteInfo
Defined in: types.ts:40
Extracted route information from a state node
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
isAbsolute | boolean | Whether route path is absolute (starts with /) | types.ts:50 |
metadata | RouteMetadata | Original route metadata | types.ts:57 |
pattern? | string | Route pattern with parameters (e.g., /profile/:userId) if routePath contains params | types.ts:48 |
routable | boolean | Whether this state is routable (has meta.route) true = has meta.route, can receive play.route events | types.ts:55 |
routePath | string | Route path extracted from meta.route | types.ts:46 |
stateId | string | State identifier (node.id or path.join(’.‘)) | types.ts:42 |
statePath | string[] | State path segments from root | types.ts:44 |