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

    Function backlink

    • Creates a backlink reference shape for the given target resource shape.

      Backlinks are reverse links managed by the target resource. They are read-only from the source resource perspective: included in responses but rejected in state updates and patches.

      Parameters

      • shape: Lazy<ResourceShape>

        The target resource shape, either directly or as a lazy function to support circular and self-referential definitions

      Returns ReferenceShape

      A backlink reference shape with backlink set to true

      If shape is not a valid ResourceShape