UNPKG

n8n

Version:

n8n Workflow Automation Tool

16 lines (15 loc) 842 B
import { PaginationDto, WorkflowHistoryVersionsByIdsDto } from '@n8n/api-types'; import { WorkflowHistoryRequest } from '../../requests'; import { WorkflowHistoryService } from './workflow-history.service'; export declare class WorkflowHistoryController { private readonly historyService; constructor(historyService: WorkflowHistoryService); getList(req: WorkflowHistoryRequest.GetList, _res: Response, query: PaginationDto): Promise<Omit<import("@n8n/db").WorkflowHistory, "nodes" | "connections">[]>; getVersion(req: WorkflowHistoryRequest.GetVersion): Promise<import("@n8n/db").WorkflowHistory>; getVersionsByIds(req: WorkflowHistoryRequest.GetList, _res: Response, body: WorkflowHistoryVersionsByIdsDto): Promise<{ versions: { versionId: string; createdAt: Date; }[]; }>; }