cc-everywhere

shared/src/types/Asset.types

Enumerations

Enumeration
Description
AssetType
File format supported for design operations
AssetDataType
-
SizeUnit
-
ImageFileType
-
VideoFileType
-
PdfFileType
-
SubFileType
-

Interfaces

Interface
Description
Blob
Custom interface that represents a Blob object. Should be used instead of default Blob type.
DataTypeMap
Represents a mapping of data types for assets.
AssetBase
Base interface for all asset types.
Size
-
PixelSize
-
OutputAsset
Information related to output asset.

Type Aliases

Type Alias
Description
ImageModuleFileTypes
-
FileType
-
Base64Asset
Represents an Asset object containing Base64 encoded data.
UrlAsset
Represents an Asset object containing video data within a presigned URL.
BlobAsset
Represents an Asset object containing blob/file data.
Asset
Asset interface used as an input data for all SDK workflows.
AspectRatio
-
ImageDimensions
Represents the dimensions of an image. It takes the size of the image in pixels along with the aspect ratio.
ProcessedImageDimensions
Represents the processed image dimensions. It includes the size of the image in pixels along with the aspect ratio. It would have computed the aspect ratio value if it was provided as a number in ImageDimensions by bucketing it into one of the predefined aspect ratios.

Variables

Variable
Description
ImageModuleFileTypes
-
FileType
-