Beignet API reference
    Preparing search index...

    Type Alias UpdateCachedQueriesOptions<TContract, TProvidedHeaders>

    Update existing entries immutably. Returning undefined leaves an entry alone.

    type UpdateCachedQueriesOptions<
        TContract extends HttpContractConfig,
        TProvidedHeaders extends string = never,
    > = {
        match?: ContractQueryKeyParams<TContract, TProvidedHeaders>;
        update(
            entry: ContractCacheEntry<TContract>,
        ): InferSuccessResponse<TContract> | undefined;
    }

    Type Parameters

    Index