Merge pull request #25918 from backstage/rugvip/optional
frontend-plugin-api: make all route refs optional at all times
This commit is contained in:
@@ -30,15 +30,12 @@ const _default: BackstagePlugin<
|
||||
edit: SubRouteRef<undefined>;
|
||||
},
|
||||
{
|
||||
registerComponent: ExternalRouteRef<undefined, true>;
|
||||
viewTechDoc: ExternalRouteRef<
|
||||
{
|
||||
name: string;
|
||||
kind: string;
|
||||
namespace: string;
|
||||
},
|
||||
true
|
||||
>;
|
||||
registerComponent: ExternalRouteRef<undefined>;
|
||||
viewTechDoc: ExternalRouteRef<{
|
||||
name: string;
|
||||
kind: string;
|
||||
namespace: string;
|
||||
}>;
|
||||
}
|
||||
>;
|
||||
export default _default;
|
||||
|
||||
Reference in New Issue
Block a user