/** * Switch Node - Version 2 * Discriminator: mode=expression */ /** Expression decides how to route data */ export type SwitchV2ExpressionParams = { mode: 'expression'; /** * The index of output to which to send data to */ output?: string | Expression | PlaceholderValue; /** * Amount of outputs to create * @default 4 */ outputsAmount?: number | Expression; }; export type SwitchV2ExpressionNode = { type: 'n8n-nodes-base.switch'; version: 2; config: NodeConfig; };