remove getter from supportsEventTopics
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
This commit is contained in:
@@ -11,6 +11,7 @@ import type { Config } from '@backstage/config';
|
||||
import type { DeferredEntity } from '@backstage/plugin-catalog-backend';
|
||||
import type { DurationObjectUnits } from 'luxon';
|
||||
import { EventParams } from '@backstage/plugin-events-node';
|
||||
import { EventSubscriber } from '@backstage/plugin-events-node';
|
||||
import type { Logger } from 'winston';
|
||||
import type { PermissionEvaluator } from '@backstage/plugin-permission-common';
|
||||
import type { PluginDatabaseManager } from '@backstage/backend-common';
|
||||
@@ -37,7 +38,7 @@ export class IncrementalCatalogBuilder {
|
||||
addIncrementalEntityProvider<TCursor, TContext>(
|
||||
provider: IncrementalEntityProvider<TCursor, TContext>,
|
||||
options: IncrementalEntityProviderOptions,
|
||||
): void;
|
||||
): EventSubscriber;
|
||||
// (undocumented)
|
||||
build(): Promise<{
|
||||
incrementalAdminRouter: Router;
|
||||
|
||||
+2
-2
@@ -118,8 +118,8 @@ export class IncrementalCatalogBuilder {
|
||||
|
||||
return {
|
||||
onEvent: (params: EventParams) => engine.onEvent(params),
|
||||
get supportsEventTopics() {
|
||||
return engine.supportsEventTopics;
|
||||
supportsEventTopics() {
|
||||
return engine.supportsEventTopics();
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user