import { inject } from '@angular/core';
import { ResolveFn } from '@angular/router';
import {
  CatalougeSearchService,
  QuerySettings,
} from '@isa/catalogue/data-access';

export const querySettingsResolverFn: ResolveFn<QuerySettings> = () =>
  inject(CatalougeSearchService).fetchLoyaltyQuerySettings();
