UNPKG

@wocker/core

Version:
19 lines (18 loc) 792 B
import "reflect-metadata"; import { Cli } from "@kearisp/cli"; import { Container } from "./Container"; import { ControllerWrapper } from "./ControllerWrapper"; import { ModuleWrapper } from "./ModuleWrapper"; export declare class Scanner { readonly container: Container; constructor(); scan(moduleType: any): Promise<void>; protected scanModule(moduleType: any): ModuleWrapper; protected scanControllers(module: ModuleWrapper): void; protected scanProviders(module: ModuleWrapper): void; protected scanImports(module: ModuleWrapper): void; protected scanExports(module: ModuleWrapper): void; protected scanRoutes(): void; protected scanControllerRoutes(cli: Cli, wrapper: ControllerWrapper): void; protected scanDynamicModules(): Promise<void>; }