Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-08-19 14:49:13 +02:00
parent 9d85eaf58a
commit 96081d960a
6 changed files with 4 additions and 8 deletions
-2
View File
@@ -22,8 +22,6 @@ export const EntityNewRelicDashboardCard: () => JSX.Element;
// @public (undocumented)
export const EntityNewRelicDashboardContent: () => JSX.Element;
// Warning: (ae-missing-release-tag) "isNewRelicDashboardAvailable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const isNewRelicDashboardAvailable: (entity: Entity) => boolean;
@@ -21,6 +21,7 @@ import { NewRelicDashboard } from './components/NewRelicDashboard';
import { useEntity } from '@backstage/plugin-catalog-react';
import { NEWRELIC_GUID_ANNOTATION } from './constants';
/** @public */
export const isNewRelicDashboardAvailable = (entity: Entity) =>
Boolean(entity?.metadata?.annotations?.[NEWRELIC_GUID_ANNOTATION]);
+1
View File
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export {
newRelicDashboardPlugin,
EntityNewRelicDashboardCard,
-4
View File
@@ -8,13 +8,9 @@
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { RouteRef } from '@backstage/core-plugin-api';
// Warning: (ae-missing-release-tag) "NewRelicPage" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const NewRelicPage: () => JSX.Element;
// Warning: (ae-missing-release-tag) "newRelicPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
const newRelicPlugin: BackstagePlugin<
{
+2
View File
@@ -27,6 +27,7 @@ export const rootRouteRef = createRouteRef({
id: 'newrelic',
});
/** @public */
export const newRelicPlugin = createPlugin({
id: 'newrelic',
apis: [
@@ -41,6 +42,7 @@ export const newRelicPlugin = createPlugin({
},
});
/** @public */
export const NewRelicPage = newRelicPlugin.provide(
createRoutableExtension({
name: 'NewRelicPage',
-2
View File
@@ -212,8 +212,6 @@ const ALLOW_WARNINGS = [
'plugins/jenkins-backend',
'plugins/kubernetes',
'plugins/kubernetes-common',
'plugins/newrelic',
'plugins/newrelic-dashboard',
];
async function resolvePackagePath(