import { ISearchConfig } from './search-config';
import { ISubheaderConfig } from './subheader-config';
import { IOrderingConfig } from './ordering-config';
import { IFilterConfig } from './filter-config';
import { ActivatedRouteSnapshot } from '@angular/router';

export interface IRouteConfig {
  search?: ISearchConfig;
  ordering?: IOrderingConfig;
  filterConfig?: IFilterConfig;
  subheader?: ISubheaderConfig;
  defaultDisplayList?: boolean;
  feature?: string;
  removeWidthLimit?: boolean;
  getTitleDisplay?(data): string;
  getBreadCrumbDetail?(data): string;
  getBreadCrumbQueryParams?(snapshot: ActivatedRouteSnapshot): { [key: string]: any };
}
