n8n
Version:
n8n Workflow Automation Tool
12 lines (11 loc) • 793 B
TypeScript
import { WorkflowHistoryRequest } from '../../requests';
import { WorkflowHistoryService } from './workflowHistory.service.ee';
import { Request, Response, NextFunction } from 'express';
export declare class WorkflowHistoryController {
private readonly historyService;
constructor(historyService: WorkflowHistoryService);
workflowHistoryLicense(_req: Request, res: Response, next: NextFunction): void;
workflowHistoryEnabled(_req: Request, res: Response, next: NextFunction): void;
getList(req: WorkflowHistoryRequest.GetList): Promise<Omit<import("../../databases/entities/WorkflowHistory").WorkflowHistory, "nodes" | "connections">[]>;
getVersion(req: WorkflowHistoryRequest.GetVersion): Promise<import("../../databases/entities/WorkflowHistory").WorkflowHistory>;
}