Spaces:
Running
Running
| import { Agent } from './agent.entity'; | |
| export declare enum DbType { | |
| POSTGRES = "postgres", | |
| MYSQL = "mysql", | |
| MSSQL = "mssql" | |
| } | |
| export declare class DbConnection { | |
| id: string; | |
| agent_id: string; | |
| label: string; | |
| db_type: string; | |
| connection_string_encrypted: string; | |
| schema_cache: Record<string, any>; | |
| schema_cached_at: Date; | |
| allowed_tables: { | |
| tables: string[]; | |
| columns: Record<string, string[]>; | |
| } | null; | |
| is_active: boolean; | |
| created_at: Date; | |
| updated_at: Date; | |
| agent: Agent; | |
| } | |