Beignet API reference
    Preparing search index...

    Type Alias ContractInfiniteQueryOptionsResult<TContract, TPageParam, TData>

    ContractInfiniteQueryOptionsResult: ContractInfiniteQueryOptionsBase<
        TContract,
        TPageParam,
        TData,
    > & {
        queryFn: QueryFunction<
            InferSuccessResponse<TContract>,
            QueryKey,
            TPageParam,
        >;
        queryKey: QueryKey;
    }

    Infinite query options returned by ReactQueryContractHelper.infiniteQueryOptions(...).

    TData defaults to InfiniteData of the raw contract response, so useInfiniteQuery(...).data.pages is typed per page, and narrows when the call passes select.

    Type Parameters