UNPKG

343 BTypeScriptView Raw
1import { RequestMethods } from '../Server';
2import { Key } from 'path-to-regexp';
3import { AbstractActionController } from '../Controller';
4export interface RegisteredRouteInterface {
5 method: RequestMethods;
6 regex: RegExp;
7 controller: typeof AbstractActionController;
8 action: string;
9 keys: Array<Key>;
10 route: string;
11}