Filter

Type alias

Generic filter used with various search functions.

Filter<T extends FilterType> FilterType is constrained to

When constructing a Filter as json, the filterType must be specified, and it must be keyof FilterTypeMap

const f:Filter<"content"> = {
  filterType: "content" // must match the FilterType
  term: "water"
}
Value(s):










Type alias defined in common/src/search/types.ts:24