fix: replace old config schemas for extensions and blueprints

to overcome a lot of warnings given during for example testing where
these extensions are used.

Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
This commit is contained in:
Hellgren Heikki
2026-04-15 10:54:23 +03:00
parent a321fc0c47
commit cad156e797
47 changed files with 332 additions and 285 deletions
+2 -1
View File
@@ -69,7 +69,8 @@
"lodash": "^4.17.21",
"qs": "^6.9.4",
"react-use": "^17.3.2",
"uuid": "^11.0.2"
"uuid": "^11.0.2",
"zod": "^3.25.76 || ^4.0.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
@@ -15,6 +15,7 @@
*/
import { lazy, JSX } from 'react';
import { z } from 'zod/v4';
import {
createExtensionBlueprint,
ExtensionBoundary,
@@ -59,10 +60,8 @@ export const SearchResultListItemBlueprint = createExtensionBlueprint({
id: 'page:search',
input: 'items',
},
config: {
schema: {
noTrack: z => z.boolean().default(false),
},
configSchema: {
noTrack: z.boolean().default(false),
},
output: [searchResultListItemDataRef],
dataRefs: {