type AssetMetaData = object & Record<string, unknown>;Generic asset information
Type Declaration#
| Name | Type | Description |
|---|---|---|
mimeType? | string | The mime type of this asset or the data behind the asset’s uri. |
blockType? | string | The type id of the design block that should be created from this asset. |
fillType? | string | - |
shapeType? | string | - |
kind? | string | - |
uri? | string | - |
thumbUri? | string | - |
previewUri? | string | - |
sourceSet? | Source[] | - |
filename? | string | - |
vectorPath? | string | - |
width? | number | - |
height? | number | - |
duration? | string | - |
effectType? | string | Effect kind hint. Widened to string so this metadata stays cross-binding (the narrow EffectType union remains the source of truth for BlockAPI.createEffect). |
blurType? | string | Blur kind hint. Widened to string for the same reason as effectType — the narrow BlurType union still gates BlockAPI.createBlur. |
looping? | boolean | - |