Skip to content

Variable: CommentSortOrderSchema

ts
const CommentSortOrderSchema: ZodEnum<{
  -created-date: "-created-date";
  -modified-date: "-modified-date";
  created-date: "created-date";
  modified-date: "modified-date";
}>;

Defined in: src/v2/models/commentSortOrder.ts:7

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