@backstage-community/plugin-github-actions 0.18.0 → 0.20.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 +12 -0
- package/dist/alpha.d.ts +6 -43
- package/dist/index.d.ts +2 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @backstage-community/plugin-github-actions
|
|
2
2
|
|
|
3
|
+
## 0.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c4c93ce: Backstage version bump to v1.47.2
|
|
8
|
+
|
|
9
|
+
## 0.19.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 55c0c3b: Backstage version bump to v1.46.1
|
|
14
|
+
|
|
3
15
|
## 0.18.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
5
|
-
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
6
5
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -16,18 +15,17 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
16
15
|
name: undefined;
|
|
17
16
|
config: {};
|
|
18
17
|
configInput: {};
|
|
19
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
18
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
20
19
|
inputs: {};
|
|
21
20
|
params: <TApi, TImpl extends TApi, TDeps extends {
|
|
22
21
|
[x: string]: unknown;
|
|
23
|
-
}>(params:
|
|
22
|
+
}>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
|
|
24
23
|
}>;
|
|
25
24
|
"entity-card:github-actions/latest-branch-workflow-runs": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
26
25
|
config: {
|
|
27
26
|
props: {
|
|
28
27
|
branch?: string | undefined;
|
|
29
28
|
};
|
|
30
|
-
} & {
|
|
31
29
|
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
32
30
|
type: "content" | "summary" | "info" | undefined;
|
|
33
31
|
};
|
|
@@ -35,7 +33,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
35
33
|
props?: {
|
|
36
34
|
branch?: string | undefined;
|
|
37
35
|
} | undefined;
|
|
38
|
-
} & {
|
|
39
36
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
40
37
|
type?: "content" | "summary" | "info" | undefined;
|
|
41
38
|
};
|
|
@@ -46,14 +43,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
46
43
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
47
44
|
optional: true;
|
|
48
45
|
}>;
|
|
49
|
-
inputs: {
|
|
50
|
-
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef<unknown, string, {
|
|
51
|
-
optional?: true | undefined;
|
|
52
|
-
}>, {
|
|
53
|
-
singleton: boolean;
|
|
54
|
-
optional: boolean;
|
|
55
|
-
}>;
|
|
56
|
-
};
|
|
46
|
+
inputs: {};
|
|
57
47
|
kind: "entity-card";
|
|
58
48
|
name: "latest-branch-workflow-runs";
|
|
59
49
|
params: {
|
|
@@ -67,7 +57,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
67
57
|
props: {
|
|
68
58
|
branch?: string | undefined;
|
|
69
59
|
};
|
|
70
|
-
} & {
|
|
71
60
|
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
72
61
|
type: "content" | "summary" | "info" | undefined;
|
|
73
62
|
};
|
|
@@ -75,7 +64,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
75
64
|
props?: {
|
|
76
65
|
branch?: string | undefined;
|
|
77
66
|
} | undefined;
|
|
78
|
-
} & {
|
|
79
67
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
80
68
|
type?: "content" | "summary" | "info" | undefined;
|
|
81
69
|
};
|
|
@@ -86,14 +74,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
86
74
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
87
75
|
optional: true;
|
|
88
76
|
}>;
|
|
89
|
-
inputs: {
|
|
90
|
-
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef<unknown, string, {
|
|
91
|
-
optional?: true | undefined;
|
|
92
|
-
}>, {
|
|
93
|
-
singleton: boolean;
|
|
94
|
-
optional: boolean;
|
|
95
|
-
}>;
|
|
96
|
-
};
|
|
77
|
+
inputs: {};
|
|
97
78
|
kind: "entity-card";
|
|
98
79
|
name: "latest-workflow-run";
|
|
99
80
|
params: {
|
|
@@ -109,7 +90,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
109
90
|
limit?: number | undefined;
|
|
110
91
|
branch?: string | undefined;
|
|
111
92
|
};
|
|
112
|
-
} & {
|
|
113
93
|
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
114
94
|
type: "content" | "summary" | "info" | undefined;
|
|
115
95
|
};
|
|
@@ -119,7 +99,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
119
99
|
limit?: number | undefined;
|
|
120
100
|
branch?: string | undefined;
|
|
121
101
|
} | undefined;
|
|
122
|
-
} & {
|
|
123
102
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
124
103
|
type?: "content" | "summary" | "info" | undefined;
|
|
125
104
|
};
|
|
@@ -130,14 +109,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
130
109
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
131
110
|
optional: true;
|
|
132
111
|
}>;
|
|
133
|
-
inputs: {
|
|
134
|
-
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef<unknown, string, {
|
|
135
|
-
optional?: true | undefined;
|
|
136
|
-
}>, {
|
|
137
|
-
singleton: boolean;
|
|
138
|
-
optional: boolean;
|
|
139
|
-
}>;
|
|
140
|
-
};
|
|
112
|
+
inputs: {};
|
|
141
113
|
kind: "entity-card";
|
|
142
114
|
name: "recent-workflow-runs";
|
|
143
115
|
params: {
|
|
@@ -149,7 +121,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
149
121
|
"entity-content:github-actions": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
150
122
|
config: {
|
|
151
123
|
layout: "table" | "cards";
|
|
152
|
-
} & {
|
|
153
124
|
path: string | undefined;
|
|
154
125
|
title: string | undefined;
|
|
155
126
|
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
@@ -157,7 +128,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
157
128
|
};
|
|
158
129
|
configInput: {
|
|
159
130
|
layout?: "table" | "cards" | undefined;
|
|
160
|
-
} & {
|
|
161
131
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
162
132
|
title?: string | undefined;
|
|
163
133
|
path?: string | undefined;
|
|
@@ -172,14 +142,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
172
142
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
173
143
|
optional: true;
|
|
174
144
|
}>;
|
|
175
|
-
inputs: {
|
|
176
|
-
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef<unknown, string, {
|
|
177
|
-
optional?: true | undefined;
|
|
178
|
-
}>, {
|
|
179
|
-
singleton: boolean;
|
|
180
|
-
optional: boolean;
|
|
181
|
-
}>;
|
|
182
|
-
};
|
|
145
|
+
inputs: {};
|
|
183
146
|
kind: "entity-content";
|
|
184
147
|
name: undefined;
|
|
185
148
|
params: {
|
package/dist/index.d.ts
CHANGED
|
@@ -3,12 +3,13 @@ import { InfoCardVariants } from '@backstage/core-components';
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
5
5
|
import { ConfigApi } from '@backstage/core-plugin-api';
|
|
6
|
+
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
6
7
|
import { RestEndpointMethodTypes } from '@octokit/rest';
|
|
7
8
|
import { ScmAuthApi } from '@backstage/integration-react';
|
|
8
9
|
import { Entity } from '@backstage/catalog-model';
|
|
9
10
|
|
|
10
11
|
/** @public */
|
|
11
|
-
declare const githubActionsApiRef:
|
|
12
|
+
declare const githubActionsApiRef: _backstage_frontend_plugin_api.ApiRef<GithubActionsApi>;
|
|
12
13
|
/**
|
|
13
14
|
* A client for fetching information about GitHub actions.
|
|
14
15
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-github-actions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "A Backstage plugin that integrates towards GitHub Actions",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -68,13 +68,13 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@backstage/catalog-model": "^1.7.6",
|
|
71
|
-
"@backstage/core-compat-api": "^0.5.
|
|
72
|
-
"@backstage/core-components": "^0.18.
|
|
73
|
-
"@backstage/core-plugin-api": "^1.12.
|
|
74
|
-
"@backstage/frontend-plugin-api": "^0.13.
|
|
75
|
-
"@backstage/integration": "^1.
|
|
76
|
-
"@backstage/integration-react": "^1.2.
|
|
77
|
-
"@backstage/plugin-catalog-react": "^1.21.
|
|
71
|
+
"@backstage/core-compat-api": "^0.5.7",
|
|
72
|
+
"@backstage/core-components": "^0.18.6",
|
|
73
|
+
"@backstage/core-plugin-api": "^1.12.2",
|
|
74
|
+
"@backstage/frontend-plugin-api": "^0.13.4",
|
|
75
|
+
"@backstage/integration": "^1.19.2",
|
|
76
|
+
"@backstage/integration-react": "^1.2.14",
|
|
77
|
+
"@backstage/plugin-catalog-react": "^1.21.6",
|
|
78
78
|
"@material-ui/core": "^4.12.2",
|
|
79
79
|
"@material-ui/icons": "^4.9.1",
|
|
80
80
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
"react-use": "^17.2.4"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@backstage/cli": "^0.
|
|
89
|
-
"@backstage/core-app-api": "^1.19.
|
|
90
|
-
"@backstage/dev-utils": "^1.1.
|
|
91
|
-
"@backstage/frontend-test-utils": "^0.4.
|
|
92
|
-
"@backstage/test-utils": "^1.7.
|
|
88
|
+
"@backstage/cli": "^0.35.3",
|
|
89
|
+
"@backstage/core-app-api": "^1.19.4",
|
|
90
|
+
"@backstage/dev-utils": "^1.1.19",
|
|
91
|
+
"@backstage/frontend-test-utils": "^0.4.5",
|
|
92
|
+
"@backstage/test-utils": "^1.7.14",
|
|
93
93
|
"@testing-library/dom": "^10.0.0",
|
|
94
94
|
"@testing-library/jest-dom": "^6.0.0",
|
|
95
95
|
"@testing-library/react": "^15.0.0",
|