Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConfigService

Hierarchy

  • ConfigService

Index

Properties

_store: any
changed: Subject<void> = ...
defaults: any
ready: AsyncSubject<boolean> = ...
restartRequested: boolean

Whether an app restart is required due to recent changes

servicesCache: null | Record<string, Function[]> = null
store: any

Contains the actual config values

Accessors

  • get changed$(): Observable<void>
  • get ready$(): Observable<boolean>

Methods

  • emitChange(): void
  • enabledServices<T>(services: undefined | T[]): T[]
  • Filters a list of Angular services to only include those provided by plugins that are enabled

    Type Parameters

    • T extends object

      Base provider type

    Parameters

    • services: undefined | T[]

    Returns T[]

  • getDefaults(): Record<string, any>
  • init(): Promise<void>
  • load(): Promise<void>
  • maybeDecryptConfig(store: any): Promise<any>
  • maybeEncryptConfig(store: any): Promise<any>
  • mergeDefaults(): unknown
  • migrate(config: any): void
  • readRaw(): string
  • requestRestart(): void
  • save(): Promise<void>
  • writeRaw(data: string): Promise<void>

Generated using TypeDoc