Skip to content

Commit

Permalink
Merge a70ab0d into 6fdb7e4
Browse files Browse the repository at this point in the history
  • Loading branch information
ElemelonWind committed Jul 13, 2022
2 parents 6fdb7e4 + a70ab0d commit 6045fdf
Show file tree
Hide file tree
Showing 927 changed files with 9,822 additions and 9,559 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
coverage/
dist/
temp/
temp/
.DS_Store
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The Answers Headless files listed in this repository are licensed under the below license.  All other features and products are subject to separate agreements
The Search Headless 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
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# answers-headless
A library for powering UI components for Yext Answers integrations.
# search-headless
A library for powering UI components for Yext Search integrations.

[Full Documentation](./docs/answers-headless.md)
[Full Documentation](./docs/search-headless.md)

<a href='https://coveralls.io/github/yext/answers-headless?branch=main'>
<img src='https://coveralls.io/repos/github/yext/answers-headless/badge.svg?branch=main' alt='Coverage Status' />
<a href='https://coveralls.io/github/yext/search-headless?branch=main'>
<img src='https://coveralls.io/repos/github/yext/search-headless/badge.svg?branch=main' alt='Coverage Status' />
</a>
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
27 changes: 0 additions & 27 deletions __mocks__/@yext/answers-core.ts

This file was deleted.

27 changes: 27 additions & 0 deletions __mocks__/@yext/search-core.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
export * from '@yext/search-core';

export function provideCore(): unknown {
return {
universalSearch: jest.fn(() => {
return Promise.resolve({
queryId: '123',
verticalResults: []
});
}),
verticalSearch: jest.fn(() => {
return Promise.resolve({});
}),
universalAutocomplete: jest.fn(() => {
return Promise.resolve({});
}),
verticalAutocomplete: jest.fn(() => {
return Promise.resolve({});
}),
filterSearch: jest.fn(() => {
return Promise.resolve({});
}),
submitQuestion: jest.fn(() => {
return Promise.resolve({});
})
};
}
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
13 changes: 0 additions & 13 deletions docs/answers-headless.additionalhttpheaders._client-sdk_.md

This file was deleted.

20 changes: 0 additions & 20 deletions docs/answers-headless.additionalhttpheaders.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/answers-headless.allresultsforvertical.facets.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/answers-headless.allresultsforvertical.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/answers-headless.allresultsforvertical.results.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/answers-headless.allresultsforvertical.resultscount.md

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

13 changes: 0 additions & 13 deletions docs/answers-headless.answersconfigwithapikey.token.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/answers-headless.answersconfigwithtoken.apikey.md

This file was deleted.

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

This file was deleted.

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

This file was deleted.

22 changes: 0 additions & 22 deletions docs/answers-headless.answerscore._constructor_.md

This file was deleted.

32 changes: 0 additions & 32 deletions docs/answers-headless.answerscore.filtersearch.md

This file was deleted.

Loading

0 comments on commit 6045fdf

Please sign in to comment.