@backstage/plugin-catalog-backend-module-github 0.2.7-next.1 → 0.2.7-next.3
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 +38 -0
- package/alpha/package.json +1 -1
- package/dist/index.d.ts +7 -7
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-github
|
|
2
2
|
|
|
3
|
+
## 0.2.7-next.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/plugin-catalog-backend@1.9.0-next.3
|
|
9
|
+
- @backstage/catalog-model@1.3.0-next.0
|
|
10
|
+
- @backstage/backend-common@0.18.4-next.2
|
|
11
|
+
- @backstage/backend-plugin-api@0.5.1-next.2
|
|
12
|
+
- @backstage/backend-tasks@0.5.1-next.2
|
|
13
|
+
- @backstage/catalog-client@1.4.1-next.1
|
|
14
|
+
- @backstage/config@1.0.7
|
|
15
|
+
- @backstage/errors@1.1.5
|
|
16
|
+
- @backstage/integration@1.4.4-next.0
|
|
17
|
+
- @backstage/types@1.0.2
|
|
18
|
+
- @backstage/plugin-catalog-common@1.0.13-next.1
|
|
19
|
+
- @backstage/plugin-catalog-node@1.3.5-next.3
|
|
20
|
+
- @backstage/plugin-events-node@0.2.5-next.2
|
|
21
|
+
|
|
22
|
+
## 0.2.7-next.2
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
- @backstage/plugin-catalog-backend@1.8.1-next.2
|
|
28
|
+
- @backstage/backend-common@0.18.4-next.2
|
|
29
|
+
- @backstage/catalog-client@1.4.1-next.0
|
|
30
|
+
- @backstage/backend-plugin-api@0.5.1-next.2
|
|
31
|
+
- @backstage/backend-tasks@0.5.1-next.2
|
|
32
|
+
- @backstage/catalog-model@1.2.1
|
|
33
|
+
- @backstage/config@1.0.7
|
|
34
|
+
- @backstage/errors@1.1.5
|
|
35
|
+
- @backstage/integration@1.4.4-next.0
|
|
36
|
+
- @backstage/types@1.0.2
|
|
37
|
+
- @backstage/plugin-catalog-common@1.0.13-next.0
|
|
38
|
+
- @backstage/plugin-catalog-node@1.3.5-next.2
|
|
39
|
+
- @backstage/plugin-events-node@0.2.5-next.2
|
|
40
|
+
|
|
3
41
|
## 0.2.7-next.1
|
|
4
42
|
|
|
5
43
|
### Patch Changes
|
package/alpha/package.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { TaskRunner, PluginTaskScheduler } from '@backstage/backend-tasks';
|
|
|
11
11
|
import { EventSubscriber, EventParams } from '@backstage/plugin-events-node';
|
|
12
12
|
|
|
13
13
|
/** @public */
|
|
14
|
-
|
|
14
|
+
type GithubLocationAnalyzerOptions = {
|
|
15
15
|
config: Config;
|
|
16
16
|
discovery: PluginEndpointDiscovery;
|
|
17
17
|
tokenManager: TokenManager;
|
|
@@ -74,7 +74,7 @@ declare class GithubDiscoveryProcessor implements CatalogProcessor {
|
|
|
74
74
|
* The configuration parameters for a multi-org GitHub processor.
|
|
75
75
|
* @public
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
type GithubMultiOrgConfig = Array<{
|
|
78
78
|
/**
|
|
79
79
|
* The name of the GitHub org to process.
|
|
80
80
|
*/
|
|
@@ -104,13 +104,13 @@ interface TransformerContext {
|
|
|
104
104
|
*
|
|
105
105
|
* @public
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
type UserTransformer = (item: GithubUser, ctx: TransformerContext) => Promise<UserEntity | undefined>;
|
|
108
108
|
/**
|
|
109
109
|
* Transformer for GitHub Team to GroupEntity
|
|
110
110
|
*
|
|
111
111
|
* @public
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
type TeamTransformer = (item: GithubTeam, ctx: TransformerContext) => Promise<GroupEntity | undefined>;
|
|
114
114
|
/**
|
|
115
115
|
* Default transformer for GitHub users to UserEntity
|
|
116
116
|
*
|
|
@@ -129,7 +129,7 @@ declare const defaultOrganizationTeamTransformer: TeamTransformer;
|
|
|
129
129
|
*
|
|
130
130
|
* @public
|
|
131
131
|
*/
|
|
132
|
-
|
|
132
|
+
type GithubUser = {
|
|
133
133
|
login: string;
|
|
134
134
|
bio?: string;
|
|
135
135
|
avatarUrl?: string;
|
|
@@ -142,7 +142,7 @@ declare type GithubUser = {
|
|
|
142
142
|
*
|
|
143
143
|
* @public
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
type GithubTeam = {
|
|
146
146
|
slug: string;
|
|
147
147
|
combinedSlug: string;
|
|
148
148
|
name?: string;
|
|
@@ -355,7 +355,7 @@ declare class GitHubOrgEntityProvider extends GithubOrgEntityProvider {
|
|
|
355
355
|
* @public
|
|
356
356
|
* @deprecated Use {@link GithubOrgEntityProviderOptions} instead.
|
|
357
357
|
*/
|
|
358
|
-
|
|
358
|
+
type GitHubOrgEntityProviderOptions = GithubOrgEntityProviderOptions;
|
|
359
359
|
/**
|
|
360
360
|
* @public
|
|
361
361
|
* @deprecated Use {@link GithubEntityProvider} instead.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-github",
|
|
3
3
|
"description": "A Backstage catalog backend module that helps integrate towards GitHub",
|
|
4
|
-
"version": "0.2.7-next.
|
|
4
|
+
"version": "0.2.7-next.3",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
"start": "backstage-cli package start"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@backstage/backend-common": "^0.18.4-next.
|
|
47
|
-
"@backstage/backend-plugin-api": "^0.5.1-next.
|
|
48
|
-
"@backstage/backend-tasks": "^0.5.1-next.
|
|
49
|
-
"@backstage/catalog-client": "^1.4.
|
|
50
|
-
"@backstage/catalog-model": "^1.
|
|
46
|
+
"@backstage/backend-common": "^0.18.4-next.2",
|
|
47
|
+
"@backstage/backend-plugin-api": "^0.5.1-next.2",
|
|
48
|
+
"@backstage/backend-tasks": "^0.5.1-next.2",
|
|
49
|
+
"@backstage/catalog-client": "^1.4.1-next.1",
|
|
50
|
+
"@backstage/catalog-model": "^1.3.0-next.0",
|
|
51
51
|
"@backstage/config": "^1.0.7",
|
|
52
52
|
"@backstage/errors": "^1.1.5",
|
|
53
53
|
"@backstage/integration": "^1.4.4-next.0",
|
|
54
|
-
"@backstage/plugin-catalog-backend": "^1.
|
|
55
|
-
"@backstage/plugin-catalog-common": "^1.0.13-next.
|
|
56
|
-
"@backstage/plugin-catalog-node": "^1.3.5-next.
|
|
57
|
-
"@backstage/plugin-events-node": "^0.2.5-next.
|
|
54
|
+
"@backstage/plugin-catalog-backend": "^1.9.0-next.3",
|
|
55
|
+
"@backstage/plugin-catalog-common": "^1.0.13-next.1",
|
|
56
|
+
"@backstage/plugin-catalog-node": "^1.3.5-next.3",
|
|
57
|
+
"@backstage/plugin-events-node": "^0.2.5-next.2",
|
|
58
58
|
"@backstage/types": "^1.0.2",
|
|
59
59
|
"@octokit/graphql": "^5.0.0",
|
|
60
60
|
"@octokit/rest": "^19.0.3",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"winston": "^3.2.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@backstage/backend-test-utils": "^0.1.36-next.
|
|
70
|
-
"@backstage/cli": "^0.22.6-next.
|
|
69
|
+
"@backstage/backend-test-utils": "^0.1.36-next.2",
|
|
70
|
+
"@backstage/cli": "^0.22.6-next.3",
|
|
71
71
|
"@types/lodash": "^4.14.151",
|
|
72
72
|
"luxon": "^3.0.0",
|
|
73
73
|
"msw": "^1.0.0"
|