Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xstate/src/typegenTypes.ts>TypegenMeta

State machines and statecharts for the modern web.
Go to Latest
interface TypegenMeta
implements TypegenEnabled
import { type TypegenMeta } from "https://deno.land/x/xstate@xstate%405.0.0-beta.19/src/typegenTypes.ts";

Properties

matchesStates: string | { }

Allows you to specify all the results of state.matches

tags: string

Allows you to specify all tags used by the machine

missingImplementations: { actions: string; actors: string; delays: string; guards: string; }

Allows you to specify all the missing implementations of the machine

internalEvents: { }

A map for the internal events of the machine.

key: 'done.invoke.myActor' value: { type: 'done.invoke.myActor'; data: unknown; __tip: 'Declare the type in event types!'; }

invokeSrcNameMap: Record<string, string>

Maps the name of the actor to the event type of the done.invoke action

key: 'invokeSrc' value: 'done.invoke.invokeName'

eventsCausingActions: Record<string, string>

Keeps track of which events lead to which actions.

Key: 'EVENT_NAME' Value: 'actionName' | 'otherActionName'

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'

eventsCausingActors: Record<string, string>

Keeps track of which events lead to which actors.

Key: 'EVENT_NAME' Value: 'actorName' | 'otherActorName'