Skip to main content

@backstage/plugin-catalog

Home > @backstage/plugin-catalog

The Backstage plugin for browsing the Backstage catalog

Classes

ClassDescription
DefaultEntityPresentationApiDefault implementation of the EntityPresentationApi.
DefaultStarredEntitiesApiDefault implementation of the StarredEntitiesApi that is backed by the StorageApi.

Functions

FunctionDescription
AboutContent(props)
AboutField(props)
CatalogEntityPage()
CatalogIndexPage(props)
CatalogKindHeader(props)
EntityAboutCard(props)
EntityDependencyOfComponentsCard(props)
EntityDependsOnComponentsCard(props)
EntityDependsOnResourcesCard(props)
EntityHasComponentsCard(props)
EntityHasResourcesCard(props)
EntityHasSubcomponentsCard(props)
EntityHasSystemsCard(props)
EntityOrphanWarning()Displays a warning alert if the entity is marked as orphan with the ability to delete said entity.
EntityProcessingErrorsPanel()Displays a list of errors from the ancestors of the current entity.
EntityRelationWarning()Displays a warning alert if the entity has relations to other entities, which don't exist in the catalog
hasCatalogProcessingErrors(entity, context)Returns true if the given entity has any processing errors on it.
hasLabels(entity)Returns true if the given entity has labels annotation given by the catalog. For use by EntitySwitch
hasRelationWarnings(entity, context)Returns true if the given entity has relations to other entities, which don't exist in the catalog
isApiType(types)For use in EntitySwitch.Case. Matches if the entity is an API of a given spec.type.
isComponentType(types)For use in EntitySwitch.Case. Matches if the entity is a Component of a given spec.type.
isEntityWith(predicate)For use in EntitySwitch.Case. Matches if the entity is the specified kind and type (if present).
isKind(kinds)For use in EntitySwitch.Case. Matches if the entity is of a given kind.
isNamespace(namespaces)For use in EntitySwitch.Case. Matches if the entity is in a given namespace.
isOrphan(entity)Returns true if the given entity has the orphan annotation given by the catalog.
isResourceType(types)For use in EntitySwitch.Case. Matches if the entity is a Resource of a given spec.type.

Interfaces

InterfaceDescription
AboutCardPropsProps for EntityAboutCard().
AboutContentPropsProps for AboutContent().
AboutFieldPropsProps for AboutField().
CatalogKindHeaderPropsProps for CatalogKindHeader().
CatalogSearchResultListItemPropsProps for CatalogSearchResultListItem.
CatalogTablePropsProps for CatalogTable.
CatalogTableRow
DefaultCatalogPagePropsProps for root catalog pages.
DefaultEntityPresentationApiOptionsOptions for the DefaultEntityPresentationApi.
DefaultEntityPresentationApiRendererA custom renderer for the DefaultEntityPresentationApi.
DependencyOfComponentsCardProps
DependsOnComponentsCardProps
DependsOnResourcesCardProps
EntityLabelsCardProps
EntityLayoutProps
EntityLinksCardProps
EntityPredicates
EntitySwitchCaseProps
EntitySwitchPropsProps for the EntitySwitch component.
HasComponentsCardProps
HasResourcesCardProps
HasSubcomponentsCardProps
HasSystemsCardProps

Variables

VariableDescription
catalogPlugin
CatalogSearchResultListItem
CatalogTable
EntityLabelsCard
EntityLayout

EntityLayout is a compound component, which allows you to define a layout for entities using a sub-navigation mechanism.

Consists of two parts: EntityLayout and EntityLayout.Route

EntityLinksCard
EntityListContainer
EntitySwitch
FilterContainer
FilteredEntityLayout
RelatedEntitiesCard

Type Aliases

Type AliasDescription
BackstageOverrides
Breakpoint
CatalogTableColumnsFuncTyped columns function to dynamically render columns based on entity list context.
ColumnBreakpoints
EntityContextMenuClassKey
EntityLayoutRouteProps
EntityLinksEmptyStateClassKey
PluginCatalogComponentsNameToClassKey
RelatedEntitiesCardProps
SystemDiagramCardClassKey