File size: 554 Bytes
d714fad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
}