Skip to content

Commit

Permalink
Merge 2110f30 into da871b1
Browse files Browse the repository at this point in the history
  • Loading branch information
ElemelonWind committed Jul 12, 2022
2 parents da871b1 + 2110f30 commit 0127e88
Show file tree
Hide file tree
Showing 129 changed files with 476 additions and 466 deletions.
4 changes: 2 additions & 2 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ SOFTWARE.

The following NPM package may be included in this product:

- @yext/answers-core@1.7.0
- @yext/search-core@1.8.0

This package contains the following license and notice below:

The Answers Core files listed in this repository are licensed under the below license.  All other features and products are subject to separate agreements
The Search Core files listed in this repository are licensed under the below license.  All other features and products are subject to separate agreements
and certain functionality requires paid subscriptions to Yext products.

Contains information from the language-subtag-registry JSON Database (https://github.com/mattcg/language-subtag-registry/tree/master/data/json)
Expand Down
2 changes: 1 addition & 1 deletion __mocks__/@yext/answers-core.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from '@yext/answers-core';
export * from '@yext/search-core';

export function provideCore(): unknown {
return {
Expand Down
2 changes: 1 addition & 1 deletion api-extractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
* This would direct API Extractor to embed those types directly in the .d.ts rollup, as if they had been
* local files for library1.
*/
"bundledPackages": [ "@yext/answers-core" ],
"bundledPackages": [ "@yext/search-core" ],

/**
* Determines how the TypeScript compiler engine will be invoked by API Extractor.
Expand Down
2 changes: 1 addition & 1 deletion docs/search-headless.additionalhttpheaders._client-sdk_.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdditionalHttpHeaders."Client-SDK" property

Additional agents and their versions used to create the Answers experience. The information for these agents is added to the Client-SDK HTTP header along with that of the ANSWERS\_CORE agent.
Additional agents and their versions used to create the Search experience. The information for these agents is added to the Client-SDK HTTP header along with that of the ANSWERS\_CORE agent.

<b>Signature:</b>

Expand Down
2 changes: 1 addition & 1 deletion docs/search-headless.additionalhttpheaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export declare interface AdditionalHttpHeaders

| Property | Type | Description |
| --- | --- | --- |
| ["Client-SDK"?](./search-headless.additionalhttpheaders._client-sdk_.md) | [ClientSDKHeaderValues](./search-headless.clientsdkheadervalues.md) | <i>(Optional)</i> Additional agents and their versions used to create the Answers experience. The information for these agents is added to the Client-SDK HTTP header along with that of the ANSWERS\_CORE agent. |
| ["Client-SDK"?](./search-headless.additionalhttpheaders._client-sdk_.md) | [ClientSDKHeaderValues](./search-headless.clientsdkheadervalues.md) | <i>(Optional)</i> Additional agents and their versions used to create the Search experience. The information for these agents is added to the Client-SDK HTTP header along with that of the ANSWERS\_CORE agent. |

15 changes: 0 additions & 15 deletions docs/search-headless.answersconfig.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/search-headless.answersconfigwithapikey.apikey.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/search-headless.answersconfigwithapikey.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/search-headless.answersconfigwithtoken.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/search-headless.answersconfigwithtoken.token.md

This file was deleted.

31 changes: 0 additions & 31 deletions docs/search-headless.answerscore.md

This file was deleted.

27 changes: 0 additions & 27 deletions docs/search-headless.answerserror.md

This file was deleted.

20 changes: 0 additions & 20 deletions docs/search-headless.answersrequest.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/search-headless.appliedqueryfilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AppliedQueryFilter interface

A filter that the Answers API applied to the search.
A filter that the Search API applied to the search.

<b>Signature:</b>

Expand Down
2 changes: 1 addition & 1 deletion docs/search-headless.autocompleteresponse.inputintents.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AutocompleteResponse.inputIntents property

Represents intents from the Answers API.
Represents intents from the Search API.

<b>Signature:</b>

Expand Down
2 changes: 1 addition & 1 deletion docs/search-headless.autocompleteresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export declare interface AutocompleteResponse

| Property | Type | Description |
| --- | --- | --- |
| [inputIntents](./search-headless.autocompleteresponse.inputintents.md) | [SearchIntent](./search-headless.searchintent.md)<!-- -->\[\] | Represents intents from the Answers API. |
| [inputIntents](./search-headless.autocompleteresponse.inputintents.md) | [SearchIntent](./search-headless.searchintent.md)<!-- -->\[\] | Represents intents from the Search API. |
| [queryId?](./search-headless.autocompleteresponse.queryid.md) | string | <i>(Optional)</i> The ID of the search query. |
| [results](./search-headless.autocompleteresponse.results.md) | [AutocompleteResult](./search-headless.autocompleteresult.md)<!-- -->\[\] | An array of [AutocompleteResult](./search-headless.autocompleteresult.md)<!-- -->s. |
| [uuid](./search-headless.autocompleteresponse.uuid.md) | string | A unique id which corresponds to the request. |
Expand Down
13 changes: 0 additions & 13 deletions docs/search-headless.baseanswersconfig.experiencekey.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/search-headless.baseanswersconfig.locale.md

This file was deleted.

24 changes: 0 additions & 24 deletions docs/search-headless.baseanswersconfig.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@yext/search-headless](./search-headless.md) &gt; [BaseAnswersConfig](./search-headless.baseanswersconfig.md) &gt; [endpoints](./search-headless.baseanswersconfig.endpoints.md)
[Home](./index.md) &gt; [@yext/search-headless](./search-headless.md) &gt; [BaseSearchConfig](./search-headless.basesearchconfig.md) &gt; [endpoints](./search-headless.basesearchconfig.endpoints.md)

## BaseAnswersConfig.endpoints property
## BaseSearchConfig.endpoints property

Overrides for the URLs which are used when making requests to the Answers API.
Overrides for the URLs which are used when making requests to the Search API.

<b>Signature:</b>

Expand Down
13 changes: 13 additions & 0 deletions docs/search-headless.basesearchconfig.experiencekey.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-headless](./search-headless.md) &gt; [BaseSearchConfig](./search-headless.basesearchconfig.md) &gt; [experienceKey](./search-headless.basesearchconfig.experiencekey.md)

## BaseSearchConfig.experienceKey property

The experience key of the search experience.

<b>Signature:</b>

```typescript
experienceKey: string;
```
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@yext/search-headless](./search-headless.md) &gt; [BaseAnswersConfig](./search-headless.baseanswersconfig.md) &gt; [experienceVersion](./search-headless.baseanswersconfig.experienceversion.md)
[Home](./index.md) &gt; [@yext/search-headless](./search-headless.md) &gt; [BaseSearchConfig](./search-headless.basesearchconfig.md) &gt; [experienceVersion](./search-headless.basesearchconfig.experienceversion.md)

## BaseAnswersConfig.experienceVersion property
## BaseSearchConfig.experienceVersion property

The version of the answers experience configuration.
The version of the search experience configuration.

<b>Signature:</b>

Expand Down
13 changes: 13 additions & 0 deletions docs/search-headless.basesearchconfig.locale.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-headless](./search-headless.md) &gt; [BaseSearchConfig](./search-headless.basesearchconfig.md) &gt; [locale](./search-headless.basesearchconfig.locale.md)

## BaseSearchConfig.locale property

The locale of the search experience.

<b>Signature:</b>

```typescript
locale: string;
```
24 changes: 24 additions & 0 deletions docs/search-headless.basesearchconfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@yext/search-headless](./search-headless.md) &gt; [BaseSearchConfig](./search-headless.basesearchconfig.md)

## BaseSearchConfig interface

The base configuration options for [SearchCore](./search-headless.searchcore.md)<!-- -->.

<b>Signature:</b>

```typescript
export declare interface BaseSearchConfig
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [endpoints?](./search-headless.basesearchconfig.endpoints.md) | [Endpoints](./search-headless.endpoints.md) | <i>(Optional)</i> Overrides for the URLs which are used when making requests to the Search API. |
| [experienceKey](./search-headless.basesearchconfig.experiencekey.md) | string | The experience key of the search experience. |
| [experienceVersion?](./search-headless.basesearchconfig.experienceversion.md) | 'STAGING' \| 'PRODUCTION' \| string \| number | <i>(Optional)</i> The version of the search experience configuration. |
| [locale](./search-headless.basesearchconfig.locale.md) | string | The locale of the search experience. |
| [visitor?](./search-headless.basesearchconfig.visitor.md) | [Visitor](./search-headless.visitor.md) | <i>(Optional)</i> Information used to associate requests with a particular user. |

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@yext/search-headless](./search-headless.md) &gt; [BaseAnswersConfig](./search-headless.baseanswersconfig.md) &gt; [visitor](./search-headless.baseanswersconfig.visitor.md)
[Home](./index.md) &gt; [@yext/search-headless](./search-headless.md) &gt; [BaseSearchConfig](./search-headless.basesearchconfig.md) &gt; [visitor](./search-headless.basesearchconfig.visitor.md)

## BaseAnswersConfig.visitor property
## BaseSearchConfig.visitor property

Information used to associate requests with a particular user.

Expand Down
2 changes: 1 addition & 1 deletion docs/search-headless.clientsdkheadervalues.answers_core.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## ClientSDKHeaderValues.ANSWERS\_CORE property

The ANSWERS\_CORE agent should not be supplied. Instead, it will be automatically added to the header and populated with the version of Answers Core being used.
The ANSWERS\_CORE agent should not be supplied. Instead, it will be automatically added to the header and populated with the version of Search Core being used.

<b>Signature:</b>

Expand Down
Loading

0 comments on commit 0127e88

Please sign in to comment.