refactor(home): rename HomepageWidgetBlueprint to HomePageWidgetBlueprint

Align naming convention with HomePageLayoutBlueprint and the catalog
plugin's consistent entity- prefix pattern. Also update the kind string
from 'home-widget' to 'home-page-widget' to match 'home-page-layout'.
Added interface-level JSDoc to HomePageWidgetBlueprintParams.
Signed-off-by: Adam Kunicki <kunickiaj@gmail.com>
This commit is contained in:
Adam Kunicki
2026-02-07 05:11:35 -08:00
parent 1ba0ee341a
commit e4544fb773
6 changed files with 26 additions and 22 deletions
+4 -4
View File
@@ -28,7 +28,7 @@ import {
createFrontendModule,
} from '@backstage/frontend-plugin-api';
import {
HomepageWidgetBlueprint,
HomePageWidgetBlueprint,
HomePageLayoutBlueprint,
} from '@backstage/plugin-home-react/alpha';
import { HeaderWorldClock, WelcomeTitle, type ClockConfig } from '../src';
@@ -102,7 +102,7 @@ const homePageLayout = HomePageLayoutBlueprint.make({
},
});
const homePageToolkitWidget = HomepageWidgetBlueprint.make({
const homePageToolkitWidget = HomePageWidgetBlueprint.make({
name: 'home-toolkit',
params: {
name: 'HomePageToolkit',
@@ -124,7 +124,7 @@ const homePageToolkitWidget = HomepageWidgetBlueprint.make({
},
});
const homePageStarredEntitiesWidget = HomepageWidgetBlueprint.make({
const homePageStarredEntitiesWidget = HomePageWidgetBlueprint.make({
name: 'home-starred-entities',
params: {
name: 'HomePageStarredEntities',
@@ -136,7 +136,7 @@ const homePageStarredEntitiesWidget = HomepageWidgetBlueprint.make({
},
});
const homePageRandomJokeWidget = HomepageWidgetBlueprint.make({
const homePageRandomJokeWidget = HomePageWidgetBlueprint.make({
name: 'home-random-joke',
params: {
name: 'HomePageRandomJoke',