File tree 1 file changed +43
-0
lines changed
packages/client-search/src/types
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -358,6 +358,49 @@ export type Settings = {
358
358
} ;
359
359
} ;
360
360
} ;
361
+ /**
362
+ * Defining UI widget configuration
363
+ */
364
+ readonly widgets ?: {
365
+ /**
366
+ * Configuration for banners
367
+ */
368
+ readonly banners ?: ReadonlyArray < {
369
+ /**
370
+ * Configuration for the banner image
371
+ */
372
+ readonly image : {
373
+ /**
374
+ * Set of possible URLs of the banner image
375
+ */
376
+ readonly urls : ReadonlyArray < {
377
+ /**
378
+ * URL of the banner image
379
+ */
380
+ readonly url : string ;
381
+ } > ;
382
+ /**
383
+ * Alt text of the banner image
384
+ */
385
+ readonly title ?: string ;
386
+ } ;
387
+ /**
388
+ * Configuration for the banner click navigation
389
+ */
390
+ readonly link ?: {
391
+ /**
392
+ * URL to navigate to when the banner is clicked
393
+ */
394
+ readonly url ?: string ;
395
+ /**
396
+ * Target of the navigation
397
+ * - `_blank` opens the URL in a new tab
398
+ * - `_self` opens the URL in the same tab
399
+ */
400
+ readonly target ?: '_blank' | '_self' ;
401
+ } ;
402
+ } > ;
403
+ } ;
361
404
} ;
362
405
363
406
/**
You can’t perform that action at this time.
0 commit comments