Member Junction
    Preparing search index...

    Service for managing conversation attachments. Handles validation, storage, thumbnails, and CRUD operations.

    Index

    Constructors

    Accessors

    Methods

    • Downloads a stored file's content as base64.

      Returns base64 rather than a Buffer so this service stays runtime-neutral — Buffer is a Node global, and its presence in a shared signature is what made this class server-only. Callers that genuinely need bytes convert at their own boundary.

      Parameters

      • fileId: string

        The MJ: Files record id

      • contextUser: UserInfo

        The current user context

      • Optionalprovider: IMetadataProvider

        Optional per-request metadata provider for server isolation

      Returns Promise<string>

      Base64 content, or null when unavailable or no blob store is bound