AniLink - v3.0.0
    Preparing search index...

    Interface CacheEntry<T>

    A single cached response entry.

    interface CacheEntry<T> {
        data: T;
        expiresAt: number;
        rootField?: string;
    }

    Type Parameters

    • T
    Index
    data: T

    The cached response body.

    expiresAt: number

    The epoch millisecond at which the entry expires.

    rootField?: string

    The GraphQL document's single selected root field, for GraphQL query POST entries, the scoping key for root-field invalidation (see deleteRootFieldsForUrl). undefined for GET entries and for documents whose root field could not be attributed (a fragment-spread root, a multi-field selection); such entries are dropped by every scoped invalidation, fail-closed.