add api report

Signed-off-by: Fernando Rodrigues da Silva <fernandorodriguesmazetti@gmail.com>
This commit is contained in:
Fernando Rodrigues da Silva
2023-11-03 18:12:28 -03:00
parent 0cde7bf2c7
commit dee72c4bcc
2 changed files with 40 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
## API Report File for "@backstage/plugin-should-i-deploy"
> 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 { CardExtensionProps } from '@backstage/plugin-home-react';
import { JSX as JSX_2 } from 'react';
import { RouteRef } from '@backstage/core-plugin-api';
// @public (undocumented)
export const ShouldIDeployCard: (
props: CardExtensionProps<{
timeZone?: string | undefined;
title?: string | undefined;
}>,
) => JSX_2.Element;
// @public (undocumented)
export const ShouldIDeployPage: ({
timeZone,
}: {
timeZone?: string | undefined;
}) => JSX_2.Element;
// @public (undocumented)
export const shouldIDeployPlugin: BackstagePlugin<
{
root: RouteRef<undefined>;
},
{}
>;
// (No @packageDocumentation comment for this package)
```
+3
View File
@@ -24,6 +24,7 @@ import { rootRouteRef } from './routes';
import { ShouldIDeployCIClient, ShouldIDeployCIApiRef } from './api';
import { timeZones } from './helpers/timezones';
/** @public */
export const shouldIDeployPlugin = createPlugin({
id: '@backstage/plugin-should-i-deploy',
routes: {
@@ -43,6 +44,7 @@ export const shouldIDeployPlugin = createPlugin({
],
});
/** @public */
export const ShouldIDeployPage = shouldIDeployPlugin.provide(
createRoutableExtension({
name: 'ShouldIDeployPage',
@@ -52,6 +54,7 @@ export const ShouldIDeployPage = shouldIDeployPlugin.provide(
}),
);
/** @public */
export const ShouldIDeployCard = shouldIDeployPlugin.provide(
createCardExtension<{ timeZone?: string; title?: string }>({
name: 'ShouldIDeployCard',