Metreeca Keep
    Preparing search index...

    Type Alias Lookup<T>

    Resource retrieval request.

    Carries a single resource (entry of shape), the model against which to materialise it, and the locale priority driving language negotiation for its localised content (§6.2). Resolves to the materialised resource.

    type Lookup<T extends Template = Template> = {
        entry: Reference;
        shape: Lazy<ResourceShape>;
        model: T;
        locale: readonly Tag[];
    }

    Type Parameters

    • T extends Template = Template

      The resource model selecting the result shape

    Index

    Properties

    Properties

    Readonlyentry

    entry: Reference
    shape: Lazy<ResourceShape>
    model: T
    locale: readonly Tag[]