review fixes

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2025-06-05 12:37:38 +02:00
parent eb1ee0331e
commit 8a150bf8e1
3 changed files with 13 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-notifications-backend-module-email': patch
'@backstage/plugin-notifications-backend': patch
---
Internal changes to switch to the non-alpha `catalogServiceRef`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-bitbucket-cloud': minor
---
**BREAKING**: `BitbucketCloudEntityProvider` now accepts a `CatalogService` instead of a `CatalogApi`.
@@ -5,7 +5,7 @@
```ts
import { AuthService } from '@backstage/backend-plugin-api';
import { BackendFeature } from '@backstage/backend-plugin-api';
import { CatalogApi } from '@backstage/catalog-client';
import { CatalogService } from '@backstage/plugin-catalog-node';
import { Config } from '@backstage/config';
import { EntityProvider } from '@backstage/plugin-catalog-node';
import { EntityProviderConnection } from '@backstage/plugin-catalog-node';
@@ -23,7 +23,7 @@ export class BitbucketCloudEntityProvider implements EntityProvider {
config: Config,
options: {
auth: AuthService;
catalogApi: CatalogApi;
catalog: CatalogService;
events: EventsService;
logger: LoggerService;
schedule?: SchedulerServiceTaskRunner;