@grafctory/keep
    Preparing search index...

    Type Alias Detail<T, S>

    Resource retrieval request.

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

    A virtual request materialises a resource derived from the store rather than held in it, and resolves even if entry is not stored. Its single-valued members come from whatever entry holds. Each multi-valued member the model reaches is retrieved as a virtual Select, while expanded resources are retrieved as held.

    type Detail<
        T extends Template = Template,
        S extends Lazy<ResourceShape> = Lazy<ResourceShape>,
    > = {
        virtual?: boolean;
        entry: Reference;
        shape: S;
        model: T;
        locale: readonly Tag[];
    }

    Type Parameters

    • T extends Template = Template

      The resource model selecting the members of the result

    • S extends Lazy<ResourceShape> = Lazy<ResourceShape>

      The shape describing the resource

    Index
    virtual?: boolean

    Whether the resource is derived from the store rather than held in it.

    false (held as it stands)

    Readonlyentry

    entry: Reference
    shape: S
    model: T
    locale: readonly Tag[]