Riksdagsmonitor Intelligence Platform - v0.7.19
    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": "ES2022") and the Node ≥24 runtime requirement (engines.node).

      Parameters

      • type: string

        ArticleType identifier

      Returns ArticleTemplate

      ArticleTemplate configuration object