openmixer — generated API reference
    Preparing search index...

    Function resolveTemplate

    • Resolve a concrete path against a set of templates — the most LITERAL match wins.

      So a future /channel/main/{index}/mute beats the generic /channel/{kind}/{index}/mute without either declaration knowing about the other. Equally-specific overlaps are NOT settled here — they are an ambiguity a conformance test asserts is empty, because settling them by registration order is settling them by luck.

      Parameters

      • templates: Iterable<string>
      • segments: readonly string[]

      Returns TemplateMatch | undefined