Types: BeforeRouteHookResponse
ts
type BeforeRouteHookResponse =
| CallbackSuccessResponse
| CallbackPushResponse
| CallbackRejectResponse
| CallbackAbortResponse;
Type for responses from a before route hook, which may indicate different outcomes such as success, push, reject, or abort.
Template
The type of the routes configuration.