Skip to content

Commit

Permalink
fix(clients): highlight and snippet results e2e (generated)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
3 people committed Aug 21, 2024
1 parent 392a8f9 commit dd706e1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions packages/client-abtesting/model/aBTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ export type ABTest = {
*/
abTestID: number;

clickSignificance: number | null;
clickSignificance?: number | null;

conversionSignificance: number | null;
conversionSignificance?: number | null;

addToCartSignificance: number | null;
addToCartSignificance?: number | null;

purchaseSignificance: number | null;
purchaseSignificance?: number | null;

revenueSignificance: Record<string, number> | null;
revenueSignificance?: Record<string, number> | null;

/**
* Date and time when the A/B test was last updated, in RFC 3339 format.
Expand Down
10 changes: 5 additions & 5 deletions packages/client-abtesting/model/variant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ export type Variant = {
/**
* [Add-to-cart rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#add-to-cart-rate) for this variant.
*/
addToCartRate: number | null;
addToCartRate?: number | null;

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

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

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

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

/**
* Number of searches for this variant.
Expand Down

0 comments on commit dd706e1

Please sign in to comment.