diff --git a/plugins/catalog-backend/api-report.md b/plugins/catalog-backend/api-report.md
index ede024e296..f5922d51ab 100644
--- a/plugins/catalog-backend/api-report.md
+++ b/plugins/catalog-backend/api-report.md
@@ -5,6 +5,9 @@
```ts
///
+import { AnalyzeLocationExistingEntity } from '@backstage/plugin-catalog-common';
+import { AnalyzeLocationRequest } from '@backstage/plugin-catalog-common';
+import { AnalyzeLocationResponse } from '@backstage/plugin-catalog-common';
import { BackendFeature } from '@backstage/backend-plugin-api';
import { CatalogApi } from '@backstage/catalog-client';
import { CatalogEntityDocument } from '@backstage/plugin-catalog-common';
@@ -51,42 +54,6 @@ import { TokenManager } from '@backstage/backend-common';
import { UrlReader } from '@backstage/backend-common';
import { Validators } from '@backstage/catalog-model';
-// @public (undocumented)
-export type AnalyzeLocationEntityField = {
- field: string;
- state:
- | 'analysisSuggestedValue'
- | 'analysisSuggestedNoValue'
- | 'needsUserInput';
- value: string | null;
- description: string;
-};
-
-// @public
-export type AnalyzeLocationExistingEntity = {
- location: LocationSpec;
- isRegistered: boolean;
- entity: Entity;
-};
-
-// @public
-export type AnalyzeLocationGenerateEntity = {
- entity: RecursivePartial;
- fields: AnalyzeLocationEntityField[];
-};
-
-// @public (undocumented)
-export type AnalyzeLocationRequest = {
- location: LocationSpec;
- catalogFilename?: string;
-};
-
-// @public (undocumented)
-export type AnalyzeLocationResponse = {
- existingEntityFiles: AnalyzeLocationExistingEntity[];
- generateEntities: AnalyzeLocationGenerateEntity[];
-};
-
// @public (undocumented)
export type AnalyzeOptions = {
url: string;
diff --git a/plugins/catalog-common/api-report.md b/plugins/catalog-common/api-report.md
index b7eaf99d8b..867454f9bd 100644
--- a/plugins/catalog-common/api-report.md
+++ b/plugins/catalog-common/api-report.md
@@ -4,9 +4,47 @@
```ts
import { BasicPermission } from '@backstage/plugin-permission-common';
+import { Entity } from '@backstage/catalog-model';
import { IndexableDocument } from '@backstage/plugin-search-common';
+import { LocationSpec } from '@backstage/plugin-catalog-node';
import { ResourcePermission } from '@backstage/plugin-permission-common';
+// @public (undocumented)
+export type AnalyzeLocationEntityField = {
+ field: string;
+ state:
+ | 'analysisSuggestedValue'
+ | 'analysisSuggestedNoValue'
+ | 'needsUserInput';
+ value: string | null;
+ description: string;
+};
+
+// @public
+export type AnalyzeLocationExistingEntity = {
+ location: LocationSpec;
+ isRegistered: boolean;
+ entity: Entity;
+};
+
+// @public
+export type AnalyzeLocationGenerateEntity = {
+ entity: RecursivePartial;
+ fields: AnalyzeLocationEntityField[];
+};
+
+// @public (undocumented)
+export type AnalyzeLocationRequest = {
+ location: LocationSpec;
+ catalogFilename?: string;
+};
+
+// @public (undocumented)
+export type AnalyzeLocationResponse = {
+ existingEntityFiles: AnalyzeLocationExistingEntity[];
+ generateEntities: AnalyzeLocationGenerateEntity[];
+};
+
// @alpha
export const catalogEntityCreatePermission: BasicPermission;
diff --git a/plugins/catalog-common/src/ingestion/index.ts b/plugins/catalog-common/src/ingestion/index.ts
index ceb2ff1dfc..aced124bb4 100644
--- a/plugins/catalog-common/src/ingestion/index.ts
+++ b/plugins/catalog-common/src/ingestion/index.ts
@@ -18,4 +18,6 @@ export type {
AnalyzeLocationResponse,
AnalyzeLocationRequest,
AnalyzeLocationExistingEntity,
+ AnalyzeLocationGenerateEntity,
+ AnalyzeLocationEntityField,
} from './LocationAnalyzer';