UNPKG

@dudousxd/nestjs-telescope

Version:

Laravel Telescope-style observability console for NestJS — core: watchers, recorder, correlation, SQLite store, headless API.

13 lines 708 B
import { type Type } from '@nestjs/common'; /** * Builds a per-`forRoot` subclass of an implementation controller and applies * `@Controller(path)` to it at module-build time, so the mount path is * configurable without touching the static `@Controller(...)` on the base class. * * Method-level metadata (`@Get`/`@Post`/`@UseGuards`/...) lives on the base * class prototype and is inherited by the subclass, and the subclass inherits * the same constructor — so DI injects the identical dependencies. Only the * class-level route path is overridden here. */ export declare function dynamicController(base: Type<object>, path: string): Type<object>; //# sourceMappingURL=dynamic-controller.d.ts.map