import { useQuery } from "@tanstack/react-query";
import { QUERY_KEYS } from "@/utils/query-key";
import { getVariantComparisonReport } from "./_requests";
import { VariantComparisonFilters } from "./_models";

export const useVariantComparisonReport = (filters?: VariantComparisonFilters) => {
  return useQuery({
    queryKey: [QUERY_KEYS.GET_VARIANT_COMPARISON_REPORT, filters],
    queryFn: () => getVariantComparisonReport(filters),
  });
};
