diff --git a/plugins/catalog-react/api-report.md b/plugins/catalog-react/api-report.md index 96f9a68082..0d41f0ca58 100644 --- a/plugins/catalog-react/api-report.md +++ b/plugins/catalog-react/api-report.md @@ -159,6 +159,15 @@ export type DefaultEntityFilters = { namespace?: EntityNamespaceFilter; }; +// @public +export function defaultEntityPresentation( + entityOrRef: Entity | CompoundEntityRef | string, + context?: { + defaultKind?: string; + defaultNamespace?: string; + }, +): EntityRefPresentationSnapshot; + // @public (undocumented) export function EntityAutocompletePicker< T extends DefaultEntityFilters = DefaultEntityFilters, @@ -181,15 +190,6 @@ export type EntityAutocompletePickerProps< initialSelectedOptions?: string[]; }; -// @public -export function defaultEntityPresentation( - entityOrRef: Entity | CompoundEntityRef | string, - context?: { - defaultKind?: string; - defaultNamespace?: string; - }, -): EntityRefPresentationSnapshot; - // @public export const EntityDisplayName: (props: EntityDisplayNameProps) => JSX.Element; diff --git a/plugins/catalog-react/src/apis/EntityPresentationApi/EntityPresentationApi.ts b/plugins/catalog-react/src/apis/EntityPresentationApi/EntityPresentationApi.ts index 68ccacf29a..17f16d69a4 100644 --- a/plugins/catalog-react/src/apis/EntityPresentationApi/EntityPresentationApi.ts +++ b/plugins/catalog-react/src/apis/EntityPresentationApi/EntityPresentationApi.ts @@ -29,7 +29,7 @@ import { Observable } from '@backstage/types'; */ export const entityPresentationApiRef: ApiRef = createApiRef({ - id: 'catalog-react.entity-presentation', + id: 'plugin.catalog.entity-presentation', }); /**