Interfaces
Interface: RedirectInfo
Slug-change redirect info, returned alongside a page fetched by an old slug.
Slug-change redirect info, returned alongside a page fetched by an old slug.
Properties
| Property | Type | Description |
|---|---|---|
from | string | The (old) slug that was requested |
permanent | boolean | Whether the redirect is permanent (301) |
to | string | The current slug the page now lives at |
Interface: PreviewOption
Per-request preview mode toggle.
Interface: RefTypesOption
Controls whether resolved collection-item references carry their _type discriminator (the collection-type slug). refTypes: false sends ?refTypes=false to drop it — a smaller payload for consumers that already know each reference's type from context. Omitted/true keeps the default (included) shape.

