@dudousxd/nestjs-telescope
Version:
Laravel Telescope-style observability console for NestJS — core: watchers, recorder, correlation, SQLite store, headless API.
25 lines • 1.24 kB
TypeScript
import { type OnApplicationBootstrap } from '@nestjs/common';
import { ModuleRef } from '@nestjs/core';
import type { ResolvedCoreConfig } from '../config/options.js';
import { type TelescopeModuleOptions } from '../nest/telescope.options.js';
import type { ScheduleManager, ScheduleManagerContext } from './schedule-manager.js';
export declare class ScheduleManagerRegistry implements OnApplicationBootstrap {
private readonly options;
private readonly config;
private readonly moduleRef;
private readonly logger;
private readonly managers;
constructor(options: TelescopeModuleOptions, config: ResolvedCoreConfig, moduleRef: ModuleRef);
/** Build the shared context handed to managers (init + list). */
context(): ScheduleManagerContext;
/**
* Explicit `scheduleManagers` plus any `watchers` entry that structurally
* implements the `ScheduleManager` SPI (see {@link isScheduleManager}),
* deduped by identity — a watcher instance listed in BOTH `watchers` and
* `scheduleManagers` is only inited/registered once.
*/
private candidates;
onApplicationBootstrap(): Promise<void>;
all(): ScheduleManager[];
}
//# sourceMappingURL=schedule-manager.registry.d.ts.map