ActionVariantTransition
ActionVariantTransition = {
kind:"none"; } | {kind:"to";variant:VariantName; } | {kind:"unknown_target";target:string; }
Defined in: packages/client/src/lib/command-processor/action-manager.ts:89
The transitionsTo an Action declares on the Variant it runs from.
none: the Action declares no transition.to: the Action moves the Instance tovariant, a Variant of its Vessel.unknown_target: the Action namestarget, which its Vessel does not define, so no transition can apply.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ kind: "none"; }
readonlykind:"none"
No transition is declared.
Type Literal
Section titled “Type Literal”{ kind: "to"; variant: VariantName; }
readonlykind:"to"
The Action transitions to a defined Variant.
variant
Section titled “variant”
readonlyvariant:VariantName
The Variant the Action moves the Instance to.
Type Literal
Section titled “Type Literal”{ kind: "unknown_target"; target: string; }
readonlykind:"unknown_target"
The Action transitions to a Variant its Vessel does not define.
target
Section titled “target”
readonlytarget:string
The undefined Variant name as declared.