Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MidwayConfigService

Hierarchy

  • MidwayConfigService

Implements

Constructors

constructor

Properties

configuration

configuration: any

externalObject

externalObject: Record<string, unknown>[] = []

isReady

isReady: boolean = false

Methods

add

  • add(configFilePaths: string[]): void

addObject

  • addObject(obj: Record<string, unknown>): void

clearAllConfig

  • clearAllConfig(): void

getConfigEnv

  • getConfigEnv(configFilePath: any): string

getConfiguration

  • getConfiguration(configKey?: string): any

getEnvSet

  • getEnvSet(env: any): Set<string>

load

  • load(): Promise<void>

loadConfig

  • loadConfig(configFilename: any): Promise<Record<string, unknown>>

Generated using TypeDoc