@algolia/client-search 4.23.3 → 4.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -811,6 +811,10 @@ export declare type Index = {
811
811
  * Contains the names of all linked replicas.
812
812
  */
813
813
  readonly replicas?: readonly string[];
814
+ /**
815
+ * Only present if the index is a virtual replica.
816
+ */
817
+ readonly virtual?: boolean;
814
818
  };
815
819
 
816
820
  export declare type IndexOperationResponse = {
@@ -2346,6 +2350,10 @@ export declare type Settings = {
2346
2350
  */
2347
2351
  readonly values?: {
2348
2352
  readonly [facet: string]: {
2353
+ /**
2354
+ * Hide facet values
2355
+ */
2356
+ readonly hide?: readonly string[];
2349
2357
  /**
2350
2358
  * pinned order of facet values
2351
2359
  */
@@ -2360,6 +2368,49 @@ export declare type Settings = {
2360
2368
  };
2361
2369
  };
2362
2370
  };
2371
+ /**
2372
+ * Defining UI widget configuration
2373
+ */
2374
+ readonly widgets?: {
2375
+ /**
2376
+ * Configuration for banners
2377
+ */
2378
+ readonly banners?: ReadonlyArray<{
2379
+ /**
2380
+ * Configuration for the banner image
2381
+ */
2382
+ readonly image: {
2383
+ /**
2384
+ * Set of possible URLs of the banner image
2385
+ */
2386
+ readonly urls: ReadonlyArray<{
2387
+ /**
2388
+ * URL of the banner image
2389
+ */
2390
+ readonly url: string;
2391
+ }>;
2392
+ /**
2393
+ * Alt text of the banner image
2394
+ */
2395
+ readonly title?: string;
2396
+ };
2397
+ /**
2398
+ * Configuration for the banner click navigation
2399
+ */
2400
+ readonly link?: {
2401
+ /**
2402
+ * URL to navigate to when the banner is clicked
2403
+ */
2404
+ readonly url?: string;
2405
+ /**
2406
+ * Target of the navigation
2407
+ * - `_blank` opens the URL in a new tab
2408
+ * - `_self` opens the URL in the same tab
2409
+ */
2410
+ readonly target?: '_blank' | '_self';
2411
+ };
2412
+ }>;
2413
+ };
2363
2414
  };
2364
2415
  /**
2365
2416
  * Whether this index should use Dynamic Re-Ranking.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/client-search",
3
- "version": "4.23.3",
3
+ "version": "4.25.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,8 +16,8 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@algolia/client-common": "4.23.3",
20
- "@algolia/requester-common": "4.23.3",
21
- "@algolia/transporter": "4.23.3"
19
+ "@algolia/client-common": "4.25.0",
20
+ "@algolia/requester-common": "4.25.0",
21
+ "@algolia/transporter": "4.25.0"
22
22
  }
23
23
  }