Skip to main content

@backstage/config

Home > @backstage/config

Config API used by Backstage core, backend, and CLI

Classes

Class

Description

ConfigReader

An implementation of the Config interface that uses a plain JavaScript object for the backing data, with the ability of linking multiple readers together.

Functions

Function

Description

readDurationFromConfig(config, options)

Reads a duration from a config object.

Type Aliases

Type Alias

Description

AppConfig

A serialized form of configuration data that carries additional context.

Config

The interface used to represent static configuration at runtime.

JsonArray

A type representing all allowed JSON array values.

JsonObject

A type representing all allowed JSON object values.

JsonPrimitive

A type representing all allowed JSON primitive values.

JsonValue

A type representing all allowed JSON values.