Type Alias UseInfiniteQueryProps<TData, TQueryKey, TVariables>

UseInfiniteQueryProps<TData, TQueryKey, TVariables>: Partial<Omit<UseInfiniteQueryOptions<TData, Error, InfiniteData<TData>, TData, TQueryKey>, "queryKey" | "queryFn">> & {
    queryFn?: ((data: {
        apiClient: ApiClient;
        apiUrl: string;
        url: string;
        variables: TVariables;
    }) => Promise<QueryResponse> | QueryResponse);
    queryKey?: any[];
}

Type Parameters

  • TData extends QueryResponse
  • TQueryKey extends any[]
  • TVariables extends object