Generic filter definition.
A FilterConfig<T> declares one filterable dimension for a list of items:
FilterConfig<T>
key
label
predicate
true
Designed to be generic so the same hook drives both client and case filters without modification .
Returns true if item satisfies the filter given the current value.
item
value
Generic filter definition.
A
FilterConfig<T>declares one filterable dimension for a list of items:key- unique identifier (used as React key and for state updates)label- human-readable name shown in the UIpredicate- pure function that returnstruewhen item passes filterDesigned to be generic so the same hook drives both client and case filters without modification .