diff --git a/libs/sdk-js/src/types.ts b/libs/sdk-js/src/types.ts index 0073c5962..6a668ef4c 100644 --- a/libs/sdk-js/src/types.ts +++ b/libs/sdk-js/src/types.ts @@ -40,9 +40,11 @@ export interface Command { resume?: unknown; /** - * A single, or array of `Send` commands to trigger nodes. + * Determine the next node to navigate to. Can be one of the following: + * - Name(s) of the node names to navigate to next. + * - `Send` command(s) to execute node(s) with provided input. */ - send?: Send | Send[]; + goto?: Send | Send[] | string | string[]; } interface RunsInvokePayload {