frontend-plugin-api: remove defineParams from PluginHeaderActionBlueprint

Replace the defineParams + createExtensionBlueprintParams pattern with
inline param types on the factory, matching PageBlueprint, SubPageBlueprint,
and other blueprints. Update the app-visualizer usage accordingly.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-19 13:43:08 +01:00
parent 6a3e5f41c0
commit e220589506
6 changed files with 20 additions and 23 deletions
@@ -0,0 +1,5 @@
---
'@backstage/frontend-plugin-api': minor
---
**BREAKING**: Removed the `defineParams` callback from `PluginHeaderActionBlueprint`. Params are now typed inline on the factory, matching the pattern used by `PageBlueprint`, `SubPageBlueprint`, and others. To migrate, change `params: defineParams => defineParams({ ... })` to `params: { ... }` when calling `PluginHeaderActionBlueprint.make(...)`.
@@ -0,0 +1,5 @@
---
'@backstage/plugin-app-visualizer': patch
---
Updated `PluginHeaderActionBlueprint` usage to pass params as a plain object.