Interfaces
Interface: PageGetOptions
Options for fetching a single page by slug
Options for fetching a single page by slug
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
includeRedirect? | boolean | When true, getBySlug resolves to { data, redirect } instead of the page directly, exposing the slug-change redirect ({ from, to, permanent }) so you can issue a 301. | - |
media? | MediaMode | - | MediaOption.media |
pageType? | string | Page type slug to disambiguate when multiple page types share the same slug | - |
preview? | boolean | - | PreviewOption.preview |
refTypes? | boolean | - | RefTypesOption.refTypes |

