diff --git a/docs/features/software-catalog/external-integrations.md b/docs/features/software-catalog/external-integrations.md index 50fccd7f59..4d5b283c4e 100644 --- a/docs/features/software-catalog/external-integrations.md +++ b/docs/features/software-catalog/external-integrations.md @@ -1157,7 +1157,9 @@ export class MyIncrementalEntityProvider The last step is to implement the actual `next` method that will accept the cursor, call the API, process the result and return the result. ```ts -export class MyIncrementalEntityProvider implements IncrementalEntityProvider { +export class MyIncrementalEntityProvider + implements IncrementalEntityProvider +{ private readonly token: string; constructor(token: string) { @@ -1168,14 +1170,16 @@ export class MyIncrementalEntityProvider implements IncrementalEntityProvider Promise): Promise { - const apiClient = new MyApiClient(this.token) + const apiClient = new MyApiClient(this.token); - await burst({ apiClient }) + await burst({ apiClient }); } - async next(context: Context, cursor?: Cursor = { page: 1 }): Promise> { + async next( + context: Context, + cursor?: Cursor = { page: 1 }, + ): Promise> { const { apiClient } = context; // call your API with the current cursor @@ -1198,26 +1202,26 @@ export class MyIncrementalEntityProvider implements IncrementalEntityProvider