Merge pull request #13252 from backstage/freben/api-well-ok-then

When the 🧹 s go marching in
This commit is contained in:
Fredrik Adelöw
2022-08-23 13:55:58 +02:00
committed by GitHub
273 changed files with 2469 additions and 1529 deletions
-6
View File
@@ -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<ExploreTool[]>;
}
// 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<ExploreToolsConfig>;
```
+3
View File
@@ -16,10 +16,12 @@
import { createApiRef } from '@backstage/core-plugin-api';
/** @public */
export const exploreToolsConfigRef = createApiRef<ExploreToolsConfig>({
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<ExploreTool[]>;
}