From dd5f5979ebb57d6c4eb2bcdc398779378a87d1d8 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 10 Jun 2021 10:02:57 +0200 Subject: [PATCH] core-app-api: update api-report Signed-off-by: Patrik Oldsberg --- packages/core-app-api/api-report.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/core-app-api/api-report.md b/packages/core-app-api/api-report.md index c64f9db999..b85c9392d7 100644 --- a/packages/core-app-api/api-report.md +++ b/packages/core-app-api/api-report.md @@ -42,6 +42,7 @@ import { oktaAuthApiRef } from '@backstage/core-plugin-api'; import { oneloginAuthApiRef } from '@backstage/core-plugin-api'; import { OpenIdConnectApi } from '@backstage/core-plugin-api'; import { PendingAuthRequest } from '@backstage/core-plugin-api'; +import { PluginOutput } from '@backstage/core-plugin-api'; import { ProfileInfo } from '@backstage/core-plugin-api'; import { ProfileInfoApi } from '@backstage/core-plugin-api'; import { PropsWithChildren } from 'react'; @@ -137,10 +138,10 @@ export type AppContext = { // @public (undocumented) export type AppOptions = { apis?: Iterable; - icons?: AppIcons & { + icons?: Partial & { [key in string]: IconComponent; }; - plugins?: BackstagePlugin[]; + plugins?: BackstagePluginWithAnyOutput[]; components?: Partial; themes?: AppTheme[]; configLoader?: AppConfigLoader; @@ -183,6 +184,11 @@ export type BackstageApp = { getRouter(): ComponentType<{}>; }; +// @public (undocumented) +export type BackstagePluginWithAnyOutput = Omit, 'output'> & { + output(): (PluginOutput | UnknownPluginOutput)[]; +}; + // @public (undocumented) export type BootErrorPageProps = { step: 'load-config' | 'load-chunk';