Filter
Generic filter used with various search functions.
Filter<T extends FilterType>
FilterType is constrained to
Filter<"item">
IContentFilterDefinitionFilter<"user">
IUserFilterDefinitionFilter<"group">
IGroupFilterDefinition
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