Member Junction
    Preparing search index...

    Service for determining which icon to display for artifacts. Implements a three-tier fallback strategy:

    1. Plugin-provided icon (from artifact viewer plugin metadata)
    2. Database metadata icon (from ArtifactType.Icon field)
    3. Hardcoded type-based mapping (legacy fallback)
    Index

    Constructors

    Methods

    • Replaces known Font Awesome Pro-only / invalid icon tokens with Font Awesome Free icons so artifacts always display a visible glyph even before metadata is re-synced to the DB.

      Parameters

      • icon: string

      Returns string