n8n-nodes-base
Version:
Base nodes of n8n
28 lines (23 loc) • 635 B
text/typescript
/**
* Execute Command Node - Version 1
* Executes a command on the host
*/
export interface ExecuteCommandV1Params {
/**
* Whether to execute only once instead of once for each entry
* @default true
*/
executeOnce?: boolean | Expression<boolean>;
/**
* The command to execute
*/
command?: string | Expression<string> | PlaceholderValue;
}
interface ExecuteCommandV1NodeBase {
type: 'n8n-nodes-base.executeCommand';
version: 1;
}
export type ExecuteCommandV1ParamsNode = ExecuteCommandV1NodeBase & {
config: NodeConfig<ExecuteCommandV1Params>;
};
export type ExecuteCommandV1Node = ExecuteCommandV1ParamsNode;