import { FilterTypes } from './filter-types';

export interface IFilterOption {
  field: string;
  display: string;
  type: FilterTypes;
  items?: string;
  itemsDisplayField?: string;
  itemsDisplaySecondaryField?: string;
  itemsFilter?: {
    [field: string]: any;
  };
  itemsWithoutRelatedRecord?: boolean;
  hideExclude?: boolean;
  feature?: string;
  resetQueryParams?: Record<string, any>; // dict containing the key to reset and it's value
  allowSearch?: boolean;
}
