Skip to content

Variable: ChildCustomContentSortOrderSchema

ts
const ChildCustomContentSortOrderSchema: 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/childCustomContentSortOrder.ts:8

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