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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user