mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 11:06:02 +00:00
structured filter type => filterBehaviour
This commit is contained in:
4
packages/types/engines.d.ts
vendored
4
packages/types/engines.d.ts
vendored
@@ -3,7 +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';
|
||||
import { FilterBehaviour } from './filter-type';
|
||||
|
||||
export interface StreamOptions {
|
||||
recordset: (columns) => void;
|
||||
@@ -154,7 +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;
|
||||
getFilterType(dataType: string): FilterBehaviour;
|
||||
|
||||
analyserClass?: any;
|
||||
dumperClass?: any;
|
||||
|
||||
2
packages/types/filter-type.d.ts
vendored
2
packages/types/filter-type.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
export type FilterParserCompilerType = 'sqlTree' | 'mongoCondition' | 'datetime';
|
||||
|
||||
export interface StructuredFilterType {
|
||||
export interface FilterBehaviour {
|
||||
compilerType: FilterParserCompilerType;
|
||||
|
||||
supportEquals?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user