EU Parliament Monitor — API Documentation - v0.8.49
    Preparing search index...
    • Heuristically pick an icon for an analysis document/slug. The icons are chosen to visually differentiate the most common artifact types without depending on a heavy icon library.

      Rules are evaluated in declaration order — first match wins. To add a new rule, add a [hints, icon] tuple at the most-specific position: e.g. intelligence-brief is matched before intelligence so the brief-specific newspaper icon (🗞️) takes precedence over the generic magnifying-glass (🔍).

      Parameters

      • stem: string

        File/directory name stem (will be lowercased internally)

      Returns string

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