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