Member Junction
    Preparing search index...

    Blob operations an attachment needs, behind a seam so attachment policy does not depend on any particular storage implementation — or on there being one.

    Implementations are responsible for the MJ: Files record alongside the bytes, because the two must not diverge: a catalog row without content, or content without a row, is worse than a failed upload.

    Implements

    Index

    Constructors

    Methods

    • Mints a permission-gated, time-limited URL for a stored file.

      Goes through CreateMediaAccessToken rather than CreatePreAuthDownloadUrl: the latter is keyed by storage account + object name, so using it would mean the client resolving storage internals it has no business knowing. The media route is keyed by MJ: Files id, checks the caller's permissions server-side, and Range-streams — it is the same path mj-storage-media-player already uses, so this adds a caller rather than a second mechanism.

      This is what makes the write path readable. Explorer only started producing storage-backed attachments when this seam was bound; without a URL here, every attachment over the inline threshold would upload successfully and then be permanently undisplayable.

      Parameters

      Returns Promise<string | null>