UNPKG

@t3ned/channel

Version:

Ergonomic, chaining-based Typescript framework for quick API development for Fastify

31 lines 781 B
import type { Application } from "./Application"; import { Route } from "./Route"; export declare class ApplicationLoader { application: Application; /** * @param application The application */ constructor(application: Application); /** * Load all the routes */ loadRoutes(): Promise<void>; /** * Load a route * @param route The routes */ loadRoute(route: Route.Any): Promise<void>; /** * Recursively read all the file paths in a given path * @param path The path to read * * @returns Path iterator */ private _recursiveReaddir; /** * Output a debug message * @param message The message to log */ private _debug; } //# sourceMappingURL=ApplicationLoader.d.ts.map