n8n
Version:
n8n Workflow Automation Tool
11 lines (10 loc) • 543 B
TypeScript
import type { EntityManager } from '@n8n/typeorm';
import { DataSource, Repository } from '@n8n/typeorm';
import { TagEntity } from '../entities/TagEntity';
import type { WorkflowEntity } from '../entities/WorkflowEntity';
export declare class TagRepository extends Repository<TagEntity> {
constructor(dataSource: DataSource);
findMany(tagIds: string[]): Promise<TagEntity[]>;
setTags(tx: EntityManager, dbTags: TagEntity[], workflow: WorkflowEntity): Promise<void>;
getWorkflowIdsViaTags(tags: string[]): Promise<string[]>;
}