UNPKG

n8n-nodes-selfhosthub

Version:

Collection of n8n nodes for self-hosted AI services, including Leonardo.ai integration for AI image and content generation capabilities.

35 lines (34 loc) 975 B
import { IExecuteFunctions } from 'n8n-workflow'; import { ExportConfig } from '../schema/schema'; /** * Collected parameters from n8n node for request building */ export interface CollectedParameters { recordId?: string; elements?: any[]; subtitles?: any; outputSettings?: any; exportConfigs?: ExportConfig[]; jsonTemplate?: string; isAdvancedMode?: boolean; movieSettings?: { id?: string; comment?: string; variables?: any; cache?: boolean; draft?: boolean; clientData?: any; resolution?: string; }; } /** * Collect all parameters from n8n execution context */ export declare function collectParameters(this: IExecuteFunctions, itemIndex: number): CollectedParameters; /** * Validate collected parameters for completeness and correctness */ export declare function validateCollectedParameters(collected: CollectedParameters): { isValid: boolean; errors: string[]; };