GitHub

DaffFilterRangeRequestBase

The base interface for range requests. Range requests have a name and a single defining the min and max values between which to filter.

import { DaffFilterRangeRequestBase } from '@daffodil/core'
interface DaffFilterRangeRequestBase<T> {
  type: DaffFilterType
  name: string
  value: DaffFilterRangeRequestOption<T>
}

Properties

Name Type Description
type DaffFilterType

The type of filter.

name string

The name/code of the filter; e.g. price.

value DaffFilterRangeRequestOption<T>

The value of the filter range.