diff --git a/plugins/catalog-backend-module-incremental-ingestion/api-report.md b/plugins/catalog-backend-module-incremental-ingestion/api-report.md index c56ae0e7bf..aa526a8fe8 100644 --- a/plugins/catalog-backend-module-incremental-ingestion/api-report.md +++ b/plugins/catalog-backend-module-incremental-ingestion/api-report.md @@ -18,23 +18,23 @@ import { Router } from 'express'; import type { UrlReader } from '@backstage/backend-common'; // @public -export type EntityIteratorResult = +export type EntityIteratorResult = | { done: false; entities: DeferredEntity[]; - cursor: T; + cursor: unknown; } | { done: true; entities?: DeferredEntity[]; - cursor?: T; + cursor?: unknown; }; // @public (undocumented) export class IncrementalCatalogBuilder { // (undocumented) - addIncrementalEntityProvider( - provider: IncrementalEntityProvider, + addIncrementalEntityProvider( + provider: IncrementalEntityProvider, options: IncrementalEntityProviderOptions, ): void; // (undocumented) @@ -48,9 +48,9 @@ export class IncrementalCatalogBuilder { } // @public -export interface IncrementalEntityProvider { - around(burst: (context: TContext) => Promise): Promise; - deltaMapper?: (payload: TInput) => { +export interface IncrementalEntityProvider { + around(burst: (context: unknown) => Promise): Promise; + deltaMapper?: (payload: unknown) => { delta: | { added: DeferredEntity[]; @@ -61,10 +61,7 @@ export interface IncrementalEntityProvider { | undefined; }; getProviderName(): string; - next( - context: TContext, - cursor?: TCursor, - ): Promise>; + next(context: unknown, cursor?: unknown): Promise; } // @public (undocumented) @@ -80,7 +77,7 @@ export interface IncrementalEntityProviderOptions { // @alpha export const incrementalIngestionEntityProviderCatalogModule: (options: { providers: { - provider: IncrementalEntityProvider; + provider: IncrementalEntityProvider; options: IncrementalEntityProviderOptions; }[]; }) => BackendFeature;