diff --git a/plugins/apollo-explorer/api-report.md b/plugins/apollo-explorer/api-report.md
index 7d06876e89..978d90d062 100644
--- a/plugins/apollo-explorer/api-report.md
+++ b/plugins/apollo-explorer/api-report.md
@@ -5,6 +5,7 @@
```ts
///
+import { ApiHolder } from '@backstage/core-plugin-api';
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { JSONObject } from '@apollo/explorer/src/helpers/types';
import { JSX as JSX_2 } from 'react';
@@ -14,23 +15,9 @@ import { RouteRef } from '@backstage/core-plugin-api';
export const ApolloExplorerPage: (props: {
title?: string | undefined;
subtitle?: string | undefined;
- endpoints: {
- title: string;
- graphRef: string;
- persistExplorerState?: boolean | undefined;
- initialState?:
- | {
- document?: string | undefined;
- variables?: JSONObject | undefined;
- headers?: Record | undefined;
- displayOptions: {
- docsPanelState?: 'closed' | 'open' | undefined;
- showHeadersAndEnvVars?: boolean | undefined;
- theme?: 'dark' | 'light' | undefined;
- };
- }
- | undefined;
- }[];
+ endpoints:
+ | EndpointProps[]
+ | ((options: { apiHolder: ApiHolder }) => Promise);
}) => JSX_2.Element;
// @public
@@ -40,4 +27,23 @@ export const apolloExplorerPlugin: BackstagePlugin<
},
{}
>;
+
+// Warning: (ae-missing-release-tag) "EndpointProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
+//
+// @public (undocumented)
+export type EndpointProps = {
+ title: string;
+ graphRef: string;
+ persistExplorerState?: boolean;
+ initialState?: {
+ document?: string;
+ variables?: JSONObject;
+ headers?: Record;
+ displayOptions: {
+ docsPanelState?: 'open' | 'closed';
+ showHeadersAndEnvVars?: boolean;
+ theme?: 'dark' | 'light';
+ };
+ };
+};
```