GitHub

ProductImageSortKeys

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

The set of valid sort keys for the ProductImage query.

enum ProductImageSortKeys {
  CreatedAt = ProductImageSortKeys.CreatedAt,
  Id = ProductImageSortKeys.Id,
  Position = ProductImageSortKeys.Position,
  Relevance = ProductImageSortKeys.Relevance,
}

Properties

CreatedAt
ProductImageSortKeys.CreatedAt

Sort by the created_at value.

Id
ProductImageSortKeys.Id

Sort by the id value.

Position
ProductImageSortKeys.Position

Sort by the position value.

Relevance
ProductImageSortKeys.Relevance

Sort by relevance to the search terms when the query parameter is specified on the connection. Don't use this sort key when no search query is specified.