EU Parliament Monitor — API Documentation - v1.0.11
    Preparing search index...

    One resolved per-language brief highlight.

    headline and summary follow the same semantics as extractArtifactHighlight in article-metadata.ts — either may be empty when the localized brief lacks the relevant section.

    sourceFile is the run-relative path to the file that produced the highlight; downstream callers can record this when populating manifest.metadataFallback so editors can later audit which locales fell through to English.

    sourceLang matches the language code of the brief that produced the highlight (always equal to the requested language for a successful lookup; the caller infers "en" fallback when this module returns null).

    interface LocalizedBriefHighlight {
        headline: string;
        summary: string;
        extendedSummary: string;
        sourceFile: string;
        sourceLang: LanguageCode;
    }
    Index

    Properties

    headline: string
    summary: string
    extendedSummary: string

    Longer (up to ~300 chars) summary lifted from the same brief BLUF paragraph as summary, used for og:description and twitter:description. Empty string when the BLUF is short enough that the regular summary already captures it — see truncateExtendedDescription for the cutoff. The caller should fall back to summary when this field is empty.

    sourceFile: string
    sourceLang: LanguageCode