Files
dbgate/packages/types/index.d.ts
2020-04-05 20:48:04 +02:00

32 lines
653 B
TypeScript

import { ChildProcess } from "child_process";
import { DatabaseInfo } from "./dbinfo";
export interface OpenedDatabaseConnection {
conid: string;
database: string;
structure: DatabaseInfo;
subprocess: ChildProcess;
}
export interface OpenedSession {
sesid: string;
conid: string;
database: string;
subprocess: ChildProcess;
}
export interface StoredConnection {
engine: string;
server: string;
port?: number;
user: string;
password: string;
displayName: string;
}
export * from "./engines";
export * from "./dbinfo";
export * from "./query";
export * from "./dialect";
export * from "./dumper";
export * from "./dbtypes";