-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ coverage/ | |
|
||
# production | ||
build/ | ||
dist/ | ||
|
||
# misc | ||
.DS_Store | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export declare class FeatureConfig { | ||
key: string; | ||
path?: string; | ||
deprecated?: boolean; | ||
value?: any; | ||
constructor(options: { key: string; value?: any; path?: string; deprecated?: boolean }); | ||
} | ||
//# sourceMappingURL=FeatureConfig.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { OnModuleDestroy, OnModuleInit } from "@nestjs/common"; | ||
import { FeatureConfig } from "./FeatureConfig"; | ||
import { FeatureConfigModuleOptions } from "./FeatureConfigModuleOptions"; | ||
export declare class FeatureConfigManager implements OnModuleInit, OnModuleDestroy { | ||
private readonly options; | ||
private featureConfigMap; | ||
private redisClient?; | ||
private redisSubscriptionClient?; | ||
private readonly ssmClient?; | ||
getConfigValue(options: { configName: string }): any; | ||
reloadConfigValue(config: FeatureConfig): Promise<void>; | ||
updateFeatureConfig(config: FeatureConfig): Promise<void>; | ||
initializeConfig(config: FeatureConfig): Promise<void>; | ||
private fetchParameterValue; | ||
private getFeatureConfigMap; | ||
private initializeFeatureConfigs; | ||
private initFeatureConfigMap; | ||
private getFeatureConfigKeys; | ||
onModuleInit(): Promise<any>; | ||
onModuleDestroy(): Promise<void>; | ||
constructor(options: FeatureConfigModuleOptions); | ||
} | ||
//# sourceMappingURL=FeatureConfigManager.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { DynamicModule } from "@nestjs/common"; | ||
import { FeatureConfigModuleOptions } from "./FeatureConfigModuleOptions"; | ||
export declare class FeatureConfigModule { | ||
static forRoot(options: FeatureConfigModuleOptions): DynamicModule; | ||
static forRootAsync(options: Promise<FeatureConfigModuleOptions>): DynamicModule; | ||
} | ||
//# sourceMappingURL=FeatureConfigModule.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.