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 { 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",

View File

@ -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