fix: add api-report.md for stackstorm api

Signed-off-by: pamelin <pamelin@expediagroup.com>
This commit is contained in:
pamelin
2023-02-03 15:39:25 +00:00
parent 221ad6e887
commit 7f4ce79b07
3 changed files with 22 additions and 8 deletions
+4 -8
View File
@@ -3,17 +3,15 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
/// <reference types="react" />
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { RouteRef } from '@backstage/core-plugin-api';
// Warning: (ae-missing-release-tag) "StackstormPage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
// @public
export const StackstormPage: () => JSX.Element;
// Warning: (ae-missing-release-tag) "stackstormPlugin" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
// @public
export const stackstormPlugin: BackstagePlugin<
{
root: RouteRef<undefined>;
@@ -21,6 +19,4 @@ export const stackstormPlugin: BackstagePlugin<
{},
{}
>;
// (No @packageDocumentation comment for this package)
```
+7
View File
@@ -13,4 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* A Backstage plugin that integrates towards StackStorm
*
* @packageDocumentation
*/
export { stackstormPlugin, StackstormPage } from './plugin';
+11
View File
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {
createApiFactory,
createPlugin,
@@ -24,6 +25,11 @@ import { stackStormApiRef, StackStormClient } from './api';
import { rootRouteRef } from './routes';
/**
* The Backstage plugin that holds stackstorm specific components
*
* @public
*/
export const stackstormPlugin = createPlugin({
id: 'stackstorm',
apis: [
@@ -45,6 +51,11 @@ export const stackstormPlugin = createPlugin({
},
});
/**
* A component to display a stackstorm home page
*
* @public
*/
export const StackstormPage = stackstormPlugin.provide(
createRoutableExtension({
name: 'StackstormPage',