Server IP : 92.205.26.207 / Your IP : 216.73.216.16 Web Server : Apache System : Linux 207.26.205.92.host.secureserver.net 4.18.0-553.60.1.el8_10.x86_64 #1 SMP Thu Jul 10 04:01:16 EDT 2025 x86_64 User : zikryat ( 1002) PHP Version : 8.3.23 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/zikryat/public_html/node_modules/@nestjs/core/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
import { DynamicModule, ForwardReference, Provider } from '@nestjs/common'; import { EnhancerSubtype } from '@nestjs/common/constants'; import { ClassProvider, Controller, ExistingProvider, FactoryProvider, Injectable, Type, ValueProvider } from '@nestjs/common/interfaces'; import { ApplicationConfig } from './application-config'; import { NestContainer } from './injector/container'; import { InstanceWrapper } from './injector/instance-wrapper'; import { Module } from './injector/module'; import { GraphInspector } from './inspector/graph-inspector'; import { MetadataScanner } from './metadata-scanner'; export declare class DependenciesScanner { private readonly container; private readonly metadataScanner; private readonly graphInspector; private readonly applicationConfig; private readonly applicationProvidersApplyMap; constructor(container: NestContainer, metadataScanner: MetadataScanner, graphInspector: GraphInspector, applicationConfig?: ApplicationConfig); scan(module: Type<any>): Promise<void>; scanForModules(moduleDefinition: ForwardReference | Type<unknown> | DynamicModule | Promise<DynamicModule>, scope?: Type<unknown>[], ctxRegistry?: (ForwardReference | DynamicModule | Type<unknown>)[]): Promise<Module[]>; insertModule(moduleDefinition: any, scope: Type<unknown>[]): Promise<Module | undefined>; scanModulesForDependencies(modules?: Map<string, Module>): Promise<void>; reflectImports(module: Type<unknown>, token: string, context: string): Promise<void>; reflectProviders(module: Type<any>, token: string): void; reflectControllers(module: Type<any>, token: string): void; reflectDynamicMetadata(cls: Type<Injectable>, token: string): void; reflectExports(module: Type<unknown>, token: string): void; reflectInjectables(component: Type<Injectable>, token: string, metadataKey: string): void; reflectParamInjectables(component: Type<Injectable>, token: string, metadataKey: string): void; reflectKeyMetadata(component: Type<Injectable>, key: string, methodKey: string): { methodKey: string; metadata: any; } | undefined; calculateModulesDistance(): void; insertImport(related: any, token: string, context: string): Promise<void>; isCustomProvider(provider: Provider): provider is ClassProvider | ValueProvider | FactoryProvider | ExistingProvider; insertProvider(provider: Provider, token: string): string | symbol | Function | InstanceWrapper<unknown>; insertInjectable(injectable: Type<Injectable> | object, token: string, host: Type<Injectable>, subtype: EnhancerSubtype, methodKey?: string): InstanceWrapper<any>; insertExportedProvider(exportedProvider: Type<Injectable>, token: string): void; insertController(controller: Type<Controller>, token: string): void; reflectMetadata<T = any>(metadataKey: string, metatype: Type<any>): T[]; registerCoreModule(): Promise<void>; /** * Add either request or transient globally scoped enhancers * to all controllers metadata storage */ addScopedEnhancersMetadata(): void; applyApplicationProviders(): void; getApplyProvidersMap(): { [type: string]: Function; }; getApplyRequestProvidersMap(): { [type: string]: Function; }; isDynamicModule(module: Type<any> | DynamicModule): module is DynamicModule; /** * @param metatype * @returns `true` if `metatype` is annotated with the `@Injectable()` decorator. */ private isInjectable; /** * @param metatype * @returns `true` if `metatype` is annotated with the `@Controller()` decorator. */ private isController; /** * @param metatype * @returns `true` if `metatype` is annotated with the `@Catch()` decorator. */ private isExceptionFilter; private isForwardReference; private isRequestOrTransient; }