Asset definition supplied to addAsset. Distinct from AssetResult:
label and tags here are localized maps (Locale -> value) so a single
definition can serve every supported locale.
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> |
Localized labels (one entry per supported locale). | - |
tags? |
Record<Locale, string[]> |
Localized tags (one entry per supported locale). | - |