nestjs-config-extended 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -121,7 +121,7 @@ let ExtendedConfigModule = ExtendedConfigModule_1 = class ExtendedConfigModule {
|
|
|
121
121
|
ExtendedConfigModule = ExtendedConfigModule_1 = __decorate([
|
|
122
122
|
common_1.Module({
|
|
123
123
|
providers: [
|
|
124
|
-
common_1.
|
|
124
|
+
common_1.Logger,
|
|
125
125
|
{
|
|
126
126
|
provide: config_constants_1.CRON_SCHEDULER,
|
|
127
127
|
useValue: cron,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Logger } from '@nestjs/common';
|
|
2
2
|
import { ExtendedConfigModuleOptions } from './interfaces';
|
|
3
3
|
import cron from 'node-cron';
|
|
4
4
|
export declare class ExtendedConfigService<K = Record<string, any>> {
|
|
@@ -8,7 +8,7 @@ export declare class ExtendedConfigService<K = Record<string, any>> {
|
|
|
8
8
|
private loaded;
|
|
9
9
|
private loading;
|
|
10
10
|
private readonly cache;
|
|
11
|
-
constructor(options: ExtendedConfigModuleOptions, scheduler: typeof cron, logger:
|
|
11
|
+
constructor(options: ExtendedConfigModuleOptions, scheduler: typeof cron, logger: Logger, preLoadedValues?: Record<string, any>);
|
|
12
12
|
private get isLoaded();
|
|
13
13
|
private set isLoaded(value);
|
|
14
14
|
private get isLoading();
|
|
@@ -251,6 +251,6 @@ ExtendedConfigService = __decorate([
|
|
|
251
251
|
__param(0, common_1.Inject(config_constants_1.EXTENDED_CONFIG_OPTIONS)),
|
|
252
252
|
__param(1, common_1.Inject(config_constants_1.CRON_SCHEDULER)),
|
|
253
253
|
__param(3, common_1.Inject(config_constants_1.PRE_LOADED_VALUES)),
|
|
254
|
-
__metadata("design:paramtypes", [Object, Object, common_1.
|
|
254
|
+
__metadata("design:paramtypes", [Object, Object, common_1.Logger, Object])
|
|
255
255
|
], ExtendedConfigService);
|
|
256
256
|
exports.ExtendedConfigService = ExtendedConfigService;
|