Respond to PR comments.

This commit is contained in:
Sam Rose 2024-10-22 10:35:09 +01:00
parent 50c3f2c9fc
commit 2cd3ab6627
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@ import * as Constants from "./constants"
import { removeKeyNumbering, splitFiltersArray } from "./filters"
import _ from "lodash"
const FILTER_ALLOWED_KEYS = [
const FILTER_ALLOWED_KEYS: (keyof SearchFilter)[] = [
"field",
"operator",
"value",

View File

@ -30,6 +30,8 @@ export type SearchFilter = {
type?: FieldType
externalType?: string
noValue?: boolean
valueType?: string
formulaType?: string
}
// Prior to v2, this is the type the frontend sent us when filters were