GitHub

DaffFilterRangeBase

A base type for a range-style filter where there is a continuous distribution that can be selected from. E.g. numbers from 0 through 100, letters from "a" through "z", or dates from "1970-01-01" through "1971-01-01".

Note that this is the generic base allowing for stricter type implementations.

interface DaffFilterRangeBase<T> {
  min: T
  max: T
  options: Record<string, DaffFilterRangePair<T>>
}

Properties

Name Type Description
min T The minimum value for the filter range.
max T The maximum value for the filter range.
options Record<string, DaffFilterRangePair<T>> A dictionary of filter range options.