Representation of an Asset in a specific format, for example a video in a certain encoding, or an image in a certain resolution.

interface AssetSource {
    contentType?: string;
    dimensions?: AssetDimensions;
    key?: string;
    uri: string;
}

Properties

contentType?: string

Indicates the type of content, for example application/pdf.

dimensions?: AssetDimensions

Width and height of the AssetSource.

key?: string

User-defined unique identifier of the AssetSource.

uri: string

URI of the AssetSource.

Generated using TypeDoc