feat(api-docs): migrate providing components entity card
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
@@ -103,6 +103,16 @@ const ApiDocsConsumingComponentsEntityCard = createEntityCardExtension({
|
||||
)),
|
||||
});
|
||||
|
||||
const ApiDocsProvidingComponentsEntityCard = createEntityCardExtension({
|
||||
name: 'providing-components',
|
||||
// Ommiting configSchema for now
|
||||
// we are skipping variations, see: https://github.com/backstage/backstage/pull/22619#discussion_r1477333252
|
||||
loader: () =>
|
||||
import('./components/ComponentsCards').then(m => (
|
||||
<m.ProvidingComponentsCard />
|
||||
)),
|
||||
});
|
||||
|
||||
export default createPlugin({
|
||||
id: 'api-docs',
|
||||
routes: {
|
||||
@@ -119,5 +129,6 @@ export default createPlugin({
|
||||
ApiDocsProvidedApisEntityCard,
|
||||
ApiDocsConsumedApisEntityCard,
|
||||
ApiDocsConsumingComponentsEntityCard,
|
||||
ApiDocsProvidingComponentsEntityCard,
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user