From 248d5c514c5b02ac48e4ce34dac80429fd6a90cc Mon Sep 17 00:00:00 2001 From: Emma Indal Date: Wed, 11 Sep 2024 14:08:38 +0200 Subject: [PATCH 1/2] remove config object on icon bundle blueprint Signed-off-by: Emma Indal --- .../src/blueprints/IconBundleBlueprint.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/frontend-plugin-api/src/blueprints/IconBundleBlueprint.ts b/packages/frontend-plugin-api/src/blueprints/IconBundleBlueprint.ts index 51b3b6d633..303d1a3fd2 100644 --- a/packages/frontend-plugin-api/src/blueprints/IconBundleBlueprint.ts +++ b/packages/frontend-plugin-api/src/blueprints/IconBundleBlueprint.ts @@ -26,12 +26,6 @@ export const IconBundleBlueprint = createExtensionBlueprint({ kind: 'icon-bundle', attachTo: { id: 'api:app/icons', input: 'icons' }, output: [iconsDataRef], - config: { - schema: { - icons: z => z.string().default('blob'), - test: z => z.string(), - }, - }, factory: (params: { icons: { [key in string]: IconComponent } }) => [ iconsDataRef(params.icons), ], From 220f4f73bbae48f7eee020cdefab72c0dc2fff03 Mon Sep 17 00:00:00 2001 From: Emma Indal Date: Wed, 11 Sep 2024 14:10:03 +0200 Subject: [PATCH 2/2] api report + changeset Signed-off-by: Emma Indal --- .changeset/strange-games-pull.md | 5 +++++ packages/frontend-plugin-api/api-report.md | 10 ++-------- 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 .changeset/strange-games-pull.md diff --git a/.changeset/strange-games-pull.md b/.changeset/strange-games-pull.md new file mode 100644 index 0000000000..eb4e47fd65 --- /dev/null +++ b/.changeset/strange-games-pull.md @@ -0,0 +1,5 @@ +--- +'@backstage/frontend-plugin-api': patch +--- + +Remove unnecessary config object on IconBundleBlueprint diff --git a/packages/frontend-plugin-api/api-report.md b/packages/frontend-plugin-api/api-report.md index 1b89aeac74..fc62582af0 100644 --- a/packages/frontend-plugin-api/api-report.md +++ b/packages/frontend-plugin-api/api-report.md @@ -1519,14 +1519,8 @@ export const IconBundleBlueprint: ExtensionBlueprint<{ {} >; inputs: {}; - config: { - icons: string; - test: string; - }; - configInput: { - test: string; - icons?: string | undefined; - }; + config: {}; + configInput: {}; dataRefs: { icons: ConfigurableExtensionDataRef< {