UNPKG

@hotmeshio/hotmesh

Version:

Serverless Workflow

18 lines (17 loc) 404 B
import { Pipe } from './pipe'; export type TransitionMatch = { expected: boolean | string | number | null; actual: boolean | string | number | null | { '@pipe': Pipe; }; }; export type TransitionRule = { gate?: 'and' | 'or'; code?: string; match: Array<TransitionMatch>; }; export type Transitions = { [key: string]: { [key: string]: TransitionRule; }; };