Respond to PR comments.
This commit is contained in:
parent
50c3f2c9fc
commit
2cd3ab6627
|
@ -12,7 +12,7 @@ import * as Constants from "./constants"
|
||||||
import { removeKeyNumbering, splitFiltersArray } from "./filters"
|
import { removeKeyNumbering, splitFiltersArray } from "./filters"
|
||||||
import _ from "lodash"
|
import _ from "lodash"
|
||||||
|
|
||||||
const FILTER_ALLOWED_KEYS = [
|
const FILTER_ALLOWED_KEYS: (keyof SearchFilter)[] = [
|
||||||
"field",
|
"field",
|
||||||
"operator",
|
"operator",
|
||||||
"value",
|
"value",
|
||||||
|
|
|
@ -30,6 +30,8 @@ export type SearchFilter = {
|
||||||
type?: FieldType
|
type?: FieldType
|
||||||
externalType?: string
|
externalType?: string
|
||||||
noValue?: boolean
|
noValue?: boolean
|
||||||
|
valueType?: string
|
||||||
|
formulaType?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prior to v2, this is the type the frontend sent us when filters were
|
// Prior to v2, this is the type the frontend sent us when filters were
|
||||||
|
|
Loading…
Reference in New Issue