Riksdagsmonitor Intelligence Platform โ€” API Documentation - v0.8.54
    Preparing search index...
    • Retrieve the full template configuration for a given article type. Falls back to the breaking template for unknown types โ€” this means any unrecognised type string will receive the compact, urgency-focused breaking-news layout rather than an error, ensuring graceful degradation across all content generation pipelines.

      Uses Object.hasOwn() (ES2022+) for prototype-pollution safety. This is compatible with the project's tsconfig.scripts.json target ("target": "ES2025") and the Node โ‰ฅ25 runtime requirement (engines.node).

      Parameters

      • type: string

        ArticleType identifier

      Returns ArticleTemplate

      ArticleTemplate configuration object