n8n
Version:
n8n Workflow Automation Tool
13 lines (12 loc) • 474 B
TypeScript
import type { User } from '@n8n/db';
import { WorkflowFinderService } from '../../workflows/workflow-finder.service';
export interface AttachableWorkflow {
name: string;
active: boolean;
triggerType: string;
}
export declare class AttachableWorkflowsService {
private readonly workflowFinderService;
constructor(workflowFinderService: WorkflowFinderService);
list(user: User, projectId: string, searchTerm?: string): Promise<AttachableWorkflow[]>;
}