Skip to main content
Version: Next

@backstage/core-compat-api

Home > @backstage/core-compat-api

Classes

Class

Description

MultipleAnalyticsApi

An implementation of the AnalyticsApi that can be used to forward analytics events to multiple concrete implementations.

NoOpAnalyticsApi

Base implementation for the AnalyticsApi that does nothing.

Functions

Function

Description

compatWrapper(element)

Wraps a React element in a bidirectional compatibility provider, allow APIs from @backstage/core-plugin-api to be used in an app from @backstage/frontend-app-api, and APIs from @backstage/frontend-plugin-api to be used in an app from @backstage/core-app-api.

convertLegacyApp(rootElement)

convertLegacyPageExtension(LegacyExtension, overrides)

convertLegacyPlugin(legacyPlugin, options)

convertLegacyRouteRef(ref)

A temporary helper to convert a legacy route ref to the new system.

convertLegacyRouteRef(ref)

A temporary helper to convert a legacy sub route ref to the new system.

convertLegacyRouteRef(ref)

A temporary helper to convert a legacy external route ref to the new system.

convertLegacyRouteRef(ref)

A temporary helper to convert a new route ref to the legacy system.

convertLegacyRouteRef(ref)

A temporary helper to convert a new sub route ref to the legacy system.

convertLegacyRouteRef(ref)

A temporary helper to convert a new external route ref to the legacy system.

convertLegacyRouteRefs(refs)

Converts a collection of legacy route refs to the new system. This is particularly useful when defining plugin routes and externalRoutes.

Type Aliases

Type Alias

Description

ToNewRouteRef

Converts a legacy route ref type to the new system.