feat: updating name for default swappable refs

Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
benjdlambert
2025-08-11 13:41:02 +02:00
parent 4de73c5c18
commit d274e0c90e
8 changed files with 34 additions and 49 deletions
+6 -6
View File
@@ -743,9 +743,9 @@ const appPlugin: FrontendPlugin<
element: JSX.Element;
};
}>;
'component:app/core.components.errorBoundary': ExtensionDefinition<{
'component:app/core-error-display': ExtensionDefinition<{
kind: 'component';
name: 'core.components.errorBoundary';
name: 'core-error-display';
config: {};
configInput: {};
output: ExtensionDataRef<
@@ -799,9 +799,9 @@ const appPlugin: FrontendPlugin<
: never;
}>;
}>;
'component:app/core.components.notFoundErrorPage': ExtensionDefinition<{
'component:app/core-not-found-error-page': ExtensionDefinition<{
kind: 'component';
name: 'core.components.notFoundErrorPage';
name: 'core-not-found-error-page';
config: {};
configInput: {};
output: ExtensionDataRef<
@@ -855,9 +855,9 @@ const appPlugin: FrontendPlugin<
: never;
}>;
}>;
'component:app/core.components.progress': ExtensionDefinition<{
'component:app/core-progress': ExtensionDefinition<{
kind: 'component';
name: 'core.components.progress';
name: 'core-progress';
config: {};
configInput: {};
output: ExtensionDataRef<
+4 -4
View File
@@ -28,7 +28,7 @@ import {
import Button from '@material-ui/core/Button';
export const Progress = SwappableComponentBlueprint.make({
name: 'core.components.progress',
name: 'core-progress',
params: define =>
define({
component: SwappableProgress,
@@ -37,7 +37,7 @@ export const Progress = SwappableComponentBlueprint.make({
});
export const NotFoundErrorPage = SwappableComponentBlueprint.make({
name: 'core.components.notFoundErrorPage',
name: 'core-not-found-error-page',
params: define =>
define({
component: SwappableNotFoundErrorPage,
@@ -46,8 +46,8 @@ export const NotFoundErrorPage = SwappableComponentBlueprint.make({
}),
});
export const ErrorBoundary = SwappableComponentBlueprint.make({
name: 'core.components.errorBoundary',
export const ErrorDisplay = SwappableComponentBlueprint.make({
name: 'core-error-display',
params: define =>
define({
component: SwappableErrorDisplay,
+1 -1
View File
@@ -31,4 +31,4 @@ export {
oauthRequestDialogAppRootElement,
alertDisplayAppRootElement,
} from './elements';
export { Progress, NotFoundErrorPage, ErrorBoundary } from './components';
export { Progress, NotFoundErrorPage, ErrorDisplay } from './components';
+2 -2
View File
@@ -35,7 +35,7 @@ import {
dialogDisplayAppRootElement,
Progress,
NotFoundErrorPage,
ErrorBoundary,
ErrorDisplay,
LegacyComponentsApi,
} from './extensions';
import { apis } from './defaultApis';
@@ -65,7 +65,7 @@ export const appPlugin = createFrontendPlugin({
dialogDisplayAppRootElement,
Progress,
NotFoundErrorPage,
ErrorBoundary,
ErrorDisplay,
LegacyComponentsApi,
],
});