Interfaces
Interface: PageListOptions
Options for listing pages
Options for listing pages
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
fields? | string | Comma-separated list of fields to include | - |
filters? | FilterCondition | Advanced filters. Core fields: pageTypeId (resolved via slug), slug. Content fields: any field in the page's published content, addressed with a "fields." prefix (e.g. filter[fields.price]gte=100, filter[fields.category]eq=tech). Content-field conditions map to json_extract(published_content, '$.field') in SQL. | - |
limit? | number | Number of items per page | - |
media? | MediaMode | - | MediaOption.media |
page? | number | Page number for pagination (1-indexed) | - |
pageType? | string | Filter by page type slug | - |
preview? | boolean | - | PreviewOption.preview |
refTypes? | boolean | - | RefTypesOption.refTypes |
sort? | string | Sort order. Use "-field" for descending, "field" for ascending. E.g., "-createdAt", "slug" | - |
status? | "published" | "draft" | Filter by status | - |

