Merge pull request #26625 from backstage/emmaindal/icons-blueprint-fixup

icons blueprint fixup
This commit is contained in:
Patrik Oldsberg
2024-09-11 15:26:58 +03:00
committed by GitHub
3 changed files with 7 additions and 14 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/frontend-plugin-api': patch
---
Remove unnecessary config object on IconBundleBlueprint
+2 -8
View File
@@ -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<
{
@@ -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),
],