1 | import { NestContainer } from '../injector/container';
|
2 | import { InstanceWrapper } from '../injector/instance-wrapper';
|
3 | import { Module } from '../injector/module';
|
4 | import { EnhancerMetadataCacheEntry } from './interfaces/enhancer-metadata-cache-entry.interface';
|
5 | import { Entrypoint } from './interfaces/entrypoint.interface';
|
6 | import { OrphanedEnhancerDefinition } from './interfaces/extras.interface';
|
7 | import { Node } from './interfaces/node.interface';
|
8 | export declare class GraphInspector {
|
9 | private readonly container;
|
10 | private readonly graph;
|
11 | private readonly enhancersMetadataCache;
|
12 | constructor(container: NestContainer);
|
13 | inspectModules(modules?: Map<string, Module>): void;
|
14 | registerPartial(error: unknown): void;
|
15 | inspectInstanceWrapper<T = any>(source: InstanceWrapper<T>, moduleRef: Module): void;
|
16 | insertEnhancerMetadataCache(entry: EnhancerMetadataCacheEntry): void;
|
17 | insertOrphanedEnhancer(entry: OrphanedEnhancerDefinition): void;
|
18 | insertAttachedEnhancer(wrapper: InstanceWrapper): void;
|
19 | insertEntrypointDefinition<T>(definition: Entrypoint<T>, parentId: string): void;
|
20 | insertClassNode(moduleRef: Module, wrapper: InstanceWrapper, type: Exclude<Node['metadata']['type'], 'module'>): void;
|
21 | private insertModuleNode;
|
22 | private insertModuleToModuleEdges;
|
23 | private insertEnhancerEdge;
|
24 | private insertClassToClassEdge;
|
25 | private insertClassNodes;
|
26 | }
|