@metreeca/blue - v0.9.1
    Preparing search index...

    Interface ReferenceShape

    Shape definition for resource references.

    interface ReferenceShape {
        kind: "reference";
        model: string;
        backlink?: boolean;
        shape: Lazy<ResourceShape>;
    }
    Index

    Properties

    kind: "reference"

    Discriminator identifying this as a reference shape.

    model: string

    Prototype value for runtime model assembly.

    "/"

    backlink?: boolean

    Marks the reference as a reverse link managed by the target resource.

    Backlinks are read-only from the source resource perspective: included in responses but rejected in state updates and patches. The forward link is owned by the target resource, not by the source resource declaring the backlink.

    undefined (false)

    Target resource shape for the referenced resource.

    Accepts a lazy value to support circular and self-referential definitions.