@backstage-community/plugin-cost-insights 0.29.0 → 0.30.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,22 @@
1
1
  # @backstage-community/plugin-cost-insights
2
2
 
3
+ ## 0.30.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ba3719d: Backstage version bump to v1.53.0
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [ba3719d]
12
+ - @backstage-community/plugin-cost-insights-common@0.15.0
13
+
14
+ ## 0.29.1
15
+
16
+ ### Patch Changes
17
+
18
+ - 582443e: Removed NavItemBlueprint that was removed in Backstage 1.51.0
19
+
3
20
  ## 0.29.0
4
21
 
5
22
  ### Minor Changes
@@ -0,0 +1,166 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "costInsights": {
6
+ "type": "object",
7
+ "properties": {
8
+ "engineerCost": {
9
+ "type": "number",
10
+ "visibility": "frontend"
11
+ },
12
+ "engineerThreshold": {
13
+ "type": "number",
14
+ "visibility": "frontend"
15
+ },
16
+ "hideTrendLine": {
17
+ "type": "boolean",
18
+ "visibility": "frontend"
19
+ },
20
+ "baseCurrency": {
21
+ "type": "object",
22
+ "properties": {
23
+ "locale": {
24
+ "type": "string",
25
+ "visibility": "frontend"
26
+ },
27
+ "options": {
28
+ "type": "object",
29
+ "properties": {
30
+ "localeMatcher": {
31
+ "type": "string",
32
+ "visibility": "frontend"
33
+ },
34
+ "style": {
35
+ "type": "string",
36
+ "visibility": "frontend"
37
+ },
38
+ "currency": {
39
+ "type": "string",
40
+ "visibility": "frontend"
41
+ },
42
+ "currencySign": {
43
+ "type": "string",
44
+ "visibility": "frontend"
45
+ },
46
+ "useGrouping": {
47
+ "type": "boolean",
48
+ "visibility": "frontend"
49
+ },
50
+ "minimumIntegerDigits": {
51
+ "type": "number",
52
+ "visibility": "frontend"
53
+ },
54
+ "minimumFractionDigits": {
55
+ "type": "number",
56
+ "visibility": "frontend"
57
+ },
58
+ "maximumFractionDigits": {
59
+ "type": "number",
60
+ "visibility": "frontend"
61
+ },
62
+ "minimumSignificantDigits": {
63
+ "type": "number",
64
+ "visibility": "frontend"
65
+ },
66
+ "maximumSignificantDigits": {
67
+ "type": "number",
68
+ "visibility": "frontend"
69
+ }
70
+ }
71
+ }
72
+ },
73
+ "visibility": "frontend"
74
+ },
75
+ "products": {
76
+ "type": "object",
77
+ "additionalProperties": {
78
+ "type": "object",
79
+ "properties": {
80
+ "name": {
81
+ "type": "string",
82
+ "visibility": "frontend"
83
+ },
84
+ "icon": {
85
+ "type": "string",
86
+ "enum": [
87
+ "compute",
88
+ "data",
89
+ "database",
90
+ "storage",
91
+ "search",
92
+ "ml"
93
+ ],
94
+ "visibility": "frontend"
95
+ }
96
+ },
97
+ "required": [
98
+ "name"
99
+ ]
100
+ }
101
+ },
102
+ "metrics": {
103
+ "type": "object",
104
+ "additionalProperties": {
105
+ "type": "object",
106
+ "properties": {
107
+ "name": {
108
+ "type": "string",
109
+ "visibility": "frontend"
110
+ },
111
+ "default": {
112
+ "type": "boolean",
113
+ "visibility": "frontend"
114
+ }
115
+ },
116
+ "required": [
117
+ "name"
118
+ ]
119
+ }
120
+ },
121
+ "currencies": {
122
+ "type": "object",
123
+ "additionalProperties": {
124
+ "type": "object",
125
+ "properties": {
126
+ "label": {
127
+ "type": "string",
128
+ "visibility": "frontend"
129
+ },
130
+ "unit": {
131
+ "type": "string",
132
+ "visibility": "frontend"
133
+ },
134
+ "kind": {
135
+ "type": "string",
136
+ "visibility": "frontend"
137
+ },
138
+ "prefix": {
139
+ "type": "string",
140
+ "visibility": "frontend"
141
+ },
142
+ "rate": {
143
+ "type": "number",
144
+ "visibility": "frontend"
145
+ },
146
+ "default": {
147
+ "type": "boolean",
148
+ "visibility": "frontend"
149
+ }
150
+ },
151
+ "required": [
152
+ "label",
153
+ "unit"
154
+ ]
155
+ }
156
+ }
157
+ },
158
+ "required": [
159
+ "engineerCost"
160
+ ]
161
+ }
162
+ },
163
+ "required": [
164
+ "costInsights"
165
+ ]
166
+ }
@@ -1,5 +1,5 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { ApiBlueprint, PageBlueprint, NavItemBlueprint, createFrontendPlugin } from '@backstage/frontend-plugin-api';
2
+ import { ApiBlueprint, PageBlueprint, createFrontendPlugin } from '@backstage/frontend-plugin-api';
3
3
  import { compatWrapper, convertLegacyRouteRef, convertLegacyRouteRefs } from '@backstage/core-compat-api';
4
4
  import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
5
5
  import MoneyIcon from '@material-ui/icons/MonetizationOn';
@@ -102,6 +102,8 @@ const CostInsightsApi = ApiBlueprint.make({
102
102
  const CostInsightsPage = PageBlueprint.make({
103
103
  params: {
104
104
  path: "/cost-insights",
105
+ title: "Cost Insights",
106
+ icon: /* @__PURE__ */ jsx(MoneyIcon, {}),
105
107
  routeRef: convertLegacyRouteRef(rootRouteRef),
106
108
  loader: () => import('./router.esm.js').then((m) => compatWrapper(/* @__PURE__ */ jsx(m.CostInsightsRouter, {})))
107
109
  }
@@ -116,20 +118,13 @@ EntityContentBlueprint.make({
116
118
  )
117
119
  }
118
120
  });
119
- const CostInsightsNavItem = NavItemBlueprint.make({
120
- params: {
121
- title: "Cost Insights",
122
- routeRef: convertLegacyRouteRef(rootRouteRef),
123
- icon: MoneyIcon
124
- }
125
- });
126
121
  var plugin = createFrontendPlugin({
127
122
  pluginId: "cost-insights",
128
- extensions: [CostInsightsApi, CostInsightsPage, CostInsightsNavItem],
123
+ extensions: [CostInsightsApi, CostInsightsPage],
129
124
  routes: convertLegacyRouteRefs({
130
125
  root: rootRouteRef
131
126
  })
132
127
  });
133
128
 
134
- export { CostInsightsApi, CostInsightsNavItem, CostInsightsPage, plugin as default };
129
+ export { CostInsightsApi, CostInsightsPage, plugin as default };
135
130
  //# sourceMappingURL=plugin.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n PageBlueprint,\n NavItemBlueprint,\n createFrontendPlugin,\n ApiBlueprint,\n} from '@backstage/frontend-plugin-api';\nimport {\n compatWrapper,\n convertLegacyRouteRef,\n convertLegacyRouteRefs,\n} from '@backstage/core-compat-api';\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\nimport MoneyIcon from '@material-ui/icons/MonetizationOn';\nimport { rootRouteRef } from '../routes';\nimport { costInsightsApiRef } from '../api';\nimport { ExampleCostInsightsClient } from '../example';\n\n/** @alpha */\nexport const CostInsightsApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: costInsightsApiRef,\n deps: {},\n factory: ({}) => new ExampleCostInsightsClient(),\n }),\n});\n\n/** @alpha */\nexport const CostInsightsPage = PageBlueprint.make({\n params: {\n path: '/cost-insights',\n routeRef: convertLegacyRouteRef(rootRouteRef),\n loader: () =>\n import('./router').then(m => compatWrapper(<m.CostInsightsRouter />)),\n },\n});\n\n/** @alpha */\nexport const EntityCostInsightsContent = EntityContentBlueprint.make({\n name: 'EntityCostInsightsContent',\n params: {\n path: '/cost-insights',\n title: 'Cost Insights',\n loader: () =>\n import('../components/EntityCosts').then(m =>\n compatWrapper(<m.EntityCosts />),\n ),\n },\n});\n\n/**\n * @alpha\n */\nexport const CostInsightsNavItem = NavItemBlueprint.make({\n params: {\n title: 'Cost Insights',\n routeRef: convertLegacyRouteRef(rootRouteRef),\n icon: MoneyIcon,\n },\n});\n\nexport default createFrontendPlugin({\n pluginId: 'cost-insights',\n extensions: [CostInsightsApi, CostInsightsPage, CostInsightsNavItem],\n routes: convertLegacyRouteRefs({\n root: rootRouteRef,\n }),\n});\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCO,MAAM,eAAA,GAAkB,aAAa,IAAA,CAAK;AAAA,EAC/C,MAAA,EAAQ,kBACN,YAAA,CAAa;AAAA,IACX,GAAA,EAAK,kBAAA;AAAA,IACL,MAAM,EAAC;AAAA,IACP,OAAA,EAAS,CAAC,EAAC,KAAM,IAAI,yBAAA;AAA0B,GAChD;AACL,CAAC;AAGM,MAAM,gBAAA,GAAmB,cAAc,IAAA,CAAK;AAAA,EACjD,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,gBAAA;AAAA,IACN,QAAA,EAAU,sBAAsB,YAAY,CAAA;AAAA,IAC5C,MAAA,EAAQ,MACN,OAAO,iBAAU,CAAA,CAAE,IAAA,CAAK,CAAA,CAAA,KAAK,aAAA,iBAAc,GAAA,CAAC,CAAA,CAAE,kBAAA,EAAF,EAAqB,CAAE,CAAC;AAAA;AAE1E,CAAC;AAGwC,uBAAuB,IAAA,CAAK;AAAA,EACnE,IAAA,EAAM,2BAAA;AAAA,EACN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,gBAAA;AAAA,IACN,KAAA,EAAO,eAAA;AAAA,IACP,MAAA,EAAQ,MACN,OAAO,wCAA2B,CAAA,CAAE,IAAA;AAAA,MAAK,OACvC,aAAA,iBAAc,GAAA,CAAC,CAAA,CAAE,WAAA,EAAF,EAAc,CAAE;AAAA;AACjC;AAEN,CAAC;AAKM,MAAM,mBAAA,GAAsB,iBAAiB,IAAA,CAAK;AAAA,EACvD,MAAA,EAAQ;AAAA,IACN,KAAA,EAAO,eAAA;AAAA,IACP,QAAA,EAAU,sBAAsB,YAAY,CAAA;AAAA,IAC5C,IAAA,EAAM;AAAA;AAEV,CAAC;AAED,aAAe,oBAAA,CAAqB;AAAA,EAClC,QAAA,EAAU,eAAA;AAAA,EACV,UAAA,EAAY,CAAC,eAAA,EAAiB,gBAAA,EAAkB,mBAAmB,CAAA;AAAA,EACnE,QAAQ,sBAAA,CAAuB;AAAA,IAC7B,IAAA,EAAM;AAAA,GACP;AACH,CAAC,CAAA;;;;"}
1
+ {"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n PageBlueprint,\n createFrontendPlugin,\n ApiBlueprint,\n} from '@backstage/frontend-plugin-api';\nimport {\n compatWrapper,\n convertLegacyRouteRef,\n convertLegacyRouteRefs,\n} from '@backstage/core-compat-api';\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\nimport MoneyIcon from '@material-ui/icons/MonetizationOn';\nimport { rootRouteRef } from '../routes';\nimport { costInsightsApiRef } from '../api';\nimport { ExampleCostInsightsClient } from '../example';\n\n/** @alpha */\nexport const CostInsightsApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: costInsightsApiRef,\n deps: {},\n factory: ({}) => new ExampleCostInsightsClient(),\n }),\n});\n\n/** @alpha */\nexport const CostInsightsPage = PageBlueprint.make({\n params: {\n path: '/cost-insights',\n title: 'Cost Insights',\n icon: <MoneyIcon />,\n routeRef: convertLegacyRouteRef(rootRouteRef),\n loader: () =>\n import('./router').then(m => compatWrapper(<m.CostInsightsRouter />)),\n },\n});\n\n/** @alpha */\nexport const EntityCostInsightsContent = EntityContentBlueprint.make({\n name: 'EntityCostInsightsContent',\n params: {\n path: '/cost-insights',\n title: 'Cost Insights',\n loader: () =>\n import('../components/EntityCosts').then(m =>\n compatWrapper(<m.EntityCosts />),\n ),\n },\n});\n\nexport default createFrontendPlugin({\n pluginId: 'cost-insights',\n extensions: [CostInsightsApi, CostInsightsPage],\n routes: convertLegacyRouteRefs({\n root: rootRouteRef,\n }),\n});\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCO,MAAM,eAAA,GAAkB,aAAa,IAAA,CAAK;AAAA,EAC/C,MAAA,EAAQ,kBACN,YAAA,CAAa;AAAA,IACX,GAAA,EAAK,kBAAA;AAAA,IACL,MAAM,EAAC;AAAA,IACP,OAAA,EAAS,CAAC,EAAC,KAAM,IAAI,yBAAA;AAA0B,GAChD;AACL,CAAC;AAGM,MAAM,gBAAA,GAAmB,cAAc,IAAA,CAAK;AAAA,EACjD,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,gBAAA;AAAA,IACN,KAAA,EAAO,eAAA;AAAA,IACP,IAAA,sBAAO,SAAA,EAAA,EAAU,CAAA;AAAA,IACjB,QAAA,EAAU,sBAAsB,YAAY,CAAA;AAAA,IAC5C,MAAA,EAAQ,MACN,OAAO,iBAAU,CAAA,CAAE,IAAA,CAAK,CAAA,CAAA,KAAK,aAAA,iBAAc,GAAA,CAAC,CAAA,CAAE,kBAAA,EAAF,EAAqB,CAAE,CAAC;AAAA;AAE1E,CAAC;AAGwC,uBAAuB,IAAA,CAAK;AAAA,EACnE,IAAA,EAAM,2BAAA;AAAA,EACN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,gBAAA;AAAA,IACN,KAAA,EAAO,eAAA;AAAA,IACP,MAAA,EAAQ,MACN,OAAO,wCAA2B,CAAA,CAAE,IAAA;AAAA,MAAK,OACvC,aAAA,iBAAc,GAAA,CAAC,CAAA,CAAE,WAAA,EAAF,EAAc,CAAE;AAAA;AACjC;AAEN,CAAC;AAED,aAAe,oBAAA,CAAqB;AAAA,EAClC,QAAA,EAAU,eAAA;AAAA,EACV,UAAA,EAAY,CAAC,eAAA,EAAiB,gBAAgB,CAAA;AAAA,EAC9C,QAAQ,sBAAA,CAAuB;AAAA,IAC7B,IAAA,EAAM;AAAA,GACP;AACH,CAAC,CAAA;;;;"}
package/dist/alpha.d.ts CHANGED
@@ -13,27 +13,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
13
13
  inputs: {};
14
14
  params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
15
15
  }>;
16
- "nav-item:cost-insights": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
17
- kind: "nav-item";
18
- name: undefined;
19
- config: {
20
- title: string | undefined;
21
- };
22
- configInput: {
23
- title?: string | undefined;
24
- };
25
- output: _backstage_frontend_plugin_api.ExtensionDataRef<{
26
- title: string;
27
- icon: _backstage_frontend_plugin_api.IconComponent;
28
- routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
29
- }, "core.nav-item.target", {}>;
30
- inputs: {};
31
- params: {
32
- title: string;
33
- icon: _backstage_frontend_plugin_api.IconComponent;
34
- routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
35
- };
36
- }>;
37
16
  "page:cost-insights": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
38
17
  kind: "page";
39
18
  name: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-cost-insights",
3
- "version": "0.29.0",
3
+ "version": "0.30.0",
4
4
  "description": "A Backstage plugin that helps you keep track of your cloud spend",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -55,7 +55,7 @@
55
55
  "types": "./dist/index.d.ts",
56
56
  "files": [
57
57
  "dist",
58
- "config.d.ts"
58
+ "config.schema.json"
59
59
  ],
60
60
  "scripts": {
61
61
  "build": "backstage-cli package build",
@@ -67,14 +67,14 @@
67
67
  "test": "backstage-cli package test"
68
68
  },
69
69
  "dependencies": {
70
- "@backstage-community/plugin-cost-insights-common": "^0.14.0",
70
+ "@backstage-community/plugin-cost-insights-common": "^0.15.0",
71
71
  "@backstage/catalog-model": "^1.9.0",
72
72
  "@backstage/config": "^1.3.8",
73
- "@backstage/core-compat-api": "^0.5.12",
74
- "@backstage/core-components": "^0.18.11",
75
- "@backstage/core-plugin-api": "^1.12.7",
76
- "@backstage/frontend-plugin-api": "^0.17.2",
77
- "@backstage/plugin-catalog-react": "^3.1.0",
73
+ "@backstage/core-compat-api": "^0.5.13",
74
+ "@backstage/core-components": "^0.18.12",
75
+ "@backstage/core-plugin-api": "^1.12.8",
76
+ "@backstage/frontend-plugin-api": "^0.17.3",
77
+ "@backstage/plugin-catalog-react": "^3.2.0",
78
78
  "@backstage/theme": "^0.7.3",
79
79
  "@date-io/luxon": "1.x",
80
80
  "@material-ui/core": "^4.12.2",
@@ -95,10 +95,10 @@
95
95
  "yup": "^1.0.0"
96
96
  },
97
97
  "devDependencies": {
98
- "@backstage/cli": "^0.36.3",
99
- "@backstage/core-app-api": "^1.20.2",
100
- "@backstage/dev-utils": "^1.1.24",
101
- "@backstage/test-utils": "^1.7.19",
98
+ "@backstage/cli": "^0.36.4",
99
+ "@backstage/core-app-api": "^1.20.3",
100
+ "@backstage/dev-utils": "^1.1.25",
101
+ "@backstage/test-utils": "^1.7.20",
102
102
  "@testing-library/dom": "^10.0.0",
103
103
  "@testing-library/jest-dom": "^6.0.0",
104
104
  "@testing-library/react": "^15.0.0",
@@ -118,6 +118,6 @@
118
118
  "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
119
119
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
120
120
  },
121
- "configSchema": "config.d.ts",
121
+ "configSchema": "config.schema.json",
122
122
  "module": "./dist/index.esm.js"
123
123
  }
package/config.d.ts DELETED
@@ -1,148 +0,0 @@
1
- /*
2
- * Copyright 2020 The Backstage Authors
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- export interface Config {
18
- costInsights: {
19
- /**
20
- * @visibility frontend
21
- */
22
- engineerCost: number;
23
-
24
- /**
25
- * @visibility frontend
26
- */
27
- engineerThreshold?: number;
28
-
29
- /**
30
- * @visibility frontend
31
- */
32
- hideTrendLine?: boolean;
33
-
34
- /**
35
- * @visibility frontend
36
- */
37
- baseCurrency?: {
38
- /**
39
- * @visibility frontend
40
- */
41
- locale?: string;
42
- options?: {
43
- /**
44
- * @visibility frontend
45
- */
46
- localeMatcher?: string | undefined;
47
- /**
48
- * @visibility frontend
49
- */
50
- style?: string | undefined;
51
- /**
52
- * @visibility frontend
53
- */
54
- currency?: string | undefined;
55
- /**
56
- * @visibility frontend
57
- */
58
- currencySign?: string | undefined;
59
- /**
60
- * @visibility frontend
61
- */
62
- useGrouping?: boolean | undefined;
63
- /**
64
- * @visibility frontend
65
- */
66
- minimumIntegerDigits?: number | undefined;
67
- /**
68
- * @visibility frontend
69
- */
70
- minimumFractionDigits?: number | undefined;
71
- /**
72
- * @visibility frontend
73
- */
74
- maximumFractionDigits?: number | undefined;
75
- /**
76
- * @visibility frontend
77
- */
78
- minimumSignificantDigits?: number | undefined;
79
- /**
80
- * @visibility frontend
81
- */
82
- maximumSignificantDigits?: number | undefined;
83
- };
84
- };
85
-
86
- products?: {
87
- [kind: string]: {
88
- /**
89
- * @visibility frontend
90
- */
91
- name: string;
92
-
93
- /**
94
- * @visibility frontend
95
- */
96
- icon?: 'compute' | 'data' | 'database' | 'storage' | 'search' | 'ml';
97
- };
98
- };
99
-
100
- metrics?: {
101
- [kind: string]: {
102
- /**
103
- * @visibility frontend
104
- */
105
- name: string;
106
-
107
- /**
108
- * @visibility frontend
109
- */
110
- default?: boolean;
111
- };
112
- };
113
-
114
- currencies?: {
115
- [id: string]: {
116
- /**
117
- * @visibility frontend
118
- */
119
- label: string;
120
-
121
- /**
122
- * @visibility frontend
123
- */
124
- unit: string;
125
-
126
- /**
127
- * @visibility frontend
128
- */
129
- kind?: string;
130
-
131
- /**
132
- * @visibility frontend
133
- */
134
- prefix?: string;
135
-
136
- /**
137
- * @visibility frontend
138
- */
139
- rate?: number;
140
-
141
- /**
142
- * @visibility frontend
143
- */
144
- default?: boolean;
145
- };
146
- };
147
- };
148
- }