Skip to main content
Version: Next

CreateAppRouteBinder

Home > @backstage/frontend-app-api > CreateAppRouteBinder

A function that can bind from external routes of a given plugin, to concrete routes of other plugins. See createApp().

Signature:

export type CreateAppRouteBinder = <TExternalRoutes extends {
[name: string]: ExternalRouteRef;
}>(externalRoutes: TExternalRoutes, targetRoutes: PartialKeys<TargetRouteMap<TExternalRoutes>, KeysWithType<TExternalRoutes, ExternalRouteRef<any>>>) => void;

References: ExternalRouteRef