UNPKG

n8n

Version:

n8n Workflow Automation Tool

11 lines (10 loc) 528 B
import type { EntityManager } from '@n8n/typeorm'; import { DataSource, Repository } from '@n8n/typeorm'; import type { IWorkflowDb } from '../../interfaces'; import { TagEntity } from '../entities/tag-entity'; export declare class TagRepository extends Repository<TagEntity> { constructor(dataSource: DataSource); findMany(tagIds: string[]): Promise<TagEntity[]>; setTags(tx: EntityManager, dbTags: TagEntity[], workflow: IWorkflowDb): Promise<void>; getWorkflowIdsViaTags(tags: string[]): Promise<string[]>; }