Skip to content

Commit dd706e1

Browse files
algolia-botshortcutsmillotp
committed
fix(clients): highlight and snippet results e2e (generated)
algolia/api-clients-automation#3567 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 392a8f9 commit dd706e1

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

packages/client-abtesting/model/aBTest.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ export type ABTest = {
1010
*/
1111
abTestID: number;
1212

13-
clickSignificance: number | null;
13+
clickSignificance?: number | null;
1414

15-
conversionSignificance: number | null;
15+
conversionSignificance?: number | null;
1616

17-
addToCartSignificance: number | null;
17+
addToCartSignificance?: number | null;
1818

19-
purchaseSignificance: number | null;
19+
purchaseSignificance?: number | null;
2020

21-
revenueSignificance: Record<string, number> | null;
21+
revenueSignificance?: Record<string, number> | null;
2222

2323
/**
2424
* Date and time when the A/B test was last updated, in RFC 3339 format.

packages/client-abtesting/model/variant.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ export type Variant = {
1212
/**
1313
* [Add-to-cart rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#add-to-cart-rate) for this variant.
1414
*/
15-
addToCartRate: number | null;
15+
addToCartRate?: number | null;
1616

1717
/**
1818
* [Average click position](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-position) for this variant.
1919
*/
20-
averageClickPosition: number | null;
20+
averageClickPosition?: number | null;
2121

2222
/**
2323
* Number of click events for this variant.
@@ -27,7 +27,7 @@ export type Variant = {
2727
/**
2828
* [Click-through rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate) for this variant.
2929
*/
30-
clickThroughRate: number | null;
30+
clickThroughRate?: number | null;
3131

3232
/**
3333
* Number of click events for this variant.
@@ -37,7 +37,7 @@ export type Variant = {
3737
/**
3838
* [Conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate) for this variant.
3939
*/
40-
conversionRate: number | null;
40+
conversionRate?: number | null;
4141

4242
/**
4343
* A/B test currencies.
@@ -74,7 +74,7 @@ export type Variant = {
7474
/**
7575
* [Purchase rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#purchase-rate) for this variant.
7676
*/
77-
purchaseRate: number | null;
77+
purchaseRate?: number | null;
7878

7979
/**
8080
* Number of searches for this variant.

0 commit comments

Comments
 (0)