UNPKG

actionhero

Version:

The reusable, scalable, and quick node.js API server for stateless and stateful applications

18 lines (17 loc) 440 B
import { Initializer } from "../index"; export interface RoutesApi { routes: { [key: string]: any; }; verbs: Array<string>; processRoute?: Function; matchURL?: Function; loadRoutes?: Function; } /** * Contains routing options for web clients. Can associate routes with actions or files. */ export declare class Routes extends Initializer { constructor(); initialize(config: any): Promise<void>; }