GitHub

ShopifyPageSortKeys

enum

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

The set of valid sort keys for the Page query.

enum ShopifyPageSortKeys {
  Id = ShopifyPageSortKeys.Id,
  Relevance = ShopifyPageSortKeys.Relevance,
  Title = ShopifyPageSortKeys.Title,
  UpdatedAt = ShopifyPageSortKeys.UpdatedAt,
}

Properties

Id
ShopifyPageSortKeys.Id

Sort by the id value.

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

Title
ShopifyPageSortKeys.Title

Sort by the title value.

UpdatedAt
ShopifyPageSortKeys.UpdatedAt

Sort by the updated_at value.