Skip to content

Variable: BlogPostSortOrderSchema

ts
const BlogPostSortOrderSchema: ZodCustom<
  | "id"
  | string & object
  | "created-date"
  | "-created-date"
  | "modified-date"
  | "-modified-date"
  | "-id", 
  | "id"
  | string & object
  | "created-date"
  | "-created-date"
  | "modified-date"
  | "-modified-date"
| "-id">;

Defined in: src/v2/models/blogPostSortOrder.ts:8

The sort fields for blog posts. The default sort direction is ascending. To sort in descending order, append a - character before the sort field. For example, fieldName or -fieldName.