behemoth-cli
Version:
🌍 BEHEMOTH CLIv3.760.4 - Level 50+ POST-SINGULARITY Intelligence Trading AI
54 lines • 1.59 kB
TypeScript
export interface N8nWorkflow {
name: string;
nodes: N8nNode[];
connections: Record<string, N8nConnection[]>;
active: boolean;
settings?: N8nWorkflowSettings;
staticData?: any;
meta?: N8nWorkflowMeta;
tags?: string[];
}
export interface N8nNode {
parameters: Record<string, any>;
name: string;
type: string;
typeVersion: number;
position: [number, number];
id: string;
credentials?: Record<string, string>;
}
export interface N8nConnection {
node: string;
type: string;
index: number;
}
export interface N8nWorkflowSettings {
executionOrder?: string;
errorWorkflow?: string;
saveExecutionProgress?: boolean;
saveManualExecutions?: boolean;
timezone?: string;
}
export interface N8nWorkflowMeta {
instanceId?: string;
}
export interface SuperCodeNode extends N8nNode {
type: '@kenkaiii/n8n-nodes-supercode.superCodeNodeVmSafe';
parameters: {
code: string;
mode: 'runOnceForAllItems' | 'runOnceForEachItem';
inputItems?: any[];
options?: {
continueOnFail?: boolean;
executeOnce?: boolean;
};
};
}
export declare const SUPER_CODE_GLOBAL_LIBRARIES: string[];
export declare function createSuperCodeNode(name: string, code: string, position: [number, number], mode?: 'runOnceForAllItems' | 'runOnceForEachItem'): SuperCodeNode;
export declare function generateNodeId(): string;
export declare function validateSuperCodeNode(node: N8nNode): {
valid: boolean;
errors: string[];
};
//# sourceMappingURL=n8n-types.d.ts.map