Skip to content

Interface: MachineNodeData

API / @xmachines/play-router / xstate / MachineNodeData

Defined in: packages/play-router/src/xstate/machine-types.ts:12

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

PropertyTypeDescriptionDefined in
meta?Record<string, unknown>The original meta object of the statepackages/play-router/src/xstate/machine-types.ts:18
route?stringThe route path of meta.route, in its string formpackages/play-router/src/xstate/machine-types.ts:20
stateIdstringThe XState state ID, for example “test.dashboard.overview”packages/play-router/src/xstate/machine-types.ts:14
type"atomic" | "compound" | "parallel" | "final" | "history"The state type of XStatepackages/play-router/src/xstate/machine-types.ts:16