From 3589ec587a8bff5e4700c88f534daed3be108067 Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Fri, 2 Feb 2024 09:25:23 +0000 Subject: [PATCH] chore: generated code for commit 4108aba9. [skip ci] https://github.com/algolia/api-clients-automation/commit/4108aba96436c2c2e83f3c9ef525c39831ef69ea Co-authored-by: algolia-bot Co-authored-by: Pierre Millot --- packages/algoliasearch/lite/model/highlightResult.ts | 1 + packages/algoliasearch/lite/model/snippetResult.ts | 3 ++- packages/client-search/model/highlightResult.ts | 1 + packages/client-search/model/snippetResult.ts | 3 ++- packages/recommend/model/highlightResult.ts | 1 + packages/recommend/model/snippetResult.ts | 3 ++- 6 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/algoliasearch/lite/model/highlightResult.ts b/packages/algoliasearch/lite/model/highlightResult.ts index 5e0575dbc..0b5ec518f 100644 --- a/packages/algoliasearch/lite/model/highlightResult.ts +++ b/packages/algoliasearch/lite/model/highlightResult.ts @@ -4,4 +4,5 @@ import type { HighlightResultOption } from './highlightResultOption'; export type HighlightResult = | HighlightResultOption + | HighlightResultOption[] | Record; diff --git a/packages/algoliasearch/lite/model/snippetResult.ts b/packages/algoliasearch/lite/model/snippetResult.ts index 162577983..7a139f4d7 100644 --- a/packages/algoliasearch/lite/model/snippetResult.ts +++ b/packages/algoliasearch/lite/model/snippetResult.ts @@ -4,4 +4,5 @@ import type { SnippetResultOption } from './snippetResultOption'; export type SnippetResult = | Record - | SnippetResultOption; + | SnippetResultOption + | SnippetResultOption[]; diff --git a/packages/client-search/model/highlightResult.ts b/packages/client-search/model/highlightResult.ts index 5e0575dbc..0b5ec518f 100644 --- a/packages/client-search/model/highlightResult.ts +++ b/packages/client-search/model/highlightResult.ts @@ -4,4 +4,5 @@ import type { HighlightResultOption } from './highlightResultOption'; export type HighlightResult = | HighlightResultOption + | HighlightResultOption[] | Record; diff --git a/packages/client-search/model/snippetResult.ts b/packages/client-search/model/snippetResult.ts index 162577983..7a139f4d7 100644 --- a/packages/client-search/model/snippetResult.ts +++ b/packages/client-search/model/snippetResult.ts @@ -4,4 +4,5 @@ import type { SnippetResultOption } from './snippetResultOption'; export type SnippetResult = | Record - | SnippetResultOption; + | SnippetResultOption + | SnippetResultOption[]; diff --git a/packages/recommend/model/highlightResult.ts b/packages/recommend/model/highlightResult.ts index 5e0575dbc..0b5ec518f 100644 --- a/packages/recommend/model/highlightResult.ts +++ b/packages/recommend/model/highlightResult.ts @@ -4,4 +4,5 @@ import type { HighlightResultOption } from './highlightResultOption'; export type HighlightResult = | HighlightResultOption + | HighlightResultOption[] | Record; diff --git a/packages/recommend/model/snippetResult.ts b/packages/recommend/model/snippetResult.ts index 162577983..7a139f4d7 100644 --- a/packages/recommend/model/snippetResult.ts +++ b/packages/recommend/model/snippetResult.ts @@ -4,4 +4,5 @@ import type { SnippetResultOption } from './snippetResultOption'; export type SnippetResult = | Record - | SnippetResultOption; + | SnippetResultOption + | SnippetResultOption[];