refactor WIP

This commit is contained in:
Jan Prochazka
2024-08-19 10:23:02 +02:00
parent b30286cd11
commit d0fa565704
9 changed files with 81 additions and 45 deletions

View File

@@ -3,6 +3,7 @@ import { QueryResult } from './query';
import { SqlDialect } from './dialect';
import { SqlDumper } from './dumper';
import { DatabaseInfo, NamedObjectInfo, TableInfo, ViewInfo, ProcedureInfo, FunctionInfo, TriggerInfo } from './dbinfo';
import { StructuredFilterType } from './filter-type';
export interface StreamOptions {
recordset: (columns) => void;
@@ -153,6 +154,7 @@ export interface EngineDriver {
getRedirectAuthUrl(connection, options): Promise<{ url: string; sid: string }>;
getAuthTokenFromCode(connection, options): Promise<string>;
getAccessTokenFromAuth(connection, req): Promise<string | null>;
getFilterType(dataType: string): StructuredFilterType;
analyserClass?: any;
dumperClass?: any;