Interface: PageRouteDefinition<IncomingEventType, OutgoingResponseType>
Interface: PageRouteDefinition<IncomingEventType, OutgoingResponseType>
Represents a page route definition.
Extends
RouteDefinition
<IncomingEventType
,OutgoingResponseType
>
Type Parameters
IncomingEventType
IncomingEventType
extends IIncomingEvent
= IIncomingEvent
OutgoingResponseType
OutgoingResponseType
= unknown
Indexable
[k: string]: unknown
Properties
bindings?
optional bindings: Record<string,
| string
| BindingResolver
| IBoundModel>;
Inherited from
children?
optional children: RouteDefinition<IncomingEventType, OutgoingResponseType>[];
Inherited from
defaults?
optional defaults: Record<string, unknown>;
Inherited from
domain?
optional domain: string | string[];
Inherited from
excludeMiddleware?
optional excludeMiddleware: PipeType<IncomingEventType, OutgoingResponseType>[];
Inherited from
RouteDefinition
.excludeMiddleware
fallback?
optional fallback: boolean;
Inherited from
handler?
optional handler: MixedEventHandler<IncomingEventType, OutgoingResponseType>;
Inherited from
isInternalHeader?
optional isInternalHeader: boolean;
Inherited from
RouteDefinition
.isInternalHeader
method?
optional method: HttpMethod;
Inherited from
methods?
optional methods: undefined;
Overrides
middleware?
optional middleware: MixedPipe<IncomingEventType, OutgoingResponseType>[];
Inherited from
name?
optional name: string;
Inherited from
path
path: string | string[];
Inherited from
protocol?
optional protocol: string | string[];
Inherited from
redirect?
optional redirect:
| string
| Record<string, unknown>
| RouteDefinitionRedirect<IncomingEventType, unknown>;
Inherited from
rules?
optional rules: Record<string, string | RegExp>;
Inherited from
strict?
optional strict: boolean;