Interface: RouteMapperOptions<IncomingEventType, OutgoingResponseType>
Interface: RouteMapperOptions<IncomingEventType, OutgoingResponseType>
Configuration options for the RouteMapper.
Type Parameters
IncomingEventType
IncomingEventType
extends IIncomingEvent
= IIncomingEvent
OutgoingResponseType
OutgoingResponseType
= unknown
Properties
bindings?
optional bindings: Record<string,
| BindingResolver
| IBoundModel>;
defaults?
optional defaults: Record<string, unknown>;
dependencyResolver?
optional dependencyResolver: DependencyResolver;
dispatchers
dispatchers: IDispatchers<IncomingEventType, OutgoingResponseType>;
matchers
matchers: IMatcher<IncomingEventType, OutgoingResponseType>[];
maxDepth
maxDepth: number;
prefix?
optional prefix: string;
rules?
optional rules: Record<string, RegExp>;
strict?
optional strict: boolean;