diff --git a/plugins/graphiql/alpha-api-report.md b/plugins/graphiql/alpha-api-report.md new file mode 100644 index 0000000000..31bad223b1 --- /dev/null +++ b/plugins/graphiql/alpha-api-report.md @@ -0,0 +1,33 @@ +## API Report File for "@backstage/plugin-graphiql" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts +import { BackstagePlugin } from '@backstage/frontend-plugin-api'; +import { Extension } from '@backstage/frontend-plugin-api'; +import { GraphQLEndpoint } from '@backstage/plugin-graphiql'; +import { PortableSchema } from '@backstage/frontend-plugin-api'; + +// @alpha (undocumented) +export function createEndpointExtension(options: { + id: string; + configSchema?: PortableSchema; + factory: (options: { config: TConfig }) => { + endpoint: GraphQLEndpoint; + }; +}): Extension; + +// @alpha (undocumented) +const _default: BackstagePlugin; +export default _default; + +// @alpha (undocumented) +export const graphiqlBrowseApi: Extension<{}>; + +// @alpha (undocumented) +export const GraphiqlPage: Extension<{ + path: string; +}>; + +// (No @packageDocumentation comment for this package) +``` diff --git a/plugins/graphiql/src/alpha.tsx b/plugins/graphiql/src/alpha.tsx index 6eaba0ff66..ded517e3c7 100644 --- a/plugins/graphiql/src/alpha.tsx +++ b/plugins/graphiql/src/alpha.tsx @@ -28,7 +28,7 @@ import { graphQlBrowseApiRef, GraphQLEndpoints, GraphQLEndpoint, -} from './lib/api'; +} from '@backstage/plugin-graphiql'; import { createApiFactory } from '@backstage/core-plugin-api'; /** @alpha */