Interface: PlayerConfig<TMachine, TCatalog>
Documentation / @xmachines/play-xstate / PlayerConfig
Defined in: packages/play-xstate/src/types.ts:9
Configuration for definePlayer()
Per CONTEXT.md: Single config object with machine, catalog, options
Type Parameters
| Type Parameter | Default type |
|---|---|
TMachine extends AnyStateMachine | - |
TCatalog | Record<string, unknown> |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
catalog? | TCatalog | UI component catalog (optional - allows machines without UI) | packages/play-xstate/src/types.ts:17 |
machine | TMachine | XState v5 state machine | packages/play-xstate/src/types.ts:14 |
options? | PlayerOptions<TMachine> | Lifecycle hooks and configuration | packages/play-xstate/src/types.ts:20 |