mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 20:35:59 +00:00
filter type refactor WIP
This commit is contained in:
18
packages/types/filter-type.d.ts
vendored
Normal file
18
packages/types/filter-type.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
export type FilterParserCompilerType = 'sqlTree' | 'mongoCondition';
|
||||
|
||||
export interface StructuredFilterType {
|
||||
compilerType: FilterParserCompilerType;
|
||||
|
||||
supportEquals?: boolean;
|
||||
supportStringInclusion?: boolean;
|
||||
supportEmpty?: boolean;
|
||||
supportNumberLikeComparison?: boolean;
|
||||
supportDatetimeComparison?: boolean;
|
||||
supportDatetimeSymbols?: boolean;
|
||||
supportNullTesting?: boolean;
|
||||
supportExistsTesting?: boolean;
|
||||
supportBooleanValues?: boolean;
|
||||
supportSqlCondition?: boolean;
|
||||
|
||||
// allowedOperators: Array<{ value: string; label: string }>;
|
||||
}
|
||||
1
packages/types/index.d.ts
vendored
1
packages/types/index.d.ts
vendored
@@ -47,3 +47,4 @@ export * from './dbtypes';
|
||||
export * from './extensions';
|
||||
export * from './alter-processor';
|
||||
export * from './appdefs';
|
||||
export * from './filter-type';
|
||||
|
||||
Reference in New Issue
Block a user