From 5cafdc8206ff43c6a2bad53b596b7588ad6eadb2 Mon Sep 17 00:00:00 2001 From: Karl Haworth Date: Thu, 4 Apr 2024 11:39:31 -0400 Subject: [PATCH] update api report Signed-off-by: Karl Haworth --- plugins/apollo-explorer/api-report.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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;