Libraries
    Preparing search index...

    Type Alias InfiniteQueryHookOptions<TData, TPageParam>

    InfiniteQueryHookOptions: Omit<
        UseInfiniteQueryOptions<
            TData,
            WebError,
            InfiniteData<TData, TPageParam>,
            QueryKey,
            TPageParam,
        >,
        "queryKey" | "queryFn",
    >

    Options for useInfiniteQuery hooks. You must provide initialPageParam and getNextPageParam as required by TanStack Query. queryKey and queryFn are managed automatically.

    Type Parameters

    • TData

      The endpoint's success response type.

    • TPageParam

      The page parameter type (e.g. number).