UNPKG

655 BTypeScriptView Raw
1import { DynamicModule } from '@nestjs/common';
2import { Type } from '@nestjs/common/interfaces/type.interface';
3export declare class ModuleTokenFactory {
4 private readonly moduleTokenCache;
5 private readonly moduleIdsCache;
6 private readonly logger;
7 create(metatype: Type<unknown>, dynamicModuleMetadata?: Partial<DynamicModule> | undefined): string;
8 getStaticModuleToken(moduleId: string, moduleName: string): string;
9 getStringifiedOpaqueToken(opaqueToken: object | undefined): string;
10 getModuleId(metatype: Type<unknown>): string;
11 getModuleName(metatype: Type<any>): string;
12 private hashString;
13 private replacer;
14}