Interface: RouteMapping
Documentation / @xmachines/play-react-router / RouteMapping
Defined in: play-react-router/src/route-map.ts:22
Mapping between state machine state ID and router path.
Structurally compatible with BaseRouteMapping from @xmachines/play-router.
Fields are readonly — entries are immutable once passed to RouteMap.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
path | readonly | string | Router path with optional parameters (e.g., "/settings/:section?") | play-react-router/src/route-map.ts:26 |
stateId | readonly | string | State ID from state machine (e.g., "home", "settings.profile") | play-react-router/src/route-map.ts:24 |