EU Parliament Monitor — API Documentation - v0.8.53
    Preparing search index...
    • Build a HorizonProfile for the given article-type slug from the canonical import('../../config/article-horizons.js').ARTICLE_HORIZONS registry.

      horizonDays derivation:

      • forward / backwarddataWindow.days
      • span / pointforwardStatementsHorizonDays (covers election-cycle → 1825, breaking → 0, etc.)
      • When dataWindow.days is absent (e.g. point) the forwardStatementsHorizonDays fallback applies regardless of direction.

      Parameters

      • articleType: string | undefined

        Article-type slug (e.g. month-ahead, election-cycle). Legacy / unknown slugs return undefined so the manifest writer treats them as no-ops.

      Returns HorizonProfile | undefined

      The matching HorizonProfile, or undefined when the slug does not resolve to a registry entry.