GitHub

ShopifyArticleSortKeys

enum

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

The set of valid sort keys for the Article query.

enum ShopifyArticleSortKeys {
  Author = ShopifyArticleSortKeys.Author,
  BlogTitle = ShopifyArticleSortKeys.BlogTitle,
  Id = ShopifyArticleSortKeys.Id,
  PublishedAt = ShopifyArticleSortKeys.PublishedAt,
  Relevance = ShopifyArticleSortKeys.Relevance,
  Title = ShopifyArticleSortKeys.Title,
  UpdatedAt = ShopifyArticleSortKeys.UpdatedAt,
}

Properties

Author
ShopifyArticleSortKeys.Author

Sort by the author value.

BlogTitle
ShopifyArticleSortKeys.BlogTitle

Sort by the blog_title value.

Id
ShopifyArticleSortKeys.Id

Sort by the id value.

PublishedAt
ShopifyArticleSortKeys.PublishedAt

Sort by the published_at value.

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

Sort by the title value.

UpdatedAt
ShopifyArticleSortKeys.UpdatedAt

Sort by the updated_at value.