Beignet API reference
    Preparing search index...

    Type Alias ContractUseQueryOptions<TContract, TProvidedHeaders>

    ContractUseQueryOptions: EndpointQueryArgs<TContract, TProvidedHeaders> & {
        key?: readonly unknown[];
    } & ContractQueryOptionsBase<TContract>

    Options accepted by ReactQueryContractHelper.queryOptions(...).

    TanStack queryKey and queryFn are generated from the contract. Pass key to override the generated query key while keeping the generated query function.

    Type Parameters