@backstage/plugin-catalog-graph 0.5.4-next.0 → 0.5.4

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,32 @@
1
1
  # @backstage/plugin-catalog-graph
2
2
 
3
+ ## 0.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - a67c144: Fixed zoom out description (replace `&` with &)
8
+ - f3f84f1: Minor extension type updates after frontend API bump
9
+ - d02db50: Remove unnecessary use of `compatWrapper` and `convertLegacyRouteRef`(s) for the new frontend system.
10
+ - Updated dependencies
11
+ - @backstage/frontend-plugin-api@0.13.2
12
+ - @backstage/core-components@0.18.4
13
+ - @backstage/plugin-catalog-react@1.21.4
14
+ - @backstage/core-plugin-api@1.12.1
15
+
16
+ ## 0.5.4-next.1
17
+
18
+ ### Patch Changes
19
+
20
+ - f3f84f1: Minor extension type updates after frontend API bump
21
+ - Updated dependencies
22
+ - @backstage/frontend-plugin-api@0.13.2-next.1
23
+ - @backstage/plugin-catalog-react@1.21.4-next.2
24
+ - @backstage/core-components@0.18.4-next.2
25
+ - @backstage/catalog-client@1.12.1
26
+ - @backstage/catalog-model@1.7.6
27
+ - @backstage/core-plugin-api@1.12.1-next.0
28
+ - @backstage/types@1.2.2
29
+
3
30
  ## 0.5.4-next.0
4
31
 
5
32
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -60,7 +60,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
60
60
  curve: "curveStepBefore" | "curveMonotoneX" | undefined;
61
61
  title: string | undefined;
62
62
  height: number | undefined;
63
- } & {
64
63
  filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
65
64
  type: "content" | "summary" | "info" | undefined;
66
65
  };
@@ -76,7 +75,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
76
75
  mergeRelations?: boolean | undefined;
77
76
  relationPairs?: [string, string][] | undefined;
78
77
  unidirectional?: boolean | undefined;
79
- } & {
80
78
  filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
81
79
  type?: "content" | "summary" | "info" | undefined;
82
80
  };
@@ -87,12 +85,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
87
85
  }> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
88
86
  optional: true;
89
87
  }>;
90
- inputs: {
91
- [x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef, {
92
- singleton: boolean;
93
- optional: boolean;
94
- }>;
95
- };
88
+ inputs: {};
96
89
  kind: "entity-card";
97
90
  name: "relations";
98
91
  params: {
@@ -116,7 +109,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
116
109
  relations: string[] | undefined;
117
110
  relationPairs: [string, string][] | undefined;
118
111
  zoom: "disabled" | "enabled" | "enable-on-click" | undefined;
119
- } & {
120
112
  path: string | undefined;
121
113
  };
122
114
  configInput: {
@@ -133,18 +125,12 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
133
125
  selectedRelations?: string[] | undefined;
134
126
  selectedKinds?: string[] | undefined;
135
127
  showFilters?: boolean | undefined;
136
- } & {
137
128
  path?: string | undefined;
138
129
  };
139
130
  output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
140
131
  optional: true;
141
132
  }>;
142
- inputs: {
143
- [x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef, {
144
- singleton: boolean;
145
- optional: boolean;
146
- }>;
147
- };
133
+ inputs: {};
148
134
  kind: "page";
149
135
  name: undefined;
150
136
  params: {
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ import { DependencyGraphTypes } from '@backstage/core-components';
5
5
  import * as react from 'react';
6
6
  import { MouseEventHandler, MouseEvent } from 'react';
7
7
  import { JsonObject } from '@backstage/types';
8
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
8
9
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
9
10
 
10
11
  /**
@@ -216,7 +217,7 @@ declare const CatalogGraphPage: (props: {
216
217
  *
217
218
  * @public
218
219
  */
219
- declare const catalogGraphApiRef: _backstage_core_plugin_api.ApiRef<CatalogGraphApi>;
220
+ declare const catalogGraphApiRef: _backstage_frontend_plugin_api.ApiRef<CatalogGraphApi>;
220
221
  /** @public */
221
222
  type DefaultRelationsInclude = {
222
223
  include: string[];
@@ -308,4 +309,5 @@ interface TransformationContext {
308
309
  maxDepth: number;
309
310
  }
310
311
 
311
- export { ALL_RELATIONS, ALL_RELATION_PAIRS, type CatalogGraphApi, CatalogGraphPage, type CustomLabelClassKey, type CustomNodeClassKey, DefaultCatalogGraphApi, type DefaultCatalogGraphApiOptions, type DefaultRelations, type DefaultRelationsExclude, type DefaultRelationsInclude, Direction, EntityCatalogGraphCard, type EntityEdge, type EntityEdgeData, type EntityNode, type EntityNodeData, EntityRelationsGraph, type EntityRelationsGraphClassKey, type EntityRelationsGraphProps, type RelationPairs, type TransformationContext, catalogGraphApiRef, catalogGraphPlugin, catalogGraphRouteRef };
312
+ export { ALL_RELATIONS, ALL_RELATION_PAIRS, CatalogGraphPage, DefaultCatalogGraphApi, Direction, EntityCatalogGraphCard, EntityRelationsGraph, catalogGraphApiRef, catalogGraphPlugin, catalogGraphRouteRef };
313
+ export type { CatalogGraphApi, CustomLabelClassKey, CustomNodeClassKey, DefaultCatalogGraphApiOptions, DefaultRelations, DefaultRelationsExclude, DefaultRelationsInclude, EntityEdge, EntityEdgeData, EntityNode, EntityNodeData, EntityRelationsGraphClassKey, EntityRelationsGraphProps, RelationPairs, TransformationContext };
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-catalog-graph";
2
- var version = "0.5.4-next.0";
2
+ var version = "0.5.4";
3
3
  var backstage = {
4
4
  role: "frontend-plugin",
5
5
  pluginId: "catalog-graph",
@@ -18,7 +18,7 @@ var repository = {
18
18
  };
19
19
  var license = "Apache-2.0";
20
20
  var sideEffects = false;
21
- var exports = {
21
+ var exports$1 = {
22
22
  ".": "./src/index.ts",
23
23
  "./alpha": "./src/alpha.tsx",
24
24
  "./package.json": "./package.json"
@@ -99,7 +99,7 @@ var _package = {
99
99
  repository: repository,
100
100
  license: license,
101
101
  sideEffects: sideEffects,
102
- exports: exports,
102
+ exports: exports$1,
103
103
  main: main,
104
104
  types: types,
105
105
  typesVersions: typesVersions,
@@ -111,5 +111,5 @@ var _package = {
111
111
  peerDependenciesMeta: peerDependenciesMeta
112
112
  };
113
113
 
114
- export { backstage, _package as default, dependencies, devDependencies, exports, files, homepage, license, main, name, peerDependencies, peerDependenciesMeta, publishConfig, repository, scripts, sideEffects, types, typesVersions, version };
114
+ export { backstage, _package as default, dependencies, devDependencies, exports$1 as exports, files, homepage, license, main, name, peerDependencies, peerDependenciesMeta, publishConfig, repository, scripts, sideEffects, types, typesVersions, version };
115
115
  //# sourceMappingURL=package.json.esm.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-graph",
3
- "version": "0.5.4-next.0",
3
+ "version": "0.5.4",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "catalog-graph",
@@ -61,13 +61,13 @@
61
61
  "test": "backstage-cli package test"
62
62
  },
63
63
  "dependencies": {
64
- "@backstage/catalog-client": "1.12.1",
65
- "@backstage/catalog-model": "1.7.6",
66
- "@backstage/core-components": "0.18.4-next.0",
67
- "@backstage/core-plugin-api": "1.12.1-next.0",
68
- "@backstage/frontend-plugin-api": "0.13.2-next.0",
69
- "@backstage/plugin-catalog-react": "1.21.4-next.0",
70
- "@backstage/types": "1.2.2",
64
+ "@backstage/catalog-client": "^1.12.1",
65
+ "@backstage/catalog-model": "^1.7.6",
66
+ "@backstage/core-components": "^0.18.4",
67
+ "@backstage/core-plugin-api": "^1.12.1",
68
+ "@backstage/frontend-plugin-api": "^0.13.2",
69
+ "@backstage/plugin-catalog-react": "^1.21.4",
70
+ "@backstage/types": "^1.2.2",
71
71
  "@material-ui/core": "^4.12.2",
72
72
  "@material-ui/icons": "^4.9.1",
73
73
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -78,11 +78,11 @@
78
78
  "react-use": "^17.2.4"
79
79
  },
80
80
  "devDependencies": {
81
- "@backstage/cli": "0.34.6-next.0",
82
- "@backstage/core-app-api": "1.19.3-next.0",
83
- "@backstage/dev-utils": "1.1.18-next.0",
84
- "@backstage/plugin-catalog": "1.32.1-next.0",
85
- "@backstage/test-utils": "1.7.14-next.0",
81
+ "@backstage/cli": "^0.35.0",
82
+ "@backstage/core-app-api": "^1.19.3",
83
+ "@backstage/dev-utils": "^1.1.18",
84
+ "@backstage/plugin-catalog": "^1.32.1",
85
+ "@backstage/test-utils": "^1.7.14",
86
86
  "@testing-library/dom": "^10.0.0",
87
87
  "@testing-library/jest-dom": "^6.0.0",
88
88
  "@testing-library/react": "^16.0.0",