mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 03:16:01 +00:00
32 lines
653 B
TypeScript
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";
|