UNPKG

n8n

Version:

n8n Workflow Automation Tool

19 lines (18 loc) 627 B
import type { ToolDescriptor } from '@n8n/agents'; import { type AgentJsonConfig, type AgentSkill } from '@n8n/api-types'; import { WithTimestamps } from '@n8n/db'; import { type Relation } from '@n8n/typeorm'; import type { Agent } from './agent.entity'; export declare class AgentHistory extends WithTimestamps { versionId: string; agentId: string; agent: Relation<Agent>; schema: AgentJsonConfig | null; tools: Record<string, { code: string; descriptor: ToolDescriptor; }> | null; skills: Record<string, AgentSkill> | null; publishedById: string | null; author: string; }