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<"item"> = {
  filterType: "item" // must match the FilterType
  term: "water"
}
Value(s):










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