@backstage-community/plugin-newrelic-dashboard 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/alpha.d.ts +15 -9
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
package/dist/alpha.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
2
3
|
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
3
4
|
import * as react from 'react';
|
|
4
|
-
import * as
|
|
5
|
+
import * as _backstage_filter_predicates from '@backstage/filter-predicates';
|
|
5
6
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
6
7
|
|
|
7
8
|
/** @alpha */
|
|
@@ -21,12 +22,12 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
21
22
|
kind: "entity-card";
|
|
22
23
|
name: "EntityNewRelicDashboardCard";
|
|
23
24
|
config: {
|
|
24
|
-
filter:
|
|
25
|
-
type: "content" | "
|
|
25
|
+
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
26
|
+
type: "content" | "info" | undefined;
|
|
26
27
|
};
|
|
27
28
|
configInput: {
|
|
28
|
-
filter?:
|
|
29
|
-
type?: "content" | "
|
|
29
|
+
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
30
|
+
type?: "content" | "info" | undefined;
|
|
30
31
|
};
|
|
31
32
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
32
33
|
optional: true;
|
|
@@ -38,7 +39,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
38
39
|
inputs: {};
|
|
39
40
|
params: {
|
|
40
41
|
loader: () => Promise<JSX.Element>;
|
|
41
|
-
filter?:
|
|
42
|
+
filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
42
43
|
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
|
|
43
44
|
};
|
|
44
45
|
}>;
|
|
@@ -48,14 +49,16 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
48
49
|
config: {
|
|
49
50
|
path: string | undefined;
|
|
50
51
|
title: string | undefined;
|
|
51
|
-
filter:
|
|
52
|
+
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
52
53
|
group: string | false | undefined;
|
|
54
|
+
icon: string | undefined;
|
|
53
55
|
};
|
|
54
56
|
configInput: {
|
|
55
|
-
filter?:
|
|
57
|
+
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
56
58
|
title?: string | undefined;
|
|
57
59
|
path?: string | undefined;
|
|
58
60
|
group?: string | false | undefined;
|
|
61
|
+
icon?: string | undefined;
|
|
59
62
|
};
|
|
60
63
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
61
64
|
optional: true;
|
|
@@ -65,6 +68,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
65
68
|
optional: true;
|
|
66
69
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
67
70
|
optional: true;
|
|
71
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
72
|
+
optional: true;
|
|
68
73
|
}>;
|
|
69
74
|
inputs: {};
|
|
70
75
|
params: {
|
|
@@ -74,9 +79,10 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
74
79
|
title: string;
|
|
75
80
|
defaultGroup?: [Error: "Use the 'group' param instead"] | undefined;
|
|
76
81
|
group?: (string & {}) | "operation" | "development" | "deployment" | "overview" | "documentation" | "observability" | undefined;
|
|
82
|
+
icon?: string | react.ReactElement<any, string | react.JSXElementConstructor<any>> | undefined;
|
|
77
83
|
loader: () => Promise<JSX.Element>;
|
|
78
84
|
routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
|
|
79
|
-
filter?:
|
|
85
|
+
filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
80
86
|
};
|
|
81
87
|
}>;
|
|
82
88
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-newrelic-dashboard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "frontend-plugin",
|
|
6
6
|
"pluginId": "newrelic-dashboard",
|
|
@@ -62,21 +62,21 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@backstage/catalog-model": "^1.7.6",
|
|
65
|
-
"@backstage/core-compat-api": "^0.5.
|
|
66
|
-
"@backstage/core-components": "^0.18.
|
|
67
|
-
"@backstage/core-plugin-api": "^1.12.
|
|
65
|
+
"@backstage/core-compat-api": "^0.5.8",
|
|
66
|
+
"@backstage/core-components": "^0.18.7",
|
|
67
|
+
"@backstage/core-plugin-api": "^1.12.3",
|
|
68
68
|
"@backstage/errors": "^1.2.7",
|
|
69
|
-
"@backstage/frontend-plugin-api": "^0.
|
|
70
|
-
"@backstage/plugin-catalog-react": "^
|
|
69
|
+
"@backstage/frontend-plugin-api": "^0.14.1",
|
|
70
|
+
"@backstage/plugin-catalog-react": "^2.0.0",
|
|
71
71
|
"@material-ui/core": "^4.12.2",
|
|
72
72
|
"@material-ui/icons": "^4.9.1",
|
|
73
73
|
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
74
74
|
"react-use": "^17.2.4"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@backstage/cli": "^0.35.
|
|
78
|
-
"@backstage/dev-utils": "^1.1.
|
|
79
|
-
"@backstage/test-utils": "^1.7.
|
|
77
|
+
"@backstage/cli": "^0.35.4",
|
|
78
|
+
"@backstage/dev-utils": "^1.1.20",
|
|
79
|
+
"@backstage/test-utils": "^1.7.15",
|
|
80
80
|
"@testing-library/dom": "^10.0.0",
|
|
81
81
|
"@testing-library/jest-dom": "^6.0.0",
|
|
82
82
|
"@testing-library/react": "^15.0.0",
|