updated api-report

Signed-off-by: Simon <simme.jakobsson@gmail.com>
This commit is contained in:
Simon
2022-11-16 22:26:51 +01:00
parent 49cb542170
commit e0caa78a72
+18 -14
View File
@@ -3,15 +3,15 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { JsonArray } from '@backstage/types';
import { JsonObject } from '@backstage/types';
import { JsonPrimitive } from '@backstage/types';
import { JsonValue } from '@backstage/types';
import type { JsonArray as JsonArray_2 } from '@backstage/types';
import { JsonObject as JsonObject_2 } from '@backstage/types';
import type { JsonPrimitive as JsonPrimitive_2 } from '@backstage/types';
import { JsonValue as JsonValue_2 } from '@backstage/types';
// @public
export type AppConfig = {
context: string;
data: JsonObject;
data: JsonObject_2;
filteredKeys?: string[];
deprecatedKeys?: {
key: string;
@@ -26,8 +26,8 @@ export type Config = {
};
has(key: string): boolean;
keys(): string[];
get<T = JsonValue>(key?: string): T;
getOptional<T = JsonValue>(key?: string): T | undefined;
get<T = JsonValue_2>(key?: string): T;
getOptional<T = JsonValue_2>(key?: string): T | undefined;
getConfig(key: string): Config;
getOptionalConfig(key: string): Config | undefined;
getConfigArray(key: string): Config[];
@@ -45,18 +45,18 @@ export type Config = {
// @public
export class ConfigReader implements Config {
constructor(
data: JsonObject | undefined,
data: JsonObject_2 | undefined,
context?: string,
fallback?: ConfigReader | undefined,
prefix?: string,
);
static fromConfigs(configs: AppConfig[]): ConfigReader;
get<T = JsonValue>(key?: string): T;
get<T = JsonValue_2>(key?: string): T;
getBoolean(key: string): boolean;
getConfig(key: string): ConfigReader;
getConfigArray(key: string): ConfigReader[];
getNumber(key: string): number;
getOptional<T = JsonValue>(key?: string): T | undefined;
getOptional<T = JsonValue_2>(key?: string): T | undefined;
getOptionalBoolean(key: string): boolean | undefined;
getOptionalConfig(key: string): ConfigReader | undefined;
getOptionalConfigArray(key: string): ConfigReader[] | undefined;
@@ -69,11 +69,15 @@ export class ConfigReader implements Config {
keys(): string[];
}
export { JsonArray };
// @public @deprecated
export type JsonArray = JsonArray_2;
export { JsonObject };
// @public @deprecated
export type JsonObject = JsonObject_2;
export { JsonPrimitive };
// @public @deprecated
export type JsonPrimitive = JsonPrimitive_2;
export { JsonValue };
// @public @deprecated
export type JsonValue = JsonValue_2;
```