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
@@ -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: {