@backstage/config
Advanced tools
Comparing version 0.0.0-nightly-202192621851 to 0.0.0-nightly-202192722215
# @backstage/config | ||
## 0.0.0-nightly-202192621851 | ||
## 0.0.0-nightly-202192722215 | ||
### Patch Changes | ||
- 10d267a1b7: Minor exports cleanup | ||
- 41c49884d2: Start using the new `@backstage/types` package. Initially, this means using the `Observable` and `Json*` types from there. The types also remain in their old places but deprecated, and will be removed in a future release. | ||
@@ -8,0 +9,0 @@ - 925a967f36: Replace usage of test-utils-core with test-utils |
@@ -162,19 +162,38 @@ import { JsonPrimitive as JsonPrimitive$1, JsonObject as JsonObject$1, JsonArray as JsonArray$1, JsonValue as JsonValue$1 } from '@backstage/types'; | ||
private notifiedFilteredKeys; | ||
/** | ||
* Instantiates the config reader from a list of application config objects. | ||
*/ | ||
static fromConfigs(configs: AppConfig[]): ConfigReader; | ||
constructor(data: JsonObject$1 | undefined, context?: string, fallback?: ConfigReader | undefined, prefix?: string); | ||
/** {@inheritdoc Config.has} */ | ||
has(key: string): boolean; | ||
/** {@inheritdoc Config.keys} */ | ||
keys(): string[]; | ||
/** {@inheritdoc Config.get} */ | ||
get<T = JsonValue$1>(key?: string): T; | ||
/** {@inheritdoc Config.getOptional} */ | ||
getOptional<T = JsonValue$1>(key?: string): T | undefined; | ||
/** {@inheritdoc Config.getConfig} */ | ||
getConfig(key: string): ConfigReader; | ||
/** {@inheritdoc Config.getOptionalConfig} */ | ||
getOptionalConfig(key: string): ConfigReader | undefined; | ||
/** {@inheritdoc Config.getConfigArray} */ | ||
getConfigArray(key: string): ConfigReader[]; | ||
/** {@inheritdoc Config.getOptionalConfigArray} */ | ||
getOptionalConfigArray(key: string): ConfigReader[] | undefined; | ||
/** {@inheritdoc Config.getNumber} */ | ||
getNumber(key: string): number; | ||
/** {@inheritdoc Config.getOptionalNumber} */ | ||
getOptionalNumber(key: string): number | undefined; | ||
/** {@inheritdoc Config.getBoolean} */ | ||
getBoolean(key: string): boolean; | ||
/** {@inheritdoc Config.getOptionalBoolean} */ | ||
getOptionalBoolean(key: string): boolean | undefined; | ||
/** {@inheritdoc Config.getString} */ | ||
getString(key: string): string; | ||
/** {@inheritdoc Config.getOptionalString} */ | ||
getOptionalString(key: string): string | undefined; | ||
/** {@inheritdoc Config.getStringArray} */ | ||
getStringArray(key: string): string[]; | ||
/** {@inheritdoc Config.getOptionalStringArray} */ | ||
getOptionalStringArray(key: string): string[] | undefined; | ||
@@ -181,0 +200,0 @@ private fullKey; |
{ | ||
"name": "@backstage/config", | ||
"description": "Config API used by Backstage core, backend, and CLI", | ||
"version": "0.0.0-nightly-202192621851", | ||
"version": "0.0.0-nightly-202192722215", | ||
"private": false, | ||
@@ -37,3 +37,3 @@ "publishConfig": { | ||
"devDependencies": { | ||
"@backstage/test-utils": "^0.0.0-nightly-202192621851", | ||
"@backstage/test-utils": "^0.0.0-nightly-202192722215", | ||
"@types/jest": "^26.0.7", | ||
@@ -40,0 +40,0 @@ "@types/node": "^14.14.32" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65832
710