algolia / algoliasearch-client-javascript

⚡️ A fully-featured and blazing-fast JavaScript API client to interact with Algolia.
https://www.algolia.com/doc/api-client/javascript/getting-started/
MIT License
1.33k stars 222 forks source link

fix(recommend): Add Type RecommendQueriesResponse from old MultipleQueriesResponse for recommend #1472

Closed raed667 closed 1 year ago

raed667 commented 1 year ago

In recommend add type MultipleQueriesResponse that basically reverts back to the old definition before PR https://github.com/algolia/algoliasearch-client-javascript/pull/1460

codesandbox-ci[bot] commented 1 year ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit bb251cc4c0d34be1d376cd1203c1caba0db8ed27:

Sandbox Source
javascript-client-app Configuration
raed667 commented 1 year ago

@Haroenv added a test that fails when the old type is used but passes when the new one is set.