Merge pull request #26625 from backstage/emmaindal/icons-blueprint-fixup
icons blueprint fixup
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/frontend-plugin-api': patch
|
||||
---
|
||||
|
||||
Remove unnecessary config object on IconBundleBlueprint
|
||||
@@ -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),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user