Skip to main content

Type Alias: PrepareFilterOptions()

PrepareFilterOptions: (filterList, options, selectedFilters) => Record<string, Filter>

Parameters

filterList: GlobalFilters

List of all filters configured for customer

options: OptionSetOption[]

List of available options

selectedFilters: string[]

List of currently selected filters

Returns

Record<string, Filter>

Map of possible filters