From 440c534dd8c61db83edde221aec7c2adb4c31c95 Mon Sep 17 00:00:00 2001 From: djamaile Date: Wed, 19 Jan 2022 12:34:15 +0100 Subject: [PATCH] chore: change exported component name Signed-off-by: djamaile --- plugins/catalog/api-report.md | 10 ++++++++-- plugins/catalog/src/index.ts | 1 + plugins/catalog/src/plugin.ts | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/plugins/catalog/api-report.md b/plugins/catalog/api-report.md index c046e031de..fbba6ab686 100644 --- a/plugins/catalog/api-report.md +++ b/plugins/catalog/api-report.md @@ -44,7 +44,7 @@ export function AboutCard({ variant }: AboutCardProps): JSX.Element; // Warning: (ae-missing-release-tag) "AboutContent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export const AboutContent: ({ entity }: Props) => JSX.Element; +export const AboutContent: ({ entity }: Props_2) => JSX.Element; // Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "AboutField" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -55,7 +55,7 @@ export const AboutField: ({ value, gridSizes, children, -}: Props_2) => JSX.Element; +}: Props_3) => JSX.Element; // @public (undocumented) export type BackstageOverrides = Overrides & { @@ -444,6 +444,12 @@ export type PluginCatalogComponentsNameToClassKey = { PluginCatalogSystemDiagramCard: SystemDiagramCardClassKey; }; +// Warning: (ae-forgotten-export) The symbol "RelatedEntitiesCard" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "RelatedEntitiesCard" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const RelatedEntitiesCard: RelatedEntitiesCard_2; + // Warning: (ae-missing-release-tag) "Router" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public @deprecated (undocumented) diff --git a/plugins/catalog/src/index.ts b/plugins/catalog/src/index.ts index 56cae80b6a..57dd911b2d 100644 --- a/plugins/catalog/src/index.ts +++ b/plugins/catalog/src/index.ts @@ -50,6 +50,7 @@ export { EntityHasSystemsCard, EntityLinksCard, EntitySystemDiagramCard, + RelatedEntitiesCard, } from './plugin'; export type { EntityLinksEmptyStateClassKey } from './components/EntityLinksCard'; diff --git a/plugins/catalog/src/plugin.ts b/plugins/catalog/src/plugin.ts index 9559a707c3..03806a2aa2 100644 --- a/plugins/catalog/src/plugin.ts +++ b/plugins/catalog/src/plugin.ts @@ -187,9 +187,9 @@ export const EntitySystemDiagramCard = catalogPlugin.provide( }), ); -export const EntityGenericRelationshipCard = catalogPlugin.provide( +export const RelatedEntitiesCard = catalogPlugin.provide( createComponentExtension({ - name: 'EntityGenericRelationshipCard', + name: 'RelatedEntitiesCard', component: { lazy: () => import('./components/RelatedEntitiesCard').then(