@salesforce/packaging
    Preparing search index...

    A class that represents the package ancestry graph. Given a package Id (0Ho) or a package version Id (04t), it will build a graph of the package's ancestors.

    Hierarchy

    Index
    • Returns the internal representation of the requested package ancestry graph.

      Returns DirectedGraph

    • Returns a list of ancestry nodes that represent the path from subscriber package version id to the root of the package ancestry tree.

      Parameters

      • OptionalsubscriberPackageVersionId: string

      Returns PackageAncestryNode[][]

    • Asynchronously initializes newly constructed instances of a concrete subclass.

      Returns Promise<void>