@backstage-community/plugin-azure-devops 0.12.0 → 0.13.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,16 @@
1
1
  # @backstage-community/plugin-azure-devops
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 75f72bb: Backstage version bump to v1.37.0
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [75f72bb]
12
+ - @backstage-community/plugin-azure-devops-common@0.9.0
13
+
3
14
  ## 0.12.0
4
15
 
5
16
  ### Minor Changes
package/dist/alpha.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _backstage_catalog_model_index from '@backstage/catalog-model/index';
2
+ import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
2
3
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
3
- import * as _backstage_core_plugin_api_index from '@backstage/core-plugin-api/index';
4
+ import * as _backstage_core_plugin_api__ from '@backstage/core-plugin-api/*';
4
5
  import React__default from 'react';
5
6
 
6
7
  /** @alpha */
@@ -10,43 +11,51 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
10
11
  name: undefined;
11
12
  config: {};
12
13
  configInput: {};
13
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api_index.AnyApiFactory, "core.api.factory", {}>;
14
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api__.AnyApiFactory, "core.api.factory", {}>;
14
15
  inputs: {};
15
16
  params: {
16
- factory: _backstage_core_plugin_api_index.AnyApiFactory;
17
+ factory: _backstage_core_plugin_api__.AnyApiFactory;
17
18
  };
18
19
  }>;
19
- "page:azure-devops": _backstage_frontend_plugin_api.ExtensionDefinition<{
20
- kind: "page";
21
- name: undefined;
20
+ "entity-card:azure-devops/readme": _backstage_frontend_plugin_api.ExtensionDefinition<{
21
+ kind: "entity-card";
22
+ name: "readme";
22
23
  config: {
23
- path: string | undefined;
24
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
25
+ type: "content" | "summary" | "info" | undefined;
24
26
  };
25
27
  configInput: {
26
- path?: string | undefined;
28
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
29
+ type?: "content" | "summary" | "info" | undefined;
27
30
  };
28
- 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", {
31
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model_index.Entity) => boolean, "catalog.entity-filter-function", {
32
+ optional: true;
33
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
34
+ optional: true;
35
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
29
36
  optional: true;
30
37
  }>;
31
38
  inputs: {};
32
39
  params: {
33
- defaultPath: string;
34
40
  loader: () => Promise<JSX.Element>;
35
- routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
41
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model_index.Entity) => boolean) | undefined;
42
+ type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
36
43
  };
37
44
  }>;
38
- "entity-content:azure-devops/pipelines": _backstage_frontend_plugin_api.ExtensionDefinition<{
45
+ "entity-content:azure-devops/git-tags": _backstage_frontend_plugin_api.ExtensionDefinition<{
39
46
  kind: "entity-content";
40
- name: "pipelines";
47
+ name: "git-tags";
41
48
  config: {
42
49
  path: string | undefined;
43
50
  title: string | undefined;
44
- filter: string | undefined;
51
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
52
+ group: string | false | undefined;
45
53
  };
46
54
  configInput: {
47
- filter?: string | undefined;
55
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
48
56
  title?: string | undefined;
49
57
  path?: string | undefined;
58
+ group?: string | false | undefined;
50
59
  };
51
60
  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", {
52
61
  optional: true;
@@ -54,28 +63,33 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
54
63
  optional: true;
55
64
  }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
56
65
  optional: true;
66
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-group", {
67
+ optional: true;
57
68
  }>;
58
69
  inputs: {};
59
70
  params: {
60
71
  loader: () => Promise<JSX.Element>;
61
72
  defaultPath: string;
62
73
  defaultTitle: string;
74
+ defaultGroup?: (string & {}) | "development" | "deployment" | "documentation" | "observability" | undefined;
63
75
  routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
64
- filter?: string | ((entity: _backstage_catalog_model_index.Entity) => boolean) | undefined;
76
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model_index.Entity) => boolean) | undefined;
65
77
  };
66
78
  }>;
67
- "entity-content:azure-devops/git-tags": _backstage_frontend_plugin_api.ExtensionDefinition<{
79
+ "entity-content:azure-devops/pipelines": _backstage_frontend_plugin_api.ExtensionDefinition<{
68
80
  kind: "entity-content";
69
- name: "git-tags";
81
+ name: "pipelines";
70
82
  config: {
71
83
  path: string | undefined;
72
84
  title: string | undefined;
73
- filter: string | undefined;
85
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
86
+ group: string | false | undefined;
74
87
  };
75
88
  configInput: {
76
- filter?: string | undefined;
89
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
77
90
  title?: string | undefined;
78
91
  path?: string | undefined;
92
+ group?: string | false | undefined;
79
93
  };
80
94
  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", {
81
95
  optional: true;
@@ -83,14 +97,17 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
83
97
  optional: true;
84
98
  }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
85
99
  optional: true;
100
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-group", {
101
+ optional: true;
86
102
  }>;
87
103
  inputs: {};
88
104
  params: {
89
105
  loader: () => Promise<JSX.Element>;
90
106
  defaultPath: string;
91
107
  defaultTitle: string;
108
+ defaultGroup?: (string & {}) | "development" | "deployment" | "documentation" | "observability" | undefined;
92
109
  routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
93
- filter?: string | ((entity: _backstage_catalog_model_index.Entity) => boolean) | undefined;
110
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model_index.Entity) => boolean) | undefined;
94
111
  };
95
112
  }>;
96
113
  "entity-content:azure-devops/pull-requests": _backstage_frontend_plugin_api.ExtensionDefinition<{
@@ -99,12 +116,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
99
116
  config: {
100
117
  path: string | undefined;
101
118
  title: string | undefined;
102
- filter: string | undefined;
119
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
120
+ group: string | false | undefined;
103
121
  };
104
122
  configInput: {
105
- filter?: string | undefined;
123
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
106
124
  title?: string | undefined;
107
125
  path?: string | undefined;
126
+ group?: string | false | undefined;
108
127
  };
109
128
  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", {
110
129
  optional: true;
@@ -112,34 +131,36 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
112
131
  optional: true;
113
132
  }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
114
133
  optional: true;
134
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-group", {
135
+ optional: true;
115
136
  }>;
116
137
  inputs: {};
117
138
  params: {
118
139
  loader: () => Promise<JSX.Element>;
119
140
  defaultPath: string;
120
141
  defaultTitle: string;
142
+ defaultGroup?: (string & {}) | "development" | "deployment" | "documentation" | "observability" | undefined;
121
143
  routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
122
- filter?: string | ((entity: _backstage_catalog_model_index.Entity) => boolean) | undefined;
144
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model_index.Entity) => boolean) | undefined;
123
145
  };
124
146
  }>;
125
- "entity-card:azure-devops/readme": _backstage_frontend_plugin_api.ExtensionDefinition<{
126
- kind: "entity-card";
127
- name: "readme";
147
+ "page:azure-devops": _backstage_frontend_plugin_api.ExtensionDefinition<{
148
+ kind: "page";
149
+ name: undefined;
128
150
  config: {
129
- filter: string | undefined;
151
+ path: string | undefined;
130
152
  };
131
153
  configInput: {
132
- filter?: string | undefined;
154
+ path?: string | undefined;
133
155
  };
134
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model_index.Entity) => boolean, "catalog.entity-filter-function", {
135
- optional: true;
136
- }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
156
+ 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", {
137
157
  optional: true;
138
158
  }>;
139
159
  inputs: {};
140
160
  params: {
161
+ defaultPath: string;
141
162
  loader: () => Promise<JSX.Element>;
142
- filter?: string | ((entity: _backstage_catalog_model_index.Entity) => boolean) | undefined;
163
+ routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
143
164
  };
144
165
  }>;
145
166
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-azure-devops",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "azure-devops",
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/index.d.ts",
43
43
  "typesVersions": {
44
44
  "*": {
45
- "index": [
45
+ "*": [
46
46
  "dist/index.d.ts"
47
47
  ],
48
48
  "alpha": [
@@ -63,15 +63,15 @@
63
63
  "test": "backstage-cli package test"
64
64
  },
65
65
  "dependencies": {
66
- "@backstage-community/plugin-azure-devops-common": "^0.8.0",
66
+ "@backstage-community/plugin-azure-devops-common": "^0.9.0",
67
67
  "@backstage/catalog-model": "^1.7.3",
68
- "@backstage/core-compat-api": "^0.3.6",
69
- "@backstage/core-components": "^0.16.4",
70
- "@backstage/core-plugin-api": "^1.10.4",
68
+ "@backstage/core-compat-api": "^0.4.0",
69
+ "@backstage/core-components": "^0.17.0",
70
+ "@backstage/core-plugin-api": "^1.10.5",
71
71
  "@backstage/errors": "^1.2.7",
72
- "@backstage/frontend-plugin-api": "^0.9.5",
73
- "@backstage/plugin-catalog-react": "^1.15.2",
74
- "@backstage/plugin-permission-react": "^0.4.31",
72
+ "@backstage/frontend-plugin-api": "^0.10.0",
73
+ "@backstage/plugin-catalog-react": "^1.16.0",
74
+ "@backstage/plugin-permission-react": "^0.4.32",
75
75
  "@material-ui/core": "^4.12.2",
76
76
  "@material-ui/icons": "^4.9.1",
77
77
  "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
@@ -80,9 +80,9 @@
80
80
  "react-use": "^17.2.4"
81
81
  },
82
82
  "devDependencies": {
83
- "@backstage/cli": "^0.30.0",
84
- "@backstage/dev-utils": "^1.1.7",
85
- "@backstage/test-utils": "^1.7.5",
83
+ "@backstage/cli": "^0.31.0",
84
+ "@backstage/dev-utils": "^1.1.8",
85
+ "@backstage/test-utils": "^1.7.6",
86
86
  "@testing-library/dom": "^10.0.0",
87
87
  "@testing-library/jest-dom": "^6.0.0",
88
88
  "@testing-library/react": "^15.0.0",