Member Junction
    Preparing search index...

    Service for fetching pre-authenticated download URLs for file-mode artifact versions.

    URLs are cached in a bounded LRU-style Map (evicts oldest entry once the cap is reached) to avoid repeated round-trips for the same version within a session.

    Index

    Constructors

    Methods

    • Converts a base64 data URL (data:mime;base64,...) to an ArrayBuffer. Used by viewers to handle inline artifact content (ContentMode='Text').

      Parameters

      • dataUrl: string

      Returns ArrayBuffer

    • Converts a base64 data URL to an object URL suitable for download/display. Used by viewers to create downloadable links for inline artifacts.

      Parameters

      • dataUrl: string
      • mimeType: string

      Returns string

    • Returns a pre-authenticated download URL for the given artifact version. Results are cached; pass forceRefresh=true to bypass the cache.

      Parameters

      • artifactVersionId: string
      • forceRefresh: boolean = false

      Returns Promise<string>