n8n
Version:
n8n Workflow Automation Tool
10 lines (9 loc) • 626 B
TypeScript
import { ListWorkflowHistoryQueryDto, WorkflowVersionHistoryListPublicDto } from '@n8n/api-types';
import type { AuthenticatedRequest } from '@n8n/db';
import type { Response } from 'express';
import { WorkflowHistoryService } from '../../../workflows/workflow-history/workflow-history.service';
export declare class WorkflowsPublicController {
private readonly workflowHistoryService;
constructor(workflowHistoryService: WorkflowHistoryService);
getWorkflowHistory(req: AuthenticatedRequest, _res: Response, workflowId: string, query: ListWorkflowHistoryQueryDto): Promise<WorkflowVersionHistoryListPublicDto>;
}