@@ -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]);
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export {
|
||||
newRelicDashboardPlugin,
|
||||
EntityNewRelicDashboardCard,
|
||||
|
||||
@@ -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<
|
||||
{
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -212,8 +212,6 @@ const ALLOW_WARNINGS = [
|
||||
'plugins/jenkins-backend',
|
||||
'plugins/kubernetes',
|
||||
'plugins/kubernetes-common',
|
||||
'plugins/newrelic',
|
||||
'plugins/newrelic-dashboard',
|
||||
];
|
||||
|
||||
async function resolvePackagePath(
|
||||
|
||||
Reference in New Issue
Block a user