Single asset returned from findAssets. Field shape mirrors @cesdk/engine
(WASM) so a single result is interchangeable across bindings. label and
tags here are flat strings (already resolved to locale); compare to
AssetDefinition where they are localized maps.
Extends#
Extended by#
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 |
locale? |
string |
The locale that the query requested. The label and tags can come from a fallback locale, such as English. | - |
label? |
string |
Resolved label for the active locale. | - |
tags? |
string[] |
Resolved tags for the active locale. | - |
active? |
boolean |
If the asset is marked as active | - |
credits? |
object |
Credits for the asset | - |
credits.name |
string |
- | - |
credits.url? |
string |
- | - |
license? |
object |
License for this asset | - |
license.name |
string |
- | - |
license.url? |
string |
- | - |
utm? |
object |
UTM parameters | - |
utm.source? |
string |
- | - |
utm.medium? |
string |
- | - |