stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > MediaImage

AdminTypes.MediaImage interface

An image hosted on Shopify.

Signature:

export interface MediaImage extends File, HasMetafields, Media, Node 

Extends: File, HasMetafields, Media, Node

Properties

Property Modifiers Type Description
alt?   Maybe<Scalars[‘String’][‘output’]> (Optional) A word or phrase to share the nature or contents of a media.
createdAt   Scalars[‘DateTime’][‘output’] The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.
fileErrors   Array<FileError> Any errors that have occurred on the file.
fileStatus   FileStatus | `${FileStatus}` The status of the file.
id   Scalars[‘ID’][‘output’] A globally-unique ID.
image?   Maybe<Image> (Optional) The image for the media. Returns null until status is READY.
mediaContentType   MediaContentType | `${MediaContentType}` The media content type.
mediaErrors   Array<MediaError> Any errors which have occurred on the media.
mediaWarnings   Array<MediaWarning> The warnings attached to the media.
metafield?   Maybe<Metafield> (Optional) Returns a metafield by namespace and key that belongs to the resource.
metafields   MetafieldConnection List of metafields that belong to the resource.
mimeType?   Maybe<Scalars[‘String’][‘output’]> (Optional) The MIME type of the image.
originalSource?   Maybe<MediaImageOriginalSource> (Optional) The original source of the image.
preview?   Maybe<MediaPreviewImage> (Optional) The preview image for the media.
privateMetafield?   Maybe<PrivateMetafield> (Optional) Returns a private metafield by namespace and key that belongs to the resource.
privateMetafields   PrivateMetafieldConnection List of private metafields that belong to the resource.
status   MediaStatus | `${MediaStatus}` Current status of the media.
updatedAt   Scalars[‘DateTime’][‘output’] The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.