-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Version 1.7.0 ### Features - Added support for `failedVerticals` in universal search responses (#164) - Export LiveApi Sandbox endpoints (#165) - Added support for the `excluded` param in filter search requests (#166)
- Loading branch information
Showing
38 changed files
with
14,944 additions
and
10,382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/answers-core](./answers-core.md) > [ErrorType](./answers-core.errortype.md) | ||
|
||
## ErrorType enum | ||
|
||
Identifier for the type of error causing the failure. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare enum ErrorType | ||
``` | ||
|
||
## Enumeration Members | ||
|
||
| Member | Value | Description | | ||
| --- | --- | --- | | ||
| BackendError | <code>"BACKEND_ERROR"</code> | An internal error from the API backend. | | ||
| InvalidConfig | <code>"INVALID_CONFIG"</code> | An invalid config from the request. | | ||
| InvalidQuery | <code>"INVALID_QUERY"</code> | An invalid query from the request. | | ||
| Timeout | <code>"TIMEOUT"</code> | A timeout error from the server. | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/answers-core](./answers-core.md) > [FailedVertical](./answers-core.failedvertical.md) > [details](./answers-core.failedvertical.details.md) | ||
|
||
## FailedVertical.details property | ||
|
||
Detailed information about the error. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
details: { | ||
responseCode: number; | ||
description: string; | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) > [@yext/answers-core](./answers-core.md) > [FailedVertical](./answers-core.failedvertical.md) > [errorType](./answers-core.failedvertical.errortype.md) | ||
|
||
## FailedVertical.errorType property | ||
|
||
Identifier for the type of error causing the failure. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
errorType: ErrorType; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/answers-core](./answers-core.md) > [FailedVertical](./answers-core.failedvertical.md) | ||
|
||
## FailedVertical interface | ||
|
||
Error information from when a vertical fails to return results. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface FailedVertical | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [details](./answers-core.failedvertical.details.md) | { responseCode: number; description: string; } | Detailed information about the error. | | ||
| [errorType](./answers-core.failedvertical.errortype.md) | [ErrorType](./answers-core.errortype.md) | Identifier for the type of error causing the failure. | | ||
| [queryDurationMillis](./answers-core.failedvertical.querydurationmillis.md) | number | The duration of the query in milliseconds. | | ||
| [verticalKey](./answers-core.failedvertical.verticalkey.md) | string | The vertical key associated with the failed vertical. | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) > [@yext/answers-core](./answers-core.md) > [FailedVertical](./answers-core.failedvertical.md) > [queryDurationMillis](./answers-core.failedvertical.querydurationmillis.md) | ||
|
||
## FailedVertical.queryDurationMillis property | ||
|
||
The duration of the query in milliseconds. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
queryDurationMillis: number; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) > [@yext/answers-core](./answers-core.md) > [FailedVertical](./answers-core.failedvertical.md) > [verticalKey](./answers-core.failedvertical.verticalkey.md) | ||
|
||
## FailedVertical.verticalKey property | ||
|
||
The vertical key associated with the failed vertical. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
verticalKey: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) > [@yext/answers-core](./answers-core.md) > [FilterSearchRequest](./answers-core.filtersearchrequest.md) > [excluded](./answers-core.filtersearchrequest.excluded.md) | ||
|
||
## FilterSearchRequest.excluded property | ||
|
||
an array of filters that should be excluded from filter search results. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
excluded?: Filter[]; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) > [@yext/answers-core](./answers-core.md) > [SandboxEndpoints](./answers-core.sandboxendpoints.md) | ||
|
||
## SandboxEndpoints variable | ||
|
||
The endpoints to use for sandbox experiences. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
SandboxEndpoints: Required<Endpoints> | ||
``` |
13 changes: 13 additions & 0 deletions
13
docs/answers-core.universalsearchresponse.failedverticals.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) > [@yext/answers-core](./answers-core.md) > [UniversalSearchResponse](./answers-core.universalsearchresponse.md) > [failedVerticals](./answers-core.universalsearchresponse.failedverticals.md) | ||
|
||
## UniversalSearchResponse.failedVerticals property | ||
|
||
Error information from when a vertical fails to return results. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
failedVerticals?: FailedVertical[]; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.