GitHub

BlogSortKeys

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

The set of valid sort keys for the Blog query.

enum BlogSortKeys {
  Handle = BlogSortKeys.Handle,
  Id = BlogSortKeys.Id,
  Relevance = BlogSortKeys.Relevance,
  Title = BlogSortKeys.Title,
}

Properties

Handle
BlogSortKeys.Handle

Sort by the handle value.

Id
BlogSortKeys.Id

Sort by the id value.

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

Sort by the title value.