Incorporated the feedback.

Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
This commit is contained in:
bnechyporenko
2022-07-06 17:26:11 +02:00
parent ec7c578c79
commit a12f618947
2 changed files with 4 additions and 65 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ import { AzurePullRequestsPage } from '@backstage/plugin-azure-devops';
import {
CatalogEntityPage,
CatalogIndexPage,
catalogPlugin,
customizedCatalog,
} from '@internal/plugin-catalog-customized';
import { CatalogGraphPage } from '@backstage/plugin-catalog-graph';
@@ -121,7 +121,7 @@ const app = createApp({
},
},
bindRoutes({ bind }) {
bind(catalogPlugin.externalRoutes, {
bind(customizedCatalog.externalRoutes, {
createComponent: scaffolderPlugin.routes.root,
viewTechDoc: techdocsPlugin.routes.docRoot,
});
@@ -132,7 +132,7 @@ const app = createApp({
registerComponent: catalogImportPlugin.routes.importPage,
});
bind(orgPlugin.externalRoutes, {
catalogIndex: catalogPlugin.routes.catalogIndex,
catalogIndex: customizedCatalog.routes.catalogIndex,
});
},
});
+1 -62
View File
@@ -16,65 +16,4 @@
export { customizedCatalog } from './plugin';
export type {
AboutCardProps,
AboutContentProps,
AboutFieldProps,
BackstageOverrides,
CatalogTable,
CatalogTableProps,
CatalogTableRow,
CatalogKindHeaderProps,
CatalogSearchResultListItemProps,
DefaultCatalogPageProps,
DefaultStarredEntitiesApi,
DependencyOfComponentsCardProps,
DependsOnComponentsCardProps,
DependsOnResourcesCardProps,
EntityContextMenuClassKey,
EntityLayoutProps,
EntityLayoutRouteProps,
EntityLinksEmptyStateClassKey,
EntityListContainer,
EntityLinksCardProps,
EntityOrphanWarning,
EntityProcessingErrorsPanel,
EntitySwitch,
EntitySwitchCaseProps,
EntitySwitchProps,
hasCatalogProcessingErrors,
HasComponentsCardProps,
HasResourcesCardProps,
isKind,
isNamespace,
isComponentType,
isOrphan,
FilterContainer,
FilteredEntityLayout,
HasSubcomponentsCardProps,
HasSystemsCardProps,
PluginCatalogComponentsNameToClassKey,
RelatedEntitiesCardProps,
SystemDiagramCardClassKey,
} from '@backstage/plugin-catalog';
export {
AboutContent,
AboutField,
catalogPlugin,
CatalogEntityPage,
CatalogIndexPage,
CatalogKindHeader,
CatalogSearchResultListItem,
EntityAboutCard,
EntityDependencyOfComponentsCard,
EntityDependsOnComponentsCard,
EntityDependsOnResourcesCard,
EntityHasComponentsCard,
EntityHasResourcesCard,
EntityHasSubcomponentsCard,
EntityHasSystemsCard,
EntityLayout,
EntityLinksCard,
RelatedEntitiesCard,
} from '@backstage/plugin-catalog';
export { CatalogEntityPage, CatalogIndexPage } from '@backstage/plugin-catalog';