copilot comments

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2026-02-14 17:00:19 +01:00
parent 9fb766aa9b
commit 6780644079
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
'@backstage/plugin-catalog-backend': minor
---
Implemented the `POST /locations/by-query` endpoints that allows paginated, filtered location queries
Implemented the `POST /locations/by-query` endpoint which allows paginated, filtered location queries
+1 -1
View File
@@ -697,7 +697,7 @@ export interface CatalogApi {
*
* ```
* const secondBatchResponse = await catalogClient
* .queryLocations({ cursor: response.nextCursor });
* .queryLocations({ cursor: response.pageInfo.nextCursor });
* ```
*
* `secondBatchResponse` will contain the next batch of (maximum) 20 locations,
@@ -76,7 +76,7 @@ export class DefaultLocationService implements LocationService {
async queryLocations(options: {
limit: number;
afterId: string;
afterId?: string;
query?: FilterPredicate;
credentials: BackstageCredentials;
}): Promise<{ items: Location[]; totalItems: number }> {