GitHub

ShopifyMediaImage

interface

import { ShopifyMediaImage } from '@daffodil/driver/shopify'

Represents a Shopify hosted image.

interface ShopifyMediaImage {
  __typename: "MediaImage"
  alt: string
  id: string
  image: ShopifyImage
  mediaContentType: ShopifyMediaContentType
  presentation: ShopifyMediaPresentation
  previewImage: ShopifyImage
}

Properties

__typename
"MediaImage"
alt
string

A word or phrase to share the nature or contents of a media.

id
string

A globally-unique ID.

image
ShopifyImage

The image for the media.

mediaContentType
ShopifyMediaContentType

The media content type.

presentation
ShopifyMediaPresentation

The presentation for a media.

previewImage
ShopifyImage

The preview image for the media.