database connections

This commit is contained in:
Jan Prochazka
2020-05-01 17:38:25 +02:00
parent 3e07c2b76e
commit 7d36ddbc04
11 changed files with 173 additions and 39 deletions

View File

@@ -1,10 +1,15 @@
import { ChildProcess } from "child_process";
import { DatabaseInfo } from "./dbinfo";
import { ChildProcess } from 'child_process';
import { DatabaseInfo } from './dbinfo';
export interface OpenedDatabaseConnection {
conid: string;
database: string;
structure: DatabaseInfo;
subprocess: ChildProcess;
disconnected?: boolean;
status?: {
name: string;
message?: string;
};
}
export interface OpenedSession {
@@ -23,9 +28,9 @@ export interface StoredConnection {
displayName: string;
}
export * from "./engines";
export * from "./dbinfo";
export * from "./query";
export * from "./dialect";
export * from "./dumper";
export * from "./dbtypes";
export * from './engines';
export * from './dbinfo';
export * from './query';
export * from './dialect';
export * from './dumper';
export * from './dbtypes';