chore(catalog): export RelatedEntitiesCard component
Signed-off-by: djamaile <rdjamaile@gmail.com>
This commit is contained in:
committed by
djamaile
parent
aa9030d313
commit
61ded2a863
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog': patch
|
||||
---
|
||||
|
||||
Export the `RelatedEntitiesCard` component which is helpful in case you want to model custom relations between entities
|
||||
@@ -34,7 +34,7 @@ type Props<T extends Entity> = {
|
||||
variant?: 'gridItem';
|
||||
title: string;
|
||||
columns: TableColumn<T>[];
|
||||
entityKind: string;
|
||||
entityKind?: string;
|
||||
relationType: string;
|
||||
emptyMessage: string;
|
||||
emptyHelpLink: string;
|
||||
|
||||
@@ -186,3 +186,15 @@ export const EntitySystemDiagramCard = catalogPlugin.provide(
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
export const EntityGenericRelationshipCard = catalogPlugin.provide(
|
||||
createComponentExtension({
|
||||
name: 'EntityGenericRelationshipCard',
|
||||
component: {
|
||||
lazy: () =>
|
||||
import('./components/RelatedEntitiesCard').then(
|
||||
m => m.RelatedEntitiesCard,
|
||||
),
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user