Taos API Reference
    Preparing search index...

    Class PackCatalog

    Read-only queries over a CatalogDoc: pack lookup, asset→pack mapping, label expansion, dependency ordering, and variant selection.

    Index

    Constructors

    Properties

    Methods

    • The id of the pack that owns asset key, or undefined.

      Parameters

      • key: string

      Returns string | undefined

    • Distinct pack ids that contain any asset tagged label.

      Parameters

      • label: string

      Returns string[]

    • The choose-by-profile URL for a pack: the variant whose profile matches profileName, else the default url.

      Parameters

      • id: string
      • OptionalprofileName: string

      Returns string

    • Dependency closure of id in load order (dependencies first, id last). Throws on a missing dependency or a dependency cycle.

      Parameters

      • id: string

      Returns string[]