Skip to main content

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, true>>>) => void;

References: ExternalRouteRef