Interface: MachineNodeData
API / @xmachines/play-router / MachineNodeData
Defined in: play-router/src/types.ts:10
The data on each node of the graph that represents the machine. It holds the state metadata that the route extraction and the queries need.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
meta? | Record<string, unknown> | The original meta object of the state | play-router/src/types.ts:16 |
route? | string | The route path of meta.route, in its string form | play-router/src/types.ts:18 |
stateId | string | The XState state ID, for example “test.dashboard.overview” | play-router/src/types.ts:12 |
type | "atomic" | "compound" | "parallel" | "final" | "history" | The state type of XState | play-router/src/types.ts:14 |