diff --git a/plugins/apollo-explorer/api-report.md b/plugins/apollo-explorer/api-report.md index b5bed224bc..df84f0e7d3 100644 --- a/plugins/apollo-explorer/api-report.md +++ b/plugins/apollo-explorer/api-report.md @@ -15,9 +15,8 @@ import { RouteRef } from '@backstage/core-plugin-api'; export const ApolloExplorerPage: (props: { title?: string | undefined; subtitle?: string | undefined; - endpoints: - | EndpointProps[] - | ((options: { apiHolder: ApiHolder }) => Promise); + endpoints: EndpointProps[]; + authCallback?: AuthCallback | undefined; }) => JSX_2.Element; // @public @@ -25,9 +24,15 @@ export const apolloExplorerPlugin: BackstagePlugin< { root: RouteRef; }, + {}, {} >; +// @public +export type AuthCallback = (options: { + apiHolder: ApiHolder; +}) => Promise; + // @public export type EndpointProps = { title: string;