catalog: add missing unregisterRedirect external router to alpha
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog': patch
|
||||
---
|
||||
|
||||
Updated alpha plugin to include the `unregisterRedirect` external route.
|
||||
@@ -50,6 +50,7 @@ const _default: BackstagePlugin<
|
||||
},
|
||||
true
|
||||
>;
|
||||
unregisterRedirect: ExternalRouteRef<undefined, true>;
|
||||
}
|
||||
>;
|
||||
export default _default;
|
||||
|
||||
@@ -22,6 +22,7 @@ import { entityRouteRef } from '@backstage/plugin-catalog-react';
|
||||
import {
|
||||
createComponentRouteRef,
|
||||
createFromTemplateRouteRef,
|
||||
unregisterRedirectRouteRef,
|
||||
rootRouteRef,
|
||||
viewTechDocRouteRef,
|
||||
} from '../routes';
|
||||
@@ -45,6 +46,7 @@ export default createPlugin({
|
||||
viewTechDoc: convertLegacyRouteRef(viewTechDocRouteRef),
|
||||
createComponent: convertLegacyRouteRef(createComponentRouteRef),
|
||||
createFromTemplate: convertLegacyRouteRef(createFromTemplateRouteRef),
|
||||
unregisterRedirect: convertLegacyRouteRef(unregisterRedirectRouteRef),
|
||||
},
|
||||
extensions: [
|
||||
...apis,
|
||||
|
||||
Reference in New Issue
Block a user