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

    Function model

    • Collects entry shapes and their dependencies.

      A shape depends on the shapes it extends and on the shapes its properties link to or embed, directly or through other shapes. Dependencies include the targets of foreign properties and the resource alternatives of unions, so the listing covers the whole connected model.

      Each shape is listed once, even where shapes link to each other in a cycle. The entry shapes come first, in the order given, followed by their dependencies, nearest first. Shapes at the same distance follow the order of the shapes reaching them, each contributing its parents before its property targets, in declaration order.

      Parameters

      Returns readonly ResourceShape[]

      The entry shapes followed by their dependencies; empty if shapes is empty