@golevelup/nestjs-modules
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [0.3.0](https://github.com/golevelup/nestjs/compare/@golevelup/nestjs-modules@0.2.0...@golevelup/nestjs-modules@0.3.0) (2019-11-09) | ||
### Features | ||
- **modules:** udpate create function name to match fit nest terminology ([d3eae4a](https://github.com/golevelup/nestjs/commit/d3eae4a)) | ||
# 0.2.0 (2019-11-09) | ||
@@ -8,0 +14,0 @@ |
@@ -25,4 +25,4 @@ import { DynamicModule, Provider, Type } from '@nestjs/common'; | ||
} | ||
export declare function MakeConfigurableDynamicRootModule<T, U>(moduleConfigToken: InjectionToken, moduleProperties?: Partial<Pick<ModuleMetadata, 'imports' | 'exports' | 'providers'>>): IConfigurableDynamicRootModule<T, U>; | ||
export declare function createConfigurableDynamicRootModule<T, U>(moduleConfigToken: InjectionToken, moduleProperties?: Partial<Pick<ModuleMetadata, 'imports' | 'exports' | 'providers'>>): IConfigurableDynamicRootModule<T, U>; | ||
export {}; | ||
//# sourceMappingURL=dynamicModules.d.ts.map |
@@ -49,3 +49,3 @@ "use strict"; | ||
exports.createModuleConfigProvider = createModuleConfigProvider; | ||
function MakeConfigurableDynamicRootModule(moduleConfigToken, moduleProperties = { | ||
function createConfigurableDynamicRootModule(moduleConfigToken, moduleProperties = { | ||
imports: [], | ||
@@ -101,3 +101,3 @@ exports: [], | ||
} | ||
exports.MakeConfigurableDynamicRootModule = MakeConfigurableDynamicRootModule; | ||
exports.createConfigurableDynamicRootModule = createConfigurableDynamicRootModule; | ||
//# sourceMappingURL=dynamicModules.js.map |
{ | ||
"name": "@golevelup/nestjs-modules", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Reusable utilties to help level up NestJS Modules", | ||
@@ -55,3 +55,3 @@ "author": "Jesse Carter <jesse.r.carter@gmail.com>", | ||
}, | ||
"gitHead": "f6eba82698bb356bb8a4c3cdddd070d7868a38fb" | ||
"gitHead": "9973fb4162eb98010c1b523aec291ad295e08461" | ||
} |
@@ -46,3 +46,3 @@ # @golevelup/nestjs-modules | ||
```ts | ||
import { MakeConfigurableDynamicRootModule } from '@golevelup/nestjs-modules'; | ||
import { createConfigurableDynamicRootModule } from '@golevelup/nestjs-modules'; | ||
import { Module } from '@nestjs/common'; | ||
@@ -57,3 +57,3 @@ import { CONFIG_MODULE_OPTIONS } from './config.constants'; // the constant string/symbol/token | ||
}) | ||
export class ConfigModule extends MakeConfigurableDynamicRootModule< | ||
export class ConfigModule extends createConfigurableDynamicRootModule< | ||
ConfigModule, | ||
@@ -100,3 +100,3 @@ ConfigModuleOptions | ||
```ts | ||
import { MakeConfigurableDynamicRootModule } from '@golevelup/nestjs-modules'; | ||
import { createConfigurableDynamicRootModule } from '@golevelup/nestjs-modules'; | ||
import { Module } from '@nestjs/common'; | ||
@@ -111,3 +111,3 @@ import { CONFIG_MODULE_OPTIONS } from './config.constants'; // the constant string/symbol/token | ||
}) | ||
export class ConfigModule extends MakeConfigurableDynamicRootModule< | ||
export class ConfigModule extends createConfigurableDynamicRootModule< | ||
ConfigModule, | ||
@@ -114,0 +114,0 @@ ConfigModuleOptions |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18917