Marmot-TS
    Preparing search index...

    The minimal implementation of a group media store

    interface BaseGroupMedia {
        addMedia(sha256: string, entry: StoredMedia): Promise<void>;
        clearMedia(): Promise<void>;
        getMedia(sha256: string): Promise<StoredMedia | null>;
        listMedia(): Promise<MediaAttachment[]>;
        removeMedia(sha256: string): Promise<void>;
    }

    Implemented by

    Index
    • Removes a media entry from the group media store

      Parameters

      • sha256: string

      Returns Promise<void>