genstudio-extensibility-sdk

@adobe/genstudio-extensibility-sdk


@adobe/genstudio-extensibility-sdk / Asset

Type Alias: Asset

Asset: { additionalMetadata: Record<string, any>; extensionInfo: ExtensionInfo; externalAssetInfo: ExternalAssetInfo; id: string; keywords: string[]; mimeType: string; name: string; size: number; }

Represents a GenStudio Asset entity in the Experience.

Type declaration

additionalMetadata?

optional additionalMetadata: Record<string, any>

Metadata for the asset

extensionInfo

extensionInfo: ExtensionInfo

Extension information

externalAssetInfo

externalAssetInfo: ExternalAssetInfo

the source of the asset

id

id: string

The unique identifier of the asset.

keywords?

optional keywords: string[]

keywords for the asset

mimeType

mimeType: string

the mimetype detected from the asset

name

name: string

the name of the asset

size

size: number

the size of the asset in bytes