@backstage-community/plugin-cost-insights 0.22.1 → 0.24.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,27 @@
1
1
  # @backstage-community/plugin-cost-insights
2
2
 
3
+ ## 0.24.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 611f143: Backstage version bump to v1.46.1
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [611f143]
12
+ - @backstage-community/plugin-cost-insights-common@0.11.0
13
+
14
+ ## 0.23.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 01e0ee5: Backstage version bump to v1.45.1
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [01e0ee5]
23
+ - @backstage-community/plugin-cost-insights-common@0.10.0
24
+
3
25
  ## 0.22.1
4
26
 
5
27
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -1,40 +1,39 @@
1
1
  /// <reference types="react" />
2
2
  import * as react from 'react';
3
3
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
4
- import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
5
4
 
6
5
  declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
7
6
  root: _backstage_frontend_plugin_api.RouteRef<undefined>;
8
7
  }, {}, {
9
- "api:cost-insights": _backstage_frontend_plugin_api.ExtensionDefinition<{
8
+ "api:cost-insights": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
10
9
  kind: "api";
11
10
  name: undefined;
12
11
  config: {};
13
12
  configInput: {};
14
- output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
13
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
15
14
  inputs: {};
16
15
  params: <TApi, TImpl extends TApi, TDeps extends {
17
16
  [x: string]: unknown;
18
- }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
17
+ }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
19
18
  }>;
20
- "nav-item:cost-insights": _backstage_frontend_plugin_api.ExtensionDefinition<{
19
+ "nav-item:cost-insights": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
21
20
  kind: "nav-item";
22
21
  name: undefined;
23
22
  config: {};
24
23
  configInput: {};
25
24
  output: _backstage_frontend_plugin_api.ExtensionDataRef<{
26
25
  title: string;
27
- icon: _backstage_core_plugin_api.IconComponent;
26
+ icon: _backstage_frontend_plugin_api.IconComponent;
28
27
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
29
28
  }, "core.nav-item.target", {}>;
30
29
  inputs: {};
31
30
  params: {
32
31
  title: string;
33
- icon: _backstage_core_plugin_api.IconComponent;
32
+ icon: _backstage_frontend_plugin_api.IconComponent;
34
33
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
35
34
  };
36
35
  }>;
37
- "page:cost-insights": _backstage_frontend_plugin_api.ExtensionDefinition<{
36
+ "page:cost-insights": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
38
37
  kind: "page";
39
38
  name: undefined;
40
39
  config: {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
4
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
4
5
  import * as common from '@backstage-community/plugin-cost-insights-common';
5
6
  import { Maybe as Maybe$1, ChangeStatistic as ChangeStatistic$1, Group as Group$1, Project as Project$1, Cost as Cost$1, MetricData as MetricData$1, Entity as Entity$1, Metric as Metric$1, Product as Product$1 } from '@backstage-community/plugin-cost-insights-common';
6
7
  import { ForwardRefExoticComponent, RefAttributes, ReactNode, PropsWithChildren, Dispatch, SetStateAction } from 'react';
@@ -495,7 +496,7 @@ type CostInsightsApi = {
495
496
  getAlerts(group: string): Promise<Alert[]>;
496
497
  };
497
498
  /** @public */
498
- declare const costInsightsApiRef: _backstage_core_plugin_api.ApiRef<CostInsightsApi>;
499
+ declare const costInsightsApiRef: _backstage_frontend_plugin_api.ApiRef<CostInsightsApi>;
499
500
 
500
501
  /** @public */
501
502
  declare class ExampleCostInsightsClient implements CostInsightsApi {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-cost-insights",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "description": "A Backstage plugin that helps you keep track of your cloud spend",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -67,15 +67,15 @@
67
67
  "test": "backstage-cli package test"
68
68
  },
69
69
  "dependencies": {
70
- "@backstage-community/plugin-cost-insights-common": "^0.9.0",
71
- "@backstage/catalog-model": "^1.7.5",
72
- "@backstage/config": "^1.3.5",
73
- "@backstage/core-compat-api": "^0.5.3",
74
- "@backstage/core-components": "^0.18.2",
75
- "@backstage/core-plugin-api": "^1.11.1",
76
- "@backstage/frontend-plugin-api": "^0.12.1",
77
- "@backstage/plugin-catalog-react": "^1.21.2",
78
- "@backstage/theme": "^0.7.0",
70
+ "@backstage-community/plugin-cost-insights-common": "^0.11.0",
71
+ "@backstage/catalog-model": "^1.7.6",
72
+ "@backstage/config": "^1.3.6",
73
+ "@backstage/core-compat-api": "^0.5.5",
74
+ "@backstage/core-components": "^0.18.4",
75
+ "@backstage/core-plugin-api": "^1.12.1",
76
+ "@backstage/frontend-plugin-api": "^0.13.2",
77
+ "@backstage/plugin-catalog-react": "^1.21.4",
78
+ "@backstage/theme": "^0.7.1",
79
79
  "@material-ui/core": "^4.12.2",
80
80
  "@material-ui/icons": "^4.9.1",
81
81
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -93,10 +93,10 @@
93
93
  "yup": "^1.0.0"
94
94
  },
95
95
  "devDependencies": {
96
- "@backstage/cli": "^0.34.4",
97
- "@backstage/core-app-api": "^1.19.1",
98
- "@backstage/dev-utils": "^1.1.15",
99
- "@backstage/test-utils": "^1.7.12",
96
+ "@backstage/cli": "^0.35.1",
97
+ "@backstage/core-app-api": "^1.19.3",
98
+ "@backstage/dev-utils": "^1.1.18",
99
+ "@backstage/test-utils": "^1.7.14",
100
100
  "@testing-library/dom": "^10.0.0",
101
101
  "@testing-library/jest-dom": "^6.0.0",
102
102
  "@testing-library/react": "^15.0.0",