Reintroduce export of defaultConfigLoader

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
This commit is contained in:
Oliver Sand
2021-06-24 15:31:30 +02:00
parent 2db341f4c1
commit 62abffee40
4 changed files with 10 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-app-api': patch
---
Reintroduce export of `defaultConfigLoader`.
+3
View File
@@ -200,6 +200,9 @@ export { ConfigReader }
// @public
export function createApp(options?: AppOptions): PrivateAppImpl;
// @public
export const defaultConfigLoader: AppConfigLoader;
// @public
export class ErrorAlerter implements ErrorApi {
constructor(alertApi: AlertApi, errorApi: ErrorApi);
+1 -1
View File
@@ -14,5 +14,5 @@
* limitations under the License.
*/
export { createApp } from './createApp';
export { createApp, defaultConfigLoader } from './createApp';
export * from './types';
+1
View File
@@ -21,6 +21,7 @@ describe('index', () => {
expect(index).toEqual({
// Public API
createApp: expect.any(Function),
defaultConfigLoader: expect.any(Function),
ApiProvider: expect.any(Function),
// TODO(Rugvip): Figure out if we need these
ApiFactoryRegistry: expect.any(Function),