Config schema to support app.routes.bindings

Signed-off-by: Marco Crivellaro <marco.crive@gmail.com>
This commit is contained in:
Marco Crivellaro
2024-06-29 20:04:46 +02:00
parent c780320418
commit db2e2d51f6
2 changed files with 17 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-app-api': patch
---
Updated config schema to support app.routes.bindings
+12
View File
@@ -65,6 +65,18 @@ export interface Config {
}>;
}>;
};
routes?: {
/**
* Maps external route references to regular route references. Both the
* key and the value is expected to be on the form `<pluginId>.<routeId>`.
* If the value is `false`, the route will be disabled even if it has a
* default mapping.
*
* @deepVisibility frontend
*/
bindings?: { [externalRouteRefId: string]: string | false };
};
};
/**