# ActionVariantTransition
Source: https://docs.maelstrom-ai.co/dev/reference/client/type-aliases/actionvarianttransition/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

> **ActionVariantTransition** = { `kind`: `"none"`; } | { `kind`: `"to"`; `variant`: `VariantName`; } | { `kind`: `"unknown_target"`; `target`: `string`; }

Defined in: [packages/client/src/lib/command-processor/action-manager.ts:89](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/command-processor/action-manager.ts#L89)

The `transitionsTo` an Action declares on the Variant it runs from.

-   `none`: the Action declares no transition.
-   `to`: the Action moves the Instance to `variant`, a Variant of its Vessel.
-   `unknown_target`: the Action names `target`, which its Vessel does not define, so no transition can apply.

## Union Members

### Type Literal

{ `kind`: `"none"`; }

#### kind

> `readonly` **kind**: `"none"`

No transition is declared.

* * *

### Type Literal

{ `kind`: `"to"`; `variant`: `VariantName`; }

#### kind

> `readonly` **kind**: `"to"`

The Action transitions to a defined Variant.

#### variant

> `readonly` **variant**: `VariantName`

The Variant the Action moves the Instance to.

* * *

### Type Literal

{ `kind`: `"unknown_target"`; `target`: `string`; }

#### kind

> `readonly` **kind**: `"unknown_target"`

The Action transitions to a Variant its Vessel does not define.

#### target

> `readonly` **target**: `string`

The undefined Variant name as declared.
