From f55667b7a0eb93d708e2dd72b2563e048b3d27b6 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 7 Sep 2023 18:45:02 +0200 Subject: [PATCH] graphiql: update API reports Signed-off-by: Patrik Oldsberg --- plugins/graphiql/alpha-api-report.md | 33 ++++++++++++++++++++++++++++ plugins/graphiql/src/alpha.tsx | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 plugins/graphiql/alpha-api-report.md 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 */