@backstage/plugin-catalog-backend-module-github 0.0.0-nightly-20230102022421 → 0.0.0-nightly-20230104022659

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,23 +1,56 @@
1
1
  # @backstage/plugin-catalog-backend-module-github
2
2
 
3
- ## 0.0.0-nightly-20230102022421
3
+ ## 0.0.0-nightly-20230104022659
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies
8
- - @backstage/catalog-model@0.0.0-nightly-20230102022421
9
- - @backstage/catalog-client@0.0.0-nightly-20230102022421
10
- - @backstage/plugin-catalog-backend@0.0.0-nightly-20230102022421
11
- - @backstage/config@0.0.0-nightly-20230102022421
12
- - @backstage/backend-common@0.0.0-nightly-20230102022421
13
- - @backstage/backend-plugin-api@0.0.0-nightly-20230102022421
14
- - @backstage/backend-tasks@0.0.0-nightly-20230102022421
7
+ - 427d8f4411: Added support for event based updates in the `GithubOrgEntityProvider`!
8
+ Based on webhook events from GitHub the affected `User` or `Group` entity will be refreshed.
9
+ This includes adding new entities, refreshing existing ones, and removing obsolete ones.
10
+
11
+ Please find more information at
12
+ https://backstage.io/docs/integrations/github/org#installation-with-events-support
13
+
14
+ - Updated dependencies
15
+ - @backstage/backend-plugin-api@0.0.0-nightly-20230104022659
16
+ - @backstage/backend-common@0.0.0-nightly-20230104022659
17
+ - @backstage/catalog-model@0.0.0-nightly-20230104022659
18
+ - @backstage/catalog-client@0.0.0-nightly-20230104022659
19
+ - @backstage/plugin-catalog-backend@0.0.0-nightly-20230104022659
20
+ - @backstage/config@0.0.0-nightly-20230104022659
21
+ - @backstage/plugin-catalog-node@0.0.0-nightly-20230104022659
22
+ - @backstage/plugin-events-node@0.0.0-nightly-20230104022659
23
+ - @backstage/backend-tasks@0.0.0-nightly-20230104022659
24
+ - @backstage/errors@1.1.4
25
+ - @backstage/integration@0.0.0-nightly-20230104022659
26
+ - @backstage/types@1.0.2
27
+ - @backstage/plugin-catalog-common@0.0.0-nightly-20230104022659
28
+
29
+ ## 0.2.3-next.1
30
+
31
+ ### Patch Changes
32
+
33
+ - 427d8f4411: Added support for event based updates in the `GithubOrgEntityProvider`!
34
+ Based on webhook events from GitHub the affected `User` or `Group` entity will be refreshed.
35
+ This includes adding new entities, refreshing existing ones, and removing obsolete ones.
36
+
37
+ Please find more information at
38
+ https://backstage.io/docs/integrations/github/org#installation-with-events-support
39
+
40
+ - Updated dependencies
41
+ - @backstage/backend-plugin-api@0.2.1-next.0
42
+ - @backstage/backend-common@0.18.0-next.0
43
+ - @backstage/config@1.0.6-next.0
44
+ - @backstage/plugin-catalog-backend@1.7.0-next.1
45
+ - @backstage/plugin-catalog-node@1.3.1-next.1
46
+ - @backstage/plugin-events-node@0.2.1-next.0
47
+ - @backstage/backend-tasks@0.4.1-next.0
48
+ - @backstage/catalog-client@1.3.0-next.1
49
+ - @backstage/catalog-model@1.1.5-next.1
15
50
  - @backstage/errors@1.1.4
16
- - @backstage/integration@0.0.0-nightly-20230102022421
51
+ - @backstage/integration@1.4.2-next.0
17
52
  - @backstage/types@1.0.2
18
- - @backstage/plugin-catalog-common@0.0.0-nightly-20230102022421
19
- - @backstage/plugin-catalog-node@0.0.0-nightly-20230102022421
20
- - @backstage/plugin-events-node@0.0.0-nightly-20230102022421
53
+ - @backstage/plugin-catalog-common@1.0.10-next.1
21
54
 
22
55
  ## 0.2.3-next.0
23
56
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-github",
3
- "version": "0.0.0-nightly-20230102022421",
3
+ "version": "0.0.0-nightly-20230104022659",
4
4
  "main": "../dist/index.cjs.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
@@ -232,7 +232,7 @@ export declare class GitHubOrgEntityProvider extends GithubOrgEntityProvider {
232
232
  *
233
233
  * @public
234
234
  */
235
- export declare class GithubOrgEntityProvider implements EntityProvider {
235
+ export declare class GithubOrgEntityProvider implements EntityProvider, EventSubscriber {
236
236
  private options;
237
237
  private readonly credentialsProvider;
238
238
  private connection?;
@@ -258,6 +258,14 @@ export declare class GithubOrgEntityProvider implements EntityProvider {
258
258
  read(options?: {
259
259
  logger?: Logger;
260
260
  }): Promise<void>;
261
+ /** {@inheritdoc @backstage/plugin-events-node#EventSubscriber.onEvent} */
262
+ onEvent(params: EventParams): Promise<void>;
263
+ /** {@inheritdoc @backstage/plugin-events-node#EventSubscriber.supportsEventTopics} */
264
+ supportsEventTopics(): string[];
265
+ private onTeamEditedInOrganization;
266
+ private onMembershipChangedInOrganization;
267
+ private onTeamChangeInOrganization;
268
+ private onMemberChangeInOrganization;
261
269
  private schedule;
262
270
  }
263
271
 
@@ -227,7 +227,7 @@ export declare class GitHubOrgEntityProvider extends GithubOrgEntityProvider {
227
227
  *
228
228
  * @public
229
229
  */
230
- export declare class GithubOrgEntityProvider implements EntityProvider {
230
+ export declare class GithubOrgEntityProvider implements EntityProvider, EventSubscriber {
231
231
  private options;
232
232
  private readonly credentialsProvider;
233
233
  private connection?;
@@ -253,6 +253,14 @@ export declare class GithubOrgEntityProvider implements EntityProvider {
253
253
  read(options?: {
254
254
  logger?: Logger;
255
255
  }): Promise<void>;
256
+ /** {@inheritdoc @backstage/plugin-events-node#EventSubscriber.onEvent} */
257
+ onEvent(params: EventParams): Promise<void>;
258
+ /** {@inheritdoc @backstage/plugin-events-node#EventSubscriber.supportsEventTopics} */
259
+ supportsEventTopics(): string[];
260
+ private onTeamEditedInOrganization;
261
+ private onMembershipChangedInOrganization;
262
+ private onTeamChangeInOrganization;
263
+ private onMemberChangeInOrganization;
256
264
  private schedule;
257
265
  }
258
266