GitHub

PageSortKeys

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

The set of valid sort keys for the Page query.

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

Properties

Id
PageSortKeys.Id

Sort by the id value.

Relevance
PageSortKeys.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
PageSortKeys.Title

Sort by the title value.

UpdatedAt
PageSortKeys.UpdatedAt

Sort by the updated_at value.