Skip to content

Commit

Permalink
Version 2.2.0
Browse files Browse the repository at this point in the history
### Changes

* Adds inputIntents to AutocompleteResult (#230)
  • Loading branch information
oshi97 committed Mar 24, 2023
2 parents f81b65f + 3dd1016 commit a73bea9
Show file tree
Hide file tree
Showing 10 changed files with 7,627 additions and 15,029 deletions.
13 changes: 13 additions & 0 deletions docs/search-core.autocompleteresult.inputintents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@yext/search-core](./search-core.md) &gt; [AutocompleteResult](./search-core.autocompleteresult.md) &gt; [inputIntents](./search-core.autocompleteresult.inputintents.md)

## AutocompleteResult.inputIntents property

[SearchIntent](./search-core.searchintent.md)<!-- -->s corresponding to the autocomplete result.

<b>Signature:</b>

```typescript
inputIntents: SearchIntent[];
```
1 change: 1 addition & 0 deletions docs/search-core.autocompleteresult.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export interface AutocompleteResult
| Property | Type | Description |
| --- | --- | --- |
| [filter?](./search-core.autocompleteresult.filter.md) | [FieldValueFilter](./search-core.fieldvaluefilter.md) | <i>(Optional)</i> A filter applied to the autocomplete response. |
| [inputIntents](./search-core.autocompleteresult.inputintents.md) | [SearchIntent](./search-core.searchintent.md)<!-- -->\[\] | [SearchIntent](./search-core.searchintent.md)<!-- -->s corresponding to the autocomplete result. |
| [key?](./search-core.autocompleteresult.key.md) | string | <i>(Optional)</i> The fieldId which corresponds to the AutocompleteResult value. |
| [matchedSubstrings?](./search-core.autocompleteresult.matchedsubstrings.md) | { length: number; offset: number; }\[\] | <i>(Optional)</i> An array of substrings which overlap with the autocomplete input. |
| [relatedItem?](./search-core.autocompleteresult.relateditem.md) | [Result](./search-core.result.md) | <i>(Optional)</i> An entity that corresponds to the autocomplete result. |
Expand Down
1 change: 1 addition & 0 deletions etc/search-core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export interface AutocompleteResponse {
// @public
export interface AutocompleteResult {
filter?: FieldValueFilter;
inputIntents: SearchIntent[];
key?: string;
matchedSubstrings?: {
length: number;
Expand Down

0 comments on commit a73bea9

Please sign in to comment.