Search
Loading...
Skip to content

Interface: AssetDefinition

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

Extends#

Properties#

PropertyTypeDescriptionInherited from
idstringThe unique id of this asset.Asset.id
groups?AssetGroupsGroups of the asset.Asset.groups
meta?AssetMetaDataAsset-specific and custom meta informationAsset.meta
payload?AssetPayloadStructured asset-specific dataAsset.payload
label?Record<string, 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<string, 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.-