@backstage/frontend-plugin-api
Home > @backstage/frontend-plugin-api
Core API used by Backstage frontend plugins.
Functions
Function |
Description |
---|---|
Provides components in the child react tree an Analytics Context, ensuring all analytics events captured within the context have relevant attributes. | |
Creates a new extension definition for installation in a Backstage app. | |
Creates a new extension blueprint that encapsulates the creation of extensions of particular kinds. | |
Wraps a plain blueprint parameter object in an opaque ExtensionBlueprintParams object. This is used in the definition of the | |
Creates a route descriptor, to be later bound to a concrete route by the app. Used to implement cross-plugin route references. | |
Creates a new module that can be installed in a Backstage app. | |
Creates a new plugin that can be installed in a Backstage app. | |
Create a RouteRef from a route descriptor. | |
Create a SubRouteRef from a route descriptor. | |
Creates a SwappableComponent that can be used to render the component, optionally overridden by the app. | |
Gets a pre-configured analytics tracker. | |
React hook providing access to the current AppNode. | |
React hook for constructing URLs to routes. | |
React hook for retrieving dynamic params from the current URL. |
Interfaces
Interface |
Description |
---|---|
Analytics context envelope. | |
A node in the AppTree. | |
The connections from this AppNode to other nodes. | |
The app tree containing all AppNodes of the app. | |
The API for interacting with the AppTree. | |
A Utility API for showing dialogs that render in the React tree and return a result. | |
A handle for an open dialog that can be used to interact with it. | |
Route descriptor, to be later bound to a concrete route by the app. Used to implement cross-plugin route references. | |
Information about the plugin. | |
API for accessing app icons. | |
The props for the NavContentComponent. | |
Absolute route reference. | |
Descriptor of a route relative to an absolute RouteRef. | |
API for looking up components based on component refs. |
Namespaces
Namespace |
Description |
---|---|
Variables
Variable |
Description |
---|---|
The API reference of AnalyticsApi. | |
Creates analytics implementations. | |
Creates utility API extensions. | |
Creates extensions that render a React element at the app root, outside of the app layout. This is useful for example for shared popups and similar. | |
Creates a extensions that render a React wrapper at the app root, enclosing the app layout. This is useful for example for adding global React contexts and similar. | |
The | |
The | |
The | |
Creates an extension that replaces the entire nav bar with your own component. | |
Creates extensions that make up the items of the nav bar. | |
Createx extensions that are routable React page components. | |
The | |
Creates an extension that replaces the sign in page. | |
Blueprint for creating swappable components from a SwappableComponentRef and a loader | |
The | |
Creates an extension that adds/replaces an app theme. | |
Creates an extension that adds translations to your app. |
Type Aliases
Type Alias |
Description |
---|---|
The Analytics API is used to track user behavior in a Backstage instance. | |
Represents an event worth tracking in an analytics system that could inform how users of a Backstage instance are using its features. | |
A structure allowing other arbitrary metadata to be provided by analytics event emitters. | |
Analytics implementations are used to track user behavior in a Backstage instance. | |
Represents a tracker with methods that can be called to track events in a configured analytics service. | |
Catch-all type for route params. | |
Options for creating an SwappableComponent. | |
A function used to define a parameter mapping function in order to facilitate advanced parameter typing for extension blueprints. | |
An opaque type that represents a set of parameters to be passed to a blueprint. | |
Feature flag configuration. | |
Options for providing information for a plugin. | |
IconComponent is the common icon type used throughout Backstage when working with and rendering generic icons, including the app system icons. | |
A component that renders the nav bar content, to be passed to the NavContentBlueprint. | |
Convert a single extension input into a matching resolved input. | |
Converts an extension input map into a matching collection of resolved inputs. | |
TS magic for handling route parameters. | |