import { inject } from '@angular/core';
import { ResolveFn } from '@angular/router';
import { QuerySettingsDTO } from '@generated/swagger/oms-api';
import { ReturnSearchService } from '@isa/oms/data-access';

export const querySettingsResolverFn: ResolveFn<QuerySettingsDTO> = () =>
  inject(ReturnSearchService).querySettings();
