diff --git a/.changeset/large-dancers-learn.md b/.changeset/large-dancers-learn.md index 43f9d27b11..9f25990924 100644 --- a/.changeset/large-dancers-learn.md +++ b/.changeset/large-dancers-learn.md @@ -2,4 +2,4 @@ '@backstage/plugin-scaffolder': minor --- -- **BREAKING**: Removed the `FavouriteEntity` export in favor of the `FavoriteEntity` from `@backstage/plguin-catalog-react`. Please migrate any usages to that component instead if you are creating your own `TemplateCard` page. +- **BREAKING**: Removed the `FavouriteTemplate` export in favor of the `FavoriteEntity` from `@backstage/plugin-catalog-react`. Please migrate any usages to that component instead if you are creating your own `TemplateCard` page. diff --git a/plugins/catalog-react/api-report.md b/plugins/catalog-react/api-report.md index 78ad5d4b97..394a45f278 100644 --- a/plugins/catalog-react/api-report.md +++ b/plugins/catalog-react/api-report.md @@ -413,13 +413,8 @@ export const favoriteEntityTooltip: ( isStarred: boolean, ) => 'Remove from favorites' | 'Add to favorites'; -// @public (undocumented) -export function formatEntityRefTitle( - entityRef: Entity | EntityName, - opts?: { - defaultKind?: string; - }, -): string; +// @public @deprecated (undocumented) +export const formatEntityRefTitle: typeof humanizeEntityRef; // @public @deprecated (undocumented) export function getEntityMetadataEditUrl(entity: Entity): string | undefined; @@ -442,6 +437,14 @@ export function getEntitySourceLocation( scmIntegrationsApi: ScmIntegrationRegistry, ): EntitySourceLocation | undefined; +// @public (undocumented) +export function humanizeEntityRef( + entityRef: Entity | EntityName, + opts?: { + defaultKind?: string; + }, +): string; + // @public export function InspectEntityDialog(props: { open: boolean; diff --git a/plugins/catalog-react/src/components/EntityRefLink/humanize.ts b/plugins/catalog-react/src/components/EntityRefLink/humanize.ts index af70ae71f4..e2984c34ab 100644 --- a/plugins/catalog-react/src/components/EntityRefLink/humanize.ts +++ b/plugins/catalog-react/src/components/EntityRefLink/humanize.ts @@ -20,7 +20,7 @@ import { DEFAULT_NAMESPACE, } from '@backstage/catalog-model'; -/** @deprecated please use {@link humanizeEntityRef} instead */ +/** @public @deprecated please use {@link humanizeEntityRef} instead */ export const formatEntityRefTitle = humanizeEntityRef; /** @public */