expose techInsightsApiRef

Signed-off-by: goenning <me@goenning.net>
This commit is contained in:
goenning
2021-12-23 16:04:38 +00:00
parent e1ec6ce6f5
commit d83079fc11
3 changed files with 17 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-insights': patch
---
expose apiRef
+10
View File
@@ -5,12 +5,22 @@
```ts
/// <reference types="react" />
import { ApiRef } from '@backstage/core-plugin-api';
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { CheckResult } from '@backstage/plugin-tech-insights-common';
import { EntityName } from '@backstage/catalog-model';
import { default as React_2 } from 'react';
import { RouteRef } from '@backstage/core-plugin-api';
// @public (undocumented)
export const EntityTechInsightsScorecardContent: () => JSX.Element;
// Warning: (ae-forgotten-export) The symbol "TechInsightsApi" needs to be exported by the entry point index.d.ts
// Warning: (ae-missing-release-tag) "techInsightsApiRef" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const techInsightsApiRef: ApiRef<TechInsightsApi>;
// @public (undocumented)
export const techInsightsPlugin: BackstagePlugin<
{
+2
View File
@@ -17,3 +17,5 @@ export {
techInsightsPlugin,
EntityTechInsightsScorecardContent,
} from './plugin';
export { techInsightsApiRef } from './api/TechInsightsApi';