mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 02:13:57 +00:00
frontend - removed references to dbgate-engines
This commit is contained in:
1
packages/types/engines.d.ts
vendored
1
packages/types/engines.d.ts
vendored
@@ -20,6 +20,7 @@ export interface WriteTableOptions {
|
||||
|
||||
export interface EngineDriver {
|
||||
engine: string;
|
||||
title: string;
|
||||
connect(nativeModules, { server, port, user, password, database }): any;
|
||||
query(pool: any, sql: string): Promise<QueryResult>;
|
||||
stream(pool: any, sql: string, options: StreamOptions);
|
||||
|
||||
3
packages/types/extensions.d.ts
vendored
3
packages/types/extensions.d.ts
vendored
@@ -1,3 +1,5 @@
|
||||
import { EngineDriver } from "./engines";
|
||||
|
||||
export interface FileFormatDefinition {
|
||||
storageType: string;
|
||||
extension: string;
|
||||
@@ -27,4 +29,5 @@ export interface PluginDefinition {
|
||||
export interface ExtensionsDirectory {
|
||||
plugins: PluginDefinition[];
|
||||
fileFormats: FileFormatDefinition[];
|
||||
drivers: EngineDriver[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user