GitHub

ShopifyProductImageSortKeys

enum

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

The set of valid sort keys for the ProductImage query.

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

Properties

CreatedAt
ShopifyProductImageSortKeys.CreatedAt

Sort by the created_at value.

Id
ShopifyProductImageSortKeys.Id

Sort by the id value.

Position
ShopifyProductImageSortKeys.Position

Sort by the position value.

Relevance
ShopifyProductImageSortKeys.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.