Search Docs
Loading...
Skip to content

Interface: AssetDefinition

Definition of an asset used if an asset is added to an asset source.

Extends#

Properties#

Property Type Description Inherited from
id string The unique id of this asset. Asset.id
groups? AssetGroups Groups of the asset. Asset.groups
meta? AssetMetaData Asset-specific and custom meta information Asset.meta
payload? AssetPayload Structured asset-specific data Asset.payload
label? Record<Locale, string> Label used to display in aria-label and as a tooltip. Will be also searched in a query and should be localized -
tags? Record<Locale, string[]> Tags for this asset. Can be used for filtering, but is also useful for free-text search. Since the label is searched as well as used for tooltips you do not want to overdo it, but still add things which are searched. Thus, it should be localized similar to the label. -