Interfaces
Interface: PageWithRedirect<TContent>
Result of pages.getBySlug(slug, { includeRedirect: true }).
Result of pages.getBySlug(slug, { includeRedirect: true }).
Type Parameters
| Type Parameter | Default type |
|---|---|
TContent | Record<string, unknown> |
Properties
| Property | Type | Description |
|---|---|---|
data | Page<TContent> | The resolved page |
redirect | RedirectInfo | null | Redirect info when the requested slug is an old one, else null |

