add regex operators
This commit is contained in:
1 parent
67626652f9
commit
f2cf071523
59 files changed
+136
-2
No files matched your search
+6
-1
@@ -31,7 +31,12 @@ export function isEqualsOperator(operator: any) {
|
||||
}
|
||||
|
||||
export function isSearchOperator(operator: any) {
|
||||
return [OPERATORS.contains, OPERATORS.doesNotContain].includes(operator);
|
||||
return [
|
||||
OPERATORS.contains,
|
||||
OPERATORS.doesNotContain,
|
||||
OPERATORS.regex,
|
||||
OPERATORS.notRegex,
|
||||
].includes(operator);
|
||||
}
|
||||
|
||||
export function filtersObjectToArray(filters: QueryFilters, options: QueryOptions = {}): Filter[] {
|
||||
|
||||
Reference in new issue
Block a user