TypegenMeta interface​
Signature:
export interface TypegenMeta extends TypegenEnabled
Extends: TypegenEnabled
Properties​
Property | Modifiers | Type | Description |
---|---|---|---|
eventsCausingActions | Record<string, string> | Keeps track of which events lead to which actions. Key: 'EVENT_NAME' Value: 'actionName' | 'otherActionName' | |
eventsCausingActors | Record<string, string> | Keeps track of which events lead to which actors. Key: 'EVENT_NAME' Value: 'actorName' | 'otherActorName' | |
eventsCausingDelays | Record<string, string> | Keeps track of which events lead to which delays. Key: 'EVENT_NAME' Value: 'delayName' | 'otherDelayName' | |
eventsCausingGuards | Record<string, string> | Keeps track of which events lead to which guards. Key: 'EVENT_NAME' Value: 'guardName' | 'otherGuardName' | |
internalEvents | {} | A map for the internal events of the machine. |
key: 'xstate.done.actor.myActor'
value: {
type: 'xstate.done.actor.myActor';
data: unknown;
__tip: 'Declare the type in event types!';
}
| | invokeSrcNameMap | | Record<string, string> |
Maps the src of the invoked actor to the event type that includes its known id
key: 'invokeSrc' value: 'xstate.done.actor.invokeName'
| | matchesStates | | string | {} | Allows you to specify all the results of state.matches | | missingImplementations | | { actions: string; actors: string; delays: string; guards: string; } | Allows you to specify all the missing implementations of the machine | | tags | | string | Allows you to specify all tags used by the machine |