@backstage/plugin-catalog-graph 0.4.8 → 0.4.9-next.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,20 @@
1
1
  # @backstage/plugin-catalog-graph
2
2
 
3
+ ## 0.4.9-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - fec8b57: Updated exports to use the new type parameters for extensions and extension blueprints.
8
+ - Updated dependencies
9
+ - @backstage/frontend-plugin-api@0.8.0-next.0
10
+ - @backstage/core-compat-api@0.2.9-next.0
11
+ - @backstage/plugin-catalog-react@1.12.4-next.0
12
+ - @backstage/catalog-client@1.6.6
13
+ - @backstage/catalog-model@1.6.0
14
+ - @backstage/core-components@0.14.10
15
+ - @backstage/core-plugin-api@1.9.3
16
+ - @backstage/types@1.1.1
17
+
3
18
  ## 0.4.8
4
19
 
5
20
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-graph__alpha",
3
- "version": "0.4.8",
3
+ "version": "0.4.9-next.0",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/dist/alpha.d.ts CHANGED
@@ -13,87 +13,95 @@ declare const _default: _backstage_frontend_plugin_api.BackstagePlugin<{
13
13
  }>;
14
14
  }, {
15
15
  "entity-card:catalog-graph/relations": _backstage_frontend_plugin_api.ExtensionDefinition<{
16
- kinds: string[] | undefined;
17
- relations: string[] | undefined;
18
- maxDepth: number | undefined;
19
- unidirectional: boolean | undefined;
20
- mergeRelations: boolean | undefined;
21
- direction: Direction | undefined;
22
- relationPairs: [string, string][] | undefined;
23
- zoom: "disabled" | "enabled" | "enable-on-click" | undefined;
24
- curve: "curveStepBefore" | "curveMonotoneX" | undefined;
25
- title: string | undefined;
26
- height: number | undefined;
27
- } & {
28
- filter: string | undefined;
29
- }, {
30
- height?: number | undefined;
31
- curve?: "curveStepBefore" | "curveMonotoneX" | undefined;
32
- direction?: Direction | undefined;
33
- title?: string | undefined;
34
- zoom?: "disabled" | "enabled" | "enable-on-click" | undefined;
35
- relations?: string[] | undefined;
36
- maxDepth?: number | undefined;
37
- kinds?: string[] | undefined;
38
- unidirectional?: boolean | undefined;
39
- mergeRelations?: boolean | undefined;
40
- relationPairs?: [string, string][] | undefined;
41
- } & {
42
- filter?: string | undefined;
43
- }, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
44
- optional: true;
45
- }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
46
- optional: true;
47
- }>, {
48
- [x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.AnyExtensionDataRef, {
49
- optional: boolean;
50
- singleton: boolean;
16
+ config: {
17
+ kinds: string[] | undefined;
18
+ relations: string[] | undefined;
19
+ maxDepth: number | undefined;
20
+ unidirectional: boolean | undefined;
21
+ mergeRelations: boolean | undefined;
22
+ direction: Direction | undefined;
23
+ relationPairs: [string, string][] | undefined;
24
+ zoom: "disabled" | "enabled" | "enable-on-click" | undefined;
25
+ curve: "curveStepBefore" | "curveMonotoneX" | undefined;
26
+ title: string | undefined;
27
+ height: number | undefined;
28
+ } & {
29
+ filter: string | undefined;
30
+ };
31
+ configInput: {
32
+ height?: number | undefined;
33
+ curve?: "curveStepBefore" | "curveMonotoneX" | undefined;
34
+ direction?: Direction | undefined;
35
+ title?: string | undefined;
36
+ zoom?: "disabled" | "enabled" | "enable-on-click" | undefined;
37
+ relations?: string[] | undefined;
38
+ maxDepth?: number | undefined;
39
+ kinds?: string[] | undefined;
40
+ unidirectional?: boolean | undefined;
41
+ mergeRelations?: boolean | undefined;
42
+ relationPairs?: [string, string][] | undefined;
43
+ } & {
44
+ filter?: string | undefined;
45
+ };
46
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
47
+ optional: true;
48
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
49
+ optional: true;
51
50
  }>;
52
- }, {
51
+ inputs: {
52
+ [x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.AnyExtensionDataRef, {
53
+ optional: boolean;
54
+ singleton: boolean;
55
+ }>;
56
+ };
53
57
  kind: "entity-card";
54
58
  namespace: undefined;
55
59
  name: "relations";
56
60
  }>;
57
61
  "page:catalog-graph": _backstage_frontend_plugin_api.ExtensionDefinition<{
58
- selectedKinds: string[] | undefined;
59
- selectedRelations: string[] | undefined;
60
- rootEntityRefs: string[] | undefined;
61
- maxDepth: number | undefined;
62
- unidirectional: boolean | undefined;
63
- mergeRelations: boolean | undefined;
64
- direction: Direction | undefined;
65
- showFilters: boolean | undefined;
66
- curve: "curveStepBefore" | "curveMonotoneX" | undefined;
67
- kinds: string[] | undefined;
68
- relations: string[] | undefined;
69
- relationPairs: [string, string][] | undefined;
70
- zoom: "disabled" | "enabled" | "enable-on-click" | undefined;
71
- } & {
72
- path: string | undefined;
73
- }, {
74
- curve?: "curveStepBefore" | "curveMonotoneX" | undefined;
75
- direction?: Direction | undefined;
76
- zoom?: "disabled" | "enabled" | "enable-on-click" | undefined;
77
- relations?: string[] | undefined;
78
- rootEntityRefs?: string[] | undefined;
79
- maxDepth?: number | undefined;
80
- kinds?: string[] | undefined;
81
- unidirectional?: boolean | undefined;
82
- mergeRelations?: boolean | undefined;
83
- relationPairs?: [string, string][] | undefined;
84
- selectedRelations?: string[] | undefined;
85
- selectedKinds?: string[] | undefined;
86
- showFilters?: boolean | undefined;
87
- } & {
88
- path?: string | undefined;
89
- }, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
90
- optional: true;
91
- }>, {
92
- [x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.AnyExtensionDataRef, {
93
- optional: boolean;
94
- singleton: boolean;
62
+ config: {
63
+ selectedKinds: string[] | undefined;
64
+ selectedRelations: string[] | undefined;
65
+ rootEntityRefs: string[] | undefined;
66
+ maxDepth: number | undefined;
67
+ unidirectional: boolean | undefined;
68
+ mergeRelations: boolean | undefined;
69
+ direction: Direction | undefined;
70
+ showFilters: boolean | undefined;
71
+ curve: "curveStepBefore" | "curveMonotoneX" | undefined;
72
+ kinds: string[] | undefined;
73
+ relations: string[] | undefined;
74
+ relationPairs: [string, string][] | undefined;
75
+ zoom: "disabled" | "enabled" | "enable-on-click" | undefined;
76
+ } & {
77
+ path: string | undefined;
78
+ };
79
+ configInput: {
80
+ curve?: "curveStepBefore" | "curveMonotoneX" | undefined;
81
+ direction?: Direction | undefined;
82
+ zoom?: "disabled" | "enabled" | "enable-on-click" | undefined;
83
+ relations?: string[] | undefined;
84
+ rootEntityRefs?: string[] | undefined;
85
+ maxDepth?: number | undefined;
86
+ kinds?: string[] | undefined;
87
+ unidirectional?: boolean | undefined;
88
+ mergeRelations?: boolean | undefined;
89
+ relationPairs?: [string, string][] | undefined;
90
+ selectedRelations?: string[] | undefined;
91
+ selectedKinds?: string[] | undefined;
92
+ showFilters?: boolean | undefined;
93
+ } & {
94
+ path?: string | undefined;
95
+ };
96
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
97
+ optional: true;
95
98
  }>;
96
- }, {
99
+ inputs: {
100
+ [x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.AnyExtensionDataRef, {
101
+ optional: boolean;
102
+ singleton: boolean;
103
+ }>;
104
+ };
97
105
  kind: "page";
98
106
  namespace: undefined;
99
107
  name: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-graph",
3
- "version": "0.4.8",
3
+ "version": "0.4.9-next.0",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "catalog-graph",
@@ -50,11 +50,11 @@
50
50
  "dependencies": {
51
51
  "@backstage/catalog-client": "^1.6.6",
52
52
  "@backstage/catalog-model": "^1.6.0",
53
- "@backstage/core-compat-api": "^0.2.8",
53
+ "@backstage/core-compat-api": "^0.2.9-next.0",
54
54
  "@backstage/core-components": "^0.14.10",
55
55
  "@backstage/core-plugin-api": "^1.9.3",
56
- "@backstage/frontend-plugin-api": "^0.7.0",
57
- "@backstage/plugin-catalog-react": "^1.12.3",
56
+ "@backstage/frontend-plugin-api": "^0.8.0-next.0",
57
+ "@backstage/plugin-catalog-react": "^1.12.4-next.0",
58
58
  "@backstage/types": "^1.1.1",
59
59
  "@material-ui/core": "^4.12.2",
60
60
  "@material-ui/icons": "^4.9.1",
@@ -67,11 +67,11 @@
67
67
  "react-use": "^17.2.4"
68
68
  },
69
69
  "devDependencies": {
70
- "@backstage/cli": "^0.27.0",
70
+ "@backstage/cli": "^0.27.1-next.0",
71
71
  "@backstage/core-app-api": "^1.14.2",
72
- "@backstage/dev-utils": "^1.0.37",
73
- "@backstage/plugin-catalog": "^1.22.0",
74
- "@backstage/test-utils": "^1.5.10",
72
+ "@backstage/dev-utils": "^1.0.38-next.0",
73
+ "@backstage/plugin-catalog": "^1.22.1-next.0",
74
+ "@backstage/test-utils": "^1.6.0-next.0",
75
75
  "@testing-library/dom": "^10.0.0",
76
76
  "@testing-library/jest-dom": "^6.0.0",
77
77
  "@testing-library/react": "^15.0.0",