frontend-plugin-api,catalog-react: remove default* prefix from blueprint params

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-08-01 14:41:21 +02:00
parent 9ad8a1d30e
commit e4ddf22854
68 changed files with 275 additions and 176 deletions
+2 -1
View File
@@ -231,7 +231,8 @@ const _default: FrontendPlugin<
kind: 'page';
name: undefined;
params: {
defaultPath: string;
defaultPath?: [Error: `Use the 'path' param instead`];
path: string;
loader: () => Promise<JSX.Element>;
routeRef?: RouteRef;
};
+1 -1
View File
@@ -46,7 +46,7 @@ export const scaffolderPage = PageBlueprint.makeWithOverrides({
);
return originalFactory({
routeRef: convertLegacyRouteRef(rootRouteRef),
defaultPath: '/create',
path: '/create',
loader: () =>
import('../components/Router/Router').then(m =>
compatWrapper(