Skip to content

Commit 0eab7ab

Browse files
feat(specs): recursive snippets and highlights result (generated)
algolia/api-clients-automation#3497 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 5c1a700 commit 0eab7ab

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

packages/algoliasearch/lite/model/highlightResult.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ import type { HighlightResultOption } from './highlightResultOption';
55
export type HighlightResult =
66
| HighlightResultOption
77
| HighlightResultOption[]
8-
| Record<string, HighlightResultOption>;
8+
| Record<string, HighlightResultOption>
9+
| { [key: string]: HighlightResult };

packages/algoliasearch/lite/model/snippetResult.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ import type { SnippetResultOption } from './snippetResultOption';
55
export type SnippetResult =
66
| Record<string, SnippetResultOption>
77
| SnippetResultOption
8-
| SnippetResultOption[];
8+
| SnippetResultOption[]
9+
| { [key: string]: SnippetResult };

packages/client-search/model/highlightResult.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ import type { HighlightResultOption } from './highlightResultOption';
55
export type HighlightResult =
66
| HighlightResultOption
77
| HighlightResultOption[]
8-
| Record<string, HighlightResultOption>;
8+
| Record<string, HighlightResultOption>
9+
| { [key: string]: HighlightResult };

packages/client-search/model/snippetResult.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ import type { SnippetResultOption } from './snippetResultOption';
55
export type SnippetResult =
66
| Record<string, SnippetResultOption>
77
| SnippetResultOption
8-
| SnippetResultOption[];
8+
| SnippetResultOption[]
9+
| { [key: string]: SnippetResult };

packages/recommend/model/highlightResult.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ import type { HighlightResultOption } from './highlightResultOption';
55
export type HighlightResult =
66
| HighlightResultOption
77
| HighlightResultOption[]
8-
| Record<string, HighlightResultOption>;
8+
| Record<string, HighlightResultOption>
9+
| { [key: string]: HighlightResult };

packages/recommend/model/snippetResult.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ import type { SnippetResultOption } from './snippetResultOption';
55
export type SnippetResult =
66
| Record<string, SnippetResultOption>
77
| SnippetResultOption
8-
| SnippetResultOption[];
8+
| SnippetResultOption[]
9+
| { [key: string]: SnippetResult };

0 commit comments

Comments
 (0)