@@ -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
|
||||
/// <reference types="react" />
|
||||
|
||||
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<undefined>;
|
||||
},
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
```
|
||||
@@ -14,4 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* A Backstage plugin that integrates with OpenCost
|
||||
*
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
export { openCostPlugin, OpenCostPage } from './plugin';
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user