UNPKG

n8n

Version:

n8n Workflow Automation Tool

8 lines (7 loc) 372 B
import { DataSource, Repository } from '@n8n/typeorm'; import { AgentFile } from '../entities/agent-file.entity'; export declare class AgentFileRepository extends Repository<AgentFile> { constructor(dataSource: DataSource); findByAgentId(agentId: string): Promise<AgentFile[]>; findByIdAndAgentId(fileId: string, agentId: string): Promise<AgentFile | null>; }