config-loader,backend-common,catalog-backend: update API reports

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-08-08 18:23:18 +02:00
parent 03bb05af6d
commit b89f04d9f7
3 changed files with 18 additions and 1 deletions
+13 -1
View File
@@ -386,13 +386,25 @@ export { isChildPath };
// Warning: (ae-missing-release-tag) "loadBackendConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function loadBackendConfig(options: Options): Promise<Config>;
export function loadBackendConfig(options: Options): Promise<ObservableConfig>;
// Warning: (ae-missing-release-tag) "notFoundHandler" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function notFoundHandler(): RequestHandler;
// Warning: (ae-missing-release-tag) "ObservableConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ObservableConfig extends Config {
// (undocumented)
subscribe(
onChange: () => void,
): {
unsubscribe: () => void;
};
}
// Warning: (ae-missing-release-tag) "PluginCacheManager" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
+4
View File
@@ -37,6 +37,10 @@ export type LoadConfigOptions = {
configPaths: string[];
env?: string;
experimentalEnvFunc?: EnvFunc;
watch?: {
onChange: (configs: AppConfig[]) => void;
stopSignal?: Promise<void>;
};
};
// Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts
+1
View File
@@ -21,6 +21,7 @@ import { Knex } from 'knex';
import { Location as Location_2 } from '@backstage/catalog-model';
import { LocationSpec } from '@backstage/catalog-model';
import { Logger as Logger_2 } from 'winston';
import { ObservableConfig } from '@backstage/backend-common';
import { Organizations } from 'aws-sdk';
import { PluginDatabaseManager } from '@backstage/backend-common';
import { PluginEndpointDiscovery } from '@backstage/backend-common';