@backstage-community/plugin-grafana 0.15.0 → 0.16.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @backstage-community/plugin-grafana
2
2
 
3
+ ## 0.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 538e0f5: Backstage version bump to v1.48.2
8
+
3
9
  ## 0.15.0
4
10
 
5
11
  ### Minor Changes
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 _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
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
  /**
@@ -25,12 +26,12 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
25
26
  kind: "entity-card";
26
27
  name: "alerts";
27
28
  config: {
28
- filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
29
- type: "content" | "summary" | "info" | undefined;
29
+ filter: _backstage_filter_predicates.FilterPredicate | undefined;
30
+ type: "content" | "info" | undefined;
30
31
  };
31
32
  configInput: {
32
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
33
- type?: "content" | "summary" | "info" | undefined;
33
+ filter?: _backstage_filter_predicates.FilterPredicate | undefined;
34
+ type?: "content" | "info" | undefined;
34
35
  };
35
36
  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", {
36
37
  optional: true;
@@ -42,7 +43,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
42
43
  inputs: {};
43
44
  params: {
44
45
  loader: () => Promise<JSX.Element>;
45
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
46
+ filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
46
47
  type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
47
48
  };
48
49
  }>;
@@ -50,12 +51,12 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
50
51
  kind: "entity-card";
51
52
  name: "dashboards";
52
53
  config: {
53
- filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
54
- type: "content" | "summary" | "info" | undefined;
54
+ filter: _backstage_filter_predicates.FilterPredicate | undefined;
55
+ type: "content" | "info" | undefined;
55
56
  };
56
57
  configInput: {
57
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
58
- type?: "content" | "summary" | "info" | undefined;
58
+ filter?: _backstage_filter_predicates.FilterPredicate | undefined;
59
+ type?: "content" | "info" | undefined;
59
60
  };
60
61
  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", {
61
62
  optional: true;
@@ -67,7 +68,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
67
68
  inputs: {};
68
69
  params: {
69
70
  loader: () => Promise<JSX.Element>;
70
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
71
+ filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
71
72
  type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
72
73
  };
73
74
  }>;
@@ -75,12 +76,12 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
75
76
  kind: "entity-card";
76
77
  name: "overview-dashboard";
77
78
  config: {
78
- filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
79
- type: "content" | "summary" | "info" | undefined;
79
+ filter: _backstage_filter_predicates.FilterPredicate | undefined;
80
+ type: "content" | "info" | undefined;
80
81
  };
81
82
  configInput: {
82
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
83
- type?: "content" | "summary" | "info" | undefined;
83
+ filter?: _backstage_filter_predicates.FilterPredicate | undefined;
84
+ type?: "content" | "info" | undefined;
84
85
  };
85
86
  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", {
86
87
  optional: true;
@@ -92,7 +93,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
92
93
  inputs: {};
93
94
  params: {
94
95
  loader: () => Promise<JSX.Element>;
95
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
96
+ filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
96
97
  type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
97
98
  };
98
99
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-grafana",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "A Backstage backend plugin that integrates towards Grafana",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -63,10 +63,10 @@
63
63
  },
64
64
  "dependencies": {
65
65
  "@backstage/catalog-model": "^1.7.6",
66
- "@backstage/core-components": "^0.18.6",
67
- "@backstage/core-plugin-api": "^1.12.2",
68
- "@backstage/frontend-plugin-api": "^0.13.4",
69
- "@backstage/plugin-catalog-react": "^1.21.6",
66
+ "@backstage/core-components": "^0.18.7",
67
+ "@backstage/core-plugin-api": "^1.12.3",
68
+ "@backstage/frontend-plugin-api": "^0.14.1",
69
+ "@backstage/plugin-catalog-react": "^2.0.0",
70
70
  "@material-ui/core": "^4.12.2",
71
71
  "@material-ui/lab": "4.0.0-alpha.61",
72
72
  "cross-fetch": "^4.0.0",
@@ -79,11 +79,11 @@
79
79
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
80
80
  },
81
81
  "devDependencies": {
82
- "@backstage/cli": "^0.35.3",
83
- "@backstage/core-app-api": "^1.19.4",
84
- "@backstage/dev-utils": "^1.1.19",
85
- "@backstage/frontend-test-utils": "^0.4.5",
86
- "@backstage/test-utils": "^1.7.14",
82
+ "@backstage/cli": "^0.35.4",
83
+ "@backstage/core-app-api": "^1.19.5",
84
+ "@backstage/dev-utils": "^1.1.20",
85
+ "@backstage/frontend-test-utils": "^0.5.0",
86
+ "@backstage/test-utils": "^1.7.15",
87
87
  "@testing-library/jest-dom": "^6.0.0",
88
88
  "@testing-library/react": "^15.0.0",
89
89
  "@testing-library/user-event": "^14.0.0",