typesense-js
typesense-js copied to clipboard
feat: flatten only arrayble search params before search
Change Summary
Introduces a new utility function and types for only checking search parameters that can be either a base type, or an array of said type. Instead of checking through all of the possible parameters (more than 50), it instead iterates over a specific part (10), improving performance and ensuring maintainability, if non-search parameters should still retain their original array format in the future.
PR Checklist
- [x] I have read and signed the Contributor License Agreement