Skip to content

ChartTransition ​

Type, in @jr2/orchestrator/src/chart.ts. The signature of an export, or a type that it names, names this type. The Authoring surface page lists each export. This type is not an export of @jr2/orchestrator, so a workflow module does not import it by name.

ts
type ChartTransition =
  | string
  | {
      target?: string | string[];
      guard?: ChartGuard;
      actions?: ChartAction[];
      reenter?: boolean;
      description?: string;
    };

A transition: a target alone, or the object form.

The docs of Kit version 0.5.1. Each page is also at its .md URL.