algolia / autocomplete

🔮 Fast and full-featured autocomplete library
https://alg.li/autocomplete
MIT License
4.96k stars 328 forks source link

feat: allow extra arguments in Insights API #1210

Closed sarahdayan closed 8 months ago

sarahdayan commented 8 months ago

Summary

This types and tests the exposed Insights API to allow passing extra arguments in the payload.

This was already possible, but would have resulted in typing violations for TypeScript users.

FX-2652

codesandbox-ci[bot] commented 8 months 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 0b43fc985eaa4bf2a88f749697a55bf795e09ff8:

Sandbox Source
@algolia/autocomplete-example-github-repositories-custom-plugin Configuration
@algolia/autocomplete-example-instantsearch Configuration
@algolia/autocomplete-example-playground Configuration
@algolia/autocomplete-example-preview-panel-in-modal Configuration
@algolia/autocomplete-example-react-renderer Configuration
@algolia/autocomplete-example-starter-algolia Configuration
@algolia/autocomplete-example-starter Configuration
@algolia/autocomplete-example-reshape Configuration
@algolia/autocomplete-example-vue Configuration