Search Docs
Loading...
Skip to content

Type Alias: AssetMetaData

type AssetMetaData = object & Record<string, unknown>;

Generic asset information

Type Declaration#

NameTypeDescription
mimeType?stringThe mime type of this asset or the data behind the asset’s uri.
blockType?stringThe 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?stringEffect kind hint. Widened to string so this metadata stays cross-binding (the narrow EffectType union remains the source of truth for BlockAPI.createEffect).
blurType?stringBlur kind hint. Widened to string for the same reason as effectType — the narrow BlurType union still gates BlockAPI.createBlur.
looping?boolean-