Merge pull request #13252 from backstage/freben/api-well-ok-then
When the 🧹 s go marching in
This commit is contained in:
@@ -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>;
|
||||
```
|
||||
|
||||
@@ -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[]>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user