diff --git a/packages/client-search/src/types/Settings.ts b/packages/client-search/src/types/Settings.ts index 9a2199d46..c763eacbc 100644 --- a/packages/client-search/src/types/Settings.ts +++ b/packages/client-search/src/types/Settings.ts @@ -358,6 +358,49 @@ export type Settings = { }; }; }; + /** + * Defining UI widget configuration + */ + readonly widgets?: { + /** + * Configuration for banners + */ + readonly banners?: ReadonlyArray<{ + /** + * Configuration for the banner image + */ + readonly image: { + /** + * Set of possible URLs of the banner image + */ + readonly urls: ReadonlyArray<{ + /** + * URL of the banner image + */ + readonly url: string; + }>; + /** + * Alt text of the banner image + */ + readonly title?: string; + }; + /** + * Configuration for the banner click navigation + */ + readonly link?: { + /** + * URL to navigate to when the banner is clicked + */ + readonly url?: string; + /** + * Target of the navigation + * - `_blank` opens the URL in a new tab + * - `_self` opens the URL in the same tab + */ + readonly target?: '_blank' | '_self'; + }; + }>; + }; }; /**