@backstage/plugin-catalog-backend 0.23.0 → 0.23.1

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/plugin-catalog-backend
2
2
 
3
+ ## 0.23.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Marked `GithubMultiOrgReaderProcessor` as stable, as it was moved to `/alpha` by mistake.
8
+ - Fixed runtime resolution of the `/alpha` entry point.
9
+ - Updated dependencies
10
+ - @backstage/backend-common@0.12.1
11
+ - @backstage/catalog-model@0.12.1
12
+ - @backstage/plugin-catalog-common@0.2.1
13
+
3
14
  ## 0.23.0
4
15
 
5
16
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend",
3
- "version": "0.23.0",
4
- "main": "..",
3
+ "version": "0.23.1",
4
+ "main": "../dist/index.cjs.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
@@ -1121,10 +1121,11 @@ export declare type GithubMultiOrgConfig = Array<{
1121
1121
  }>;
1122
1122
 
1123
1123
  /**
1124
- * @alpha
1125
1124
  * Extracts teams and users out of a multiple GitHub orgs namespaced per org.
1126
1125
  *
1127
1126
  * Be aware that this processor may not be compatible with future org structures in the catalog.
1127
+ *
1128
+ * @public
1128
1129
  */
1129
1130
  export declare class GithubMultiOrgReaderProcessor implements CatalogProcessor {
1130
1131
  private readonly integrations;
@@ -1078,7 +1078,32 @@ export declare type GithubMultiOrgConfig = Array<{
1078
1078
  userNamespace: string | undefined;
1079
1079
  }>;
1080
1080
 
1081
- /* Excluded from this release type: GithubMultiOrgReaderProcessor */
1081
+ /**
1082
+ * Extracts teams and users out of a multiple GitHub orgs namespaced per org.
1083
+ *
1084
+ * Be aware that this processor may not be compatible with future org structures in the catalog.
1085
+ *
1086
+ * @public
1087
+ */
1088
+ export declare class GithubMultiOrgReaderProcessor implements CatalogProcessor {
1089
+ private readonly integrations;
1090
+ private readonly orgs;
1091
+ private readonly logger;
1092
+ private readonly githubCredentialsProvider;
1093
+ static fromConfig(config: Config, options: {
1094
+ logger: Logger;
1095
+ githubCredentialsProvider?: GithubCredentialsProvider;
1096
+ }): GithubMultiOrgReaderProcessor;
1097
+ constructor(options: {
1098
+ integrations: ScmIntegrationRegistry;
1099
+ logger: Logger;
1100
+ orgs: GithubMultiOrgConfig;
1101
+ githubCredentialsProvider?: GithubCredentialsProvider;
1102
+ });
1103
+ getProcessorName(): string;
1104
+ readLocation(location: LocationSpec, _optional: boolean, emit: CatalogProcessorEmit): Promise<boolean>;
1105
+ private getAllOrgs;
1106
+ }
1082
1107
 
1083
1108
  /** @public */
1084
1109
  export declare class GitHubOrgEntityProvider implements EntityProvider {