diff --git a/plugins/opencost/api-report.md b/plugins/opencost/api-report.md new file mode 100644 index 0000000000..ee9026cbb7 --- /dev/null +++ b/plugins/opencost/api-report.md @@ -0,0 +1,22 @@ +## API Report File for "@backstage/plugin-opencost" + +> 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 { RouteRef } from '@backstage/core-plugin-api'; + +// @public (undocumented) +export const OpenCostPage: () => JSX.Element; + +// @public (undocumented) +export const openCostPlugin: BackstagePlugin< + { + root: RouteRef; + }, + {}, + {} +>; +``` diff --git a/plugins/opencost/src/index.ts b/plugins/opencost/src/index.ts index 32ec0d0091..30153e0c32 100644 --- a/plugins/opencost/src/index.ts +++ b/plugins/opencost/src/index.ts @@ -14,4 +14,10 @@ * limitations under the License. */ +/** + * A Backstage plugin that integrates with OpenCost + * + * @packageDocumentation + */ + export { openCostPlugin, OpenCostPage } from './plugin'; diff --git a/plugins/opencost/src/plugin.ts b/plugins/opencost/src/plugin.ts index 9eaf8f63f5..2725cf3dde 100644 --- a/plugins/opencost/src/plugin.ts +++ b/plugins/opencost/src/plugin.ts @@ -21,6 +21,7 @@ import { import { rootRouteRef } from './routes'; +/** @public */ export const openCostPlugin = createPlugin({ id: 'opencost', routes: { @@ -28,6 +29,7 @@ export const openCostPlugin = createPlugin({ }, }); +/** @public */ export const OpenCostPage = openCostPlugin.provide( createRoutableExtension({ name: 'OpenCostPage',