diff --git a/plugins/should-i-deploy/api-report.md b/plugins/should-i-deploy/api-report.md new file mode 100644 index 0000000000..98e7e88098 --- /dev/null +++ b/plugins/should-i-deploy/api-report.md @@ -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 +/// + +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; + }, + {} +>; + +// (No @packageDocumentation comment for this package) +``` diff --git a/plugins/should-i-deploy/src/plugin.ts b/plugins/should-i-deploy/src/plugin.ts index 41f0abf595..68d9db8bd9 100644 --- a/plugins/should-i-deploy/src/plugin.ts +++ b/plugins/should-i-deploy/src/plugin.ts @@ -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',