Asset
An Asset represents a file such as an image which can be associated with certain other entities such as Products.
-
Extends:
VendureEntity -
Implements:
Taggable,ChannelAware, HasCustomFields
constructor
method
(input?: DeepPartial<Asset>) => Assetname
property
stringtype
property
AssetTypemimeType
property
stringwidth
property
numberheight
property
numberfileSize
property
numbersource
property
stringpreview
property
stringfocalPoint
property
{ x: number; y: number }tags
property
Tag[]channels
property
Channel[]featuredInCollections
property
Collection[]featuredInVariants
property
ProductVariant[]featuredInProducts
property
Product[]customFields
property
CustomAssetFieldsWas this chapter helpful?