@backstage/plugin-catalog-graph 0.4.17-next.1 → 0.4.17-next.2
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 +14 -0
- package/dist/alpha.d.ts +9 -9
- package/dist/index.d.ts +13 -14
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-graph
|
|
2
2
|
|
|
3
|
+
## 0.4.17-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/frontend-plugin-api@0.10.0-next.2
|
|
9
|
+
- @backstage/plugin-catalog-react@1.16.0-next.2
|
|
10
|
+
- @backstage/core-compat-api@0.4.0-next.2
|
|
11
|
+
- @backstage/core-components@0.16.5-next.1
|
|
12
|
+
- @backstage/catalog-client@1.9.1
|
|
13
|
+
- @backstage/catalog-model@1.7.3
|
|
14
|
+
- @backstage/core-plugin-api@1.10.4
|
|
15
|
+
- @backstage/types@1.2.1
|
|
16
|
+
|
|
3
17
|
## 0.4.17-next.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
2
1
|
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
2
|
+
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
3
3
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { Direction } from '@backstage/plugin-catalog-graph';
|
|
@@ -27,15 +27,15 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
27
27
|
title: string | undefined;
|
|
28
28
|
height: number | undefined;
|
|
29
29
|
} & {
|
|
30
|
-
filter:
|
|
31
|
-
type: "
|
|
30
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
31
|
+
type: "content" | "summary" | "info" | undefined;
|
|
32
32
|
};
|
|
33
33
|
configInput: {
|
|
34
34
|
height?: number | undefined;
|
|
35
35
|
curve?: "curveStepBefore" | "curveMonotoneX" | undefined;
|
|
36
36
|
direction?: Direction | undefined;
|
|
37
|
-
title?: string | undefined;
|
|
38
37
|
zoom?: "disabled" | "enabled" | "enable-on-click" | undefined;
|
|
38
|
+
title?: string | undefined;
|
|
39
39
|
relations?: string[] | undefined;
|
|
40
40
|
maxDepth?: number | undefined;
|
|
41
41
|
kinds?: string[] | undefined;
|
|
@@ -43,8 +43,8 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
43
43
|
mergeRelations?: boolean | undefined;
|
|
44
44
|
relationPairs?: [string, string][] | undefined;
|
|
45
45
|
} & {
|
|
46
|
-
filter?:
|
|
47
|
-
type?: "
|
|
46
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
47
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
48
48
|
};
|
|
49
49
|
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", {
|
|
50
50
|
optional: true;
|
|
@@ -63,8 +63,8 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
63
63
|
name: "relations";
|
|
64
64
|
params: {
|
|
65
65
|
loader: () => Promise<JSX.Element>;
|
|
66
|
-
filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean)
|
|
67
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType
|
|
66
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
|
|
67
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
68
68
|
};
|
|
69
69
|
}>;
|
|
70
70
|
"page:catalog-graph": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
@@ -116,7 +116,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
116
116
|
params: {
|
|
117
117
|
defaultPath: string;
|
|
118
118
|
loader: () => Promise<JSX.Element>;
|
|
119
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef
|
|
119
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
120
120
|
};
|
|
121
121
|
}>;
|
|
122
122
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Entity, CompoundEntityRef } from '@backstage/catalog-model';
|
|
3
2
|
import * as _backstage_core_components from '@backstage/core-components';
|
|
4
3
|
import { DependencyGraphTypes } from '@backstage/core-components';
|
|
@@ -165,9 +164,9 @@ type CustomNodeClassKey = 'node' | 'text' | 'clickable';
|
|
|
165
164
|
* @public
|
|
166
165
|
*/
|
|
167
166
|
declare const EntityCatalogGraphCard: (props: Partial<EntityRelationsGraphProps> & {
|
|
168
|
-
variant?: _backstage_core_components.InfoCardVariants
|
|
169
|
-
height?: number
|
|
170
|
-
title?: string
|
|
167
|
+
variant?: _backstage_core_components.InfoCardVariants;
|
|
168
|
+
height?: number;
|
|
169
|
+
title?: string;
|
|
171
170
|
action?: React.ReactNode;
|
|
172
171
|
}) => React.JSX.Element;
|
|
173
172
|
/**
|
|
@@ -178,16 +177,16 @@ declare const EntityCatalogGraphCard: (props: Partial<EntityRelationsGraphProps>
|
|
|
178
177
|
*/
|
|
179
178
|
declare const CatalogGraphPage: (props: {
|
|
180
179
|
initialState?: {
|
|
181
|
-
selectedRelations?: string[]
|
|
182
|
-
selectedKinds?: string[]
|
|
183
|
-
rootEntityRefs?: string[]
|
|
184
|
-
maxDepth?: number
|
|
185
|
-
unidirectional?: boolean
|
|
186
|
-
mergeRelations?: boolean
|
|
187
|
-
direction?: Direction
|
|
188
|
-
showFilters?: boolean
|
|
189
|
-
curve?: "curveStepBefore" | "curveMonotoneX"
|
|
190
|
-
}
|
|
180
|
+
selectedRelations?: string[];
|
|
181
|
+
selectedKinds?: string[];
|
|
182
|
+
rootEntityRefs?: string[];
|
|
183
|
+
maxDepth?: number;
|
|
184
|
+
unidirectional?: boolean;
|
|
185
|
+
mergeRelations?: boolean;
|
|
186
|
+
direction?: Direction;
|
|
187
|
+
showFilters?: boolean;
|
|
188
|
+
curve?: "curveStepBefore" | "curveMonotoneX";
|
|
189
|
+
};
|
|
191
190
|
} & Partial<EntityRelationsGraphProps>) => React.JSX.Element;
|
|
192
191
|
|
|
193
192
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-graph",
|
|
3
|
-
"version": "0.4.17-next.
|
|
3
|
+
"version": "0.4.17-next.2",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "frontend-plugin",
|
|
6
6
|
"pluginId": "catalog-graph",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"types": "./dist/index.d.ts",
|
|
41
41
|
"typesVersions": {
|
|
42
42
|
"*": {
|
|
43
|
-
"
|
|
43
|
+
"*": [
|
|
44
44
|
"dist/index.d.ts"
|
|
45
45
|
],
|
|
46
46
|
"alpha": [
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@backstage/catalog-client": "1.9.1",
|
|
65
65
|
"@backstage/catalog-model": "1.7.3",
|
|
66
|
-
"@backstage/core-compat-api": "0.
|
|
67
|
-
"@backstage/core-components": "0.16.5-next.
|
|
66
|
+
"@backstage/core-compat-api": "0.4.0-next.2",
|
|
67
|
+
"@backstage/core-components": "0.16.5-next.1",
|
|
68
68
|
"@backstage/core-plugin-api": "1.10.4",
|
|
69
|
-
"@backstage/frontend-plugin-api": "0.
|
|
70
|
-
"@backstage/plugin-catalog-react": "1.16.0-next.
|
|
69
|
+
"@backstage/frontend-plugin-api": "0.10.0-next.2",
|
|
70
|
+
"@backstage/plugin-catalog-react": "1.16.0-next.2",
|
|
71
71
|
"@backstage/types": "1.2.1",
|
|
72
72
|
"@material-ui/core": "^4.12.2",
|
|
73
73
|
"@material-ui/icons": "^4.9.1",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"react-use": "^17.2.4"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@backstage/cli": "0.
|
|
83
|
-
"@backstage/core-app-api": "1.
|
|
84
|
-
"@backstage/dev-utils": "1.1.8-next.
|
|
85
|
-
"@backstage/plugin-catalog": "1.28.0-next.
|
|
86
|
-
"@backstage/test-utils": "1.7.
|
|
82
|
+
"@backstage/cli": "0.31.0-next.1",
|
|
83
|
+
"@backstage/core-app-api": "1.16.0-next.0",
|
|
84
|
+
"@backstage/dev-utils": "1.1.8-next.2",
|
|
85
|
+
"@backstage/plugin-catalog": "1.28.0-next.2",
|
|
86
|
+
"@backstage/test-utils": "1.7.6-next.0",
|
|
87
87
|
"@testing-library/dom": "^10.0.0",
|
|
88
88
|
"@testing-library/jest-dom": "^6.0.0",
|
|
89
89
|
"@testing-library/react": "^16.0.0",
|