EU Parliament Monitor — API Documentation - v0.8.49
    Preparing search index...
    • Pick an icon for a daily run based on its slug prefix.

      Unlike pickDocumentIcon, this matches by startsWith (not includes) — runs are named with a canonical prefix per article type, so prefix-matching is precise enough and avoids false positives from words appearing inside run-id suffixes.

      Parameters

      • slug: string

        Run slug such as breaking-run190 or motions-run46

      Returns string

      A single emoji character (or grapheme cluster for ZWJ-joined emoji)