@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. | |
A simpler replacement for wrapping up | |
Creates a route descriptor, to be later bound to a concrete route by the app. Used to implement cross-plugin route references. | |
Create a RouteRef from a route descriptor. | |
Create a SubRouteRef from a route descriptor. | |
Gets a pre-configured analytics tracker. | |
Returns the component associated with the given ref. | |
React hook for constructing URLs to routes. | |
React hook for retrieving dynamic params from the current URL. |
Interfaces
Interface |
Description |
---|---|
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. | |
API for looking up components based on component refs. | |
Route descriptor, to be later bound to a concrete route by the app. Used to implement cross-plugin route references. | |
API for accessing app icons. | |
Absolute route reference. | |
Descriptor of a route relative to an absolute RouteRef. |
Namespaces
Namespace |
Description |
---|---|
Variables
Variable |
Description |
---|---|
The API reference of AnalyticsApi. | |
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 extensions that make up the items of the nav bar. | |
Creates an extension that replaces the logo in the nav bar with your own. | |
Createx extensions that are routable React page components. | |
The | |
Creates an extension that replaces the sign in page. | |
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. | |
Analytics context envelope. | |
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. | |
Represents a tracker with methods that can be called to track events in a configured analytics service. | |
Catch-all type for route params. | |
Common analytics context attributes. | |
Feature flag configuration. | |
IconComponent is the common icon type used throughout Backstage when working with and rendering generic icons, including the app system icons. | |
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. | |