UNPKG

n8n

Version:

n8n Workflow Automation Tool

14 lines (13 loc) 742 B
import { Request, Response, NextFunction } from 'express'; import { TagService } from '../services/tag.service'; import { TagsRequest } from '../requests'; export declare class TagsController { private readonly tagService; private config; constructor(tagService: TagService); workflowsEnabledMiddleware(_req: Request, _res: Response, next: NextFunction): void; getAll(req: TagsRequest.GetAll): Promise<import("../databases/entities/TagEntity").TagEntity[]>; createTag(req: TagsRequest.Create): Promise<import("../databases/entities/TagEntity").TagEntity>; updateTag(req: TagsRequest.Update): Promise<import("../databases/entities/TagEntity").TagEntity>; deleteTag(req: TagsRequest.Delete): Promise<boolean>; }