UNPKG

@creditkarma/dynamic-config

Version:

Dynamic Config for Node.js backed by Consul and Vault

6 lines (5 loc) 541 B
import { BaseConfigValue, IInvalidConfigValue, INullConfigValue, IResolvedPlaceholder, IRootConfigValue, ISource } from '../types'; export declare function invalidValueForPlaceholder(placeholder: IResolvedPlaceholder): IInvalidConfigValue; export declare function nullValueForPlaceholder(placeholder: IResolvedPlaceholder): INullConfigValue; export declare function buildBaseConfigValue(source: ISource, obj: any, nullable?: boolean): BaseConfigValue; export declare function createConfigObject(source: ISource, obj: any): IRootConfigValue;