import { InjectionToken } from '@angular/core';
import { QuerySettings } from '../types';
import { FilterService } from './filter.service';

export const QUERY_SETTINGS = new InjectionToken<QuerySettings>('Filter.QuerySettings');

export const FILTER_ON_INIT = new InjectionToken<
  Array<(filterService: FilterService) => () => void>
>('Filter.OnInit');

export const FILTER_ON_COMMIT = new InjectionToken<
  Array<(filterService: FilterService) => () => void>
>('Filter.OnCommit');
