TinyMCE MultiCloud Plugin - v0.1.1
    Preparing search index...

    Interface CloudItem

    Represents a single file or folder item returned by a cloud provider picker or upload operation.

    Salvatore Callari Callari@WaXCode.net

    interface CloudItem {
        downloadUrl?: string;
        embedUrl?: string;
        id: string;
        mimeType?: string;
        name: string;
        thumbnailUrl?: string;
        type?: "file" | "folder";
        url: string;
    }
    Index

    Properties

    downloadUrl?: string

    Direct binary download URL, used for <audio> and <video> elements so the browser can stream the file natively.

    embedUrl?: string

    URL used when inserting an embedded viewer iframe (e.g. a Google Drive preview URL or an Office Online embed URL).

    id: string

    Unique identifier for the item within the provider's system.

    mimeType?: string

    MIME type of the item, e.g. "image/png" or "application/pdf". May be undefined when the provider does not supply it.

    name: string

    Display name of the file or folder.

    thumbnailUrl?: string

    URL of a thumbnail preview image for the item, if available.

    type?: "file" | "folder"

    Whether this item is a file or a folder. Omitted when not applicable.

    url: string

    Canonical URL used when inserting a link or image. For raster images this is typically a direct-content URL; for documents it may be a viewer URL.