update api report

Signed-off-by: Karl Haworth <karl.haworth@aa.com>
This commit is contained in:
Karl Haworth
2024-04-04 11:39:31 -04:00
parent 7a4074d3ad
commit 5cafdc8206
+8 -3
View File
@@ -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<EndpointProps[]>);
endpoints: EndpointProps[];
authCallback?: AuthCallback | undefined;
}) => JSX_2.Element;
// @public
@@ -25,9 +24,15 @@ export const apolloExplorerPlugin: BackstagePlugin<
{
root: RouteRef<undefined>;
},
{},
{}
>;
// @public
export type AuthCallback = (options: {
apiHolder: ApiHolder;
}) => Promise<string>;
// @public
export type EndpointProps = {
title: string;