CreateVersionRouteOptions
●next-build-notifier · /index·type
Options for .
Properties
PROPTYPEDESCRIPTION
headers?
Record<string, string>
Extra response headers merged over the defaults.
Related
WithBuildNotifierOptions withBuildNotifier BuildNotificationState BuildNotifierConfig BuildNotifierProps BuildNotifierProviderProps VersionResponse BuildNotifier
BuildNotifier
Headless renderprop over the buildnotification state from the nearest provider. Renders exactly what the function returns — no markup or styles of its own.
createVersionRoute
Creates a Next.js App Router route handler that serves the current deployment's build id as { id, ts }. Mount it at a stable path (default convention: /api/vers