EU Parliament Monitor — API Documentation - v0.9.25
    Preparing search index...
    • Resolve the active needle list for a section family + target language. Returns the English base list unioned with the locale-specific entries from the supplied map. Order is preserved (base first, locale-specific second) so deterministic match order is maintained.

      Parameters

      • map: Readonly<Record<LanguageCode, readonly string[]>>

        Per-language needle dictionary

      • baseEnglish: readonly string[]

        The English needle list from the parent module

      • lang: LanguageCode

        Target language code (defaults to 'en')

      Returns readonly string[]

      Combined needle list to pass to headingMatches