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';