TentoCMS
Interfaces

Interface: PageWithRedirect<TContent>

Result of pages.getBySlug(slug, { includeRedirect: true }).

Result of pages.getBySlug(slug, { includeRedirect: true }).

Type Parameters

Type ParameterDefault type
TContentRecord<string, unknown>

Properties

PropertyTypeDescription
dataPage<TContent>The resolved page
redirectRedirectInfo | nullRedirect info when the requested slug is an old one, else null
Copyright © 2026