Skip to content

Variable: ChildPageSortOrderSchema

ts
const ChildPageSortOrderSchema: ZodEnum<{
  -child-position: "-child-position";
  -created-date: "-created-date";
  -id: "-id";
  -modified-date: "-modified-date";
  child-position: "child-position";
  created-date: "created-date";
  id: "id";
  modified-date: "modified-date";
}>;

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

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