From 9d322594ac02a2e6a1f3cd07e9337531d130a6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Fri, 19 Aug 2022 14:43:32 +0200 Subject: [PATCH] explore-react MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fredrik Adelöw --- plugins/explore-react/api-report.md | 6 ------ plugins/explore-react/src/tools/api.ts | 3 +++ scripts/api-extractor.ts | 1 - 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/plugins/explore-react/api-report.md b/plugins/explore-react/api-report.md index 75fb01064d..8a9d2b8b13 100644 --- a/plugins/explore-react/api-report.md +++ b/plugins/explore-react/api-report.md @@ -5,8 +5,6 @@ ```ts import { ApiRef } from '@backstage/core-plugin-api'; -// Warning: (ae-missing-release-tag) "ExploreTool" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public (undocumented) export type ExploreTool = { title: string; @@ -17,16 +15,12 @@ export type ExploreTool = { lifecycle?: string; }; -// Warning: (ae-missing-release-tag) "ExploreToolsConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public (undocumented) export interface ExploreToolsConfig { // (undocumented) getTools: () => Promise; } -// Warning: (ae-missing-release-tag) "exploreToolsConfigRef" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public (undocumented) export const exploreToolsConfigRef: ApiRef; ``` diff --git a/plugins/explore-react/src/tools/api.ts b/plugins/explore-react/src/tools/api.ts index 8a91b84785..0fae2ce0fb 100644 --- a/plugins/explore-react/src/tools/api.ts +++ b/plugins/explore-react/src/tools/api.ts @@ -16,10 +16,12 @@ import { createApiRef } from '@backstage/core-plugin-api'; +/** @public */ export const exploreToolsConfigRef = createApiRef({ id: 'plugin.explore.toolsconfig', }); +/** @public */ export type ExploreTool = { title: string; description?: string; @@ -29,6 +31,7 @@ export type ExploreTool = { lifecycle?: string; }; +/** @public */ export interface ExploreToolsConfig { getTools: () => Promise; } diff --git a/scripts/api-extractor.ts b/scripts/api-extractor.ts index 007c93b146..dc05f00b84 100644 --- a/scripts/api-extractor.ts +++ b/scripts/api-extractor.ts @@ -204,7 +204,6 @@ const ALLOW_WARNINGS = [ 'plugins/circleci', 'plugins/cost-insights', 'plugins/dynatrace', - 'plugins/explore-react', 'plugins/git-release-manager', 'plugins/github-actions', 'plugins/github-deployments',