Tom Sartain
570f69177d
[algoliasearch] Add QueryParameters.userToken ( #40808 )
...
See https://www.algolia.com/doc/api-reference/api-parameters/userToken/
2019-12-05 19:17:26 -08:00
François Chalifour
f9b723f52e
[algoliasearch] Add sumOrFiltersScores search parameter ( #40659 )
2019-11-26 14:46:35 -08:00
Nathan Shively-Sanders
c8089e91d1
Trim tsconfig files; move untested files to OTHER_FILES.txt ( #40676 )
...
* Initial cut
* fix aos global reference
* fix clearbladejs global references
* fix cldr.js augmentations
* fix codemirror compile errors (maybe)
* fixup skipped files after merge
* fix dwt/v13
* add missing references to adone
* fix meteor (manually)
* fix rangy
* add missing file reference to react-blessed
* fix react-dom?
* bump codemirror to 3.2
* bump dwt to 3.2
* Add/remove OTHER_FILES.txt as needed.
* bump react-codemirror to 3.2
* add references to slickgrid tests
* add reference to strophe.js tests
* add reference to strophe+fix types
* add reference to waypoints test
* Bump others to 3.9
* remove incorrectly added file
* Use more explicit types reference paths
* bump strophejs-plugin-roster TS version
2019-11-26 12:47:30 -08:00
Haroen Viaene
01e6bf7cfe
algoliasearch: add enableABTest ( #39057 )
...
fixes https://github.com/algolia/algoliasearch-client-javascript/issues/792
2019-10-14 13:35:16 -07:00
Ben Salili-James
3ddcd3ee3e
Use gender-neutral pronouns ( #39053 )
...
* Use gender-neutral pronouns
* Minor tweaks to comments
* Remove 'their' artifact
* Revert Dojo (failing package)
2019-10-14 08:58:56 -07:00
Nuno Maduro
578a764987
feat: condition, pattern, and anchoring are now optional within queries ( #38844 )
...
* [algoliasearch]: allow optional condition query rules
This is a change in the API, and was requested here https://github.com/algolia/algoliasearch-client-javascript/issues/775
* Update index.d.ts
2019-10-03 13:20:11 -07:00
Chris Moyer
562214ee84
SecuredApiOptions can contain any search parameter ( #38502 )
...
And restrictIndexes can be an array of strings, rather than just a
single string
See https://www.algolia.com/doc/api-reference/api-methods/generate-secured-api-key/
2019-09-23 10:19:26 -07:00
Antoine Rousseau
382ef5eeb7
[@types/algoliasearch] add IndexSettings.paginationLimitedTo ( #38339 )
...
* add paginationLimitedTo to IndexSettings
* fix tests and add paginationLimitedTo to them
* Add doc URL
Co-Authored-By: Haroen Viaene <fingebimus@me.com>
2019-09-16 16:49:54 -04:00
Richard Scotten
24a4aee497
fixed places type errors for @types/algoliasearch ( #38407 )
...
* fixed some type errors for algolia places
* added myself to authors list in header
* updated version and repository path in the header
2019-09-16 16:19:25 -04:00
Samuel Bodin
21cf492e4f
[@types/algoliasearch] Add proper types for ApiKey ( #38158 )
...
* [@types/algoliasearch] add proper types for ApiKey
* lint
* lint
* revert some prettier changes
2019-09-12 09:03:08 -07:00
Peter Uchenna Esenwa
babee68461
fix-typoTolerance-type-declaration-in-algoliasearch ( #37967 )
...
* Fix 'typoTolerance' type in algoliasearch
QueryParameters.typoTolerance accepts boolean and string values but only boolean was specified in its type declaration
* Update types/algoliasearch/index.d.ts
Narrow typoTolerance type declaration
Co-Authored-By: Haroen Viaene <fingebimus@me.com>
2019-08-29 18:02:25 -07:00
Haroen Viaene
43a6d3c3c9
[algoliasearch] change module format ( #37284 )
...
* [algoliasearch] change module format
TBH I'm not really sure what the difference is, but this doesn't break any tests on my repositories. It was needed to work with `/// reference` imports (cc @samuelbodin)
I also had to remove the Omit type for some reason to rely on the builtin one, I guess that's not too big of a deal?
* update algoliasearch-helper too
* more updates 🙈
* modern module format & revert TS version changes
* Update types/react-instantsearch/index.d.ts
2019-08-06 08:52:38 -07:00
Haroen Viaene
70ba0dd2b4
[algoliasearch] add method addAlgoliaAgent ( #37105 )
...
source: 5c1ce13087/src/AlgoliaSearchCore.js (L173)
2019-07-24 12:37:30 -07:00
Dan Grayson
8ce4b10696
Correct type for algoliasearch facetFilter ( #36923 )
...
* Correct type for algolia facetFilter
* updated version and added me to definitions by list
* updated tests
2019-07-16 10:08:02 -07:00
Haroen Viaene
e711a2f5cb
[algoliasearch]: add missing types to response ( #36859 )
...
* [algoliasearch]: add missing types to response
* add stuff i missed
* chore: fix test & add queryID
2019-07-12 15:00:24 -07:00
Haroen Viaene
4a8c51aae8
[algoliasearch] add type for ruleContexts ( #36828 )
...
* chore(algoliasearch): clean up definitions
1. remove duplication between lite and main
2. remove all urls (they're mostly outdated, so pointing in the wrong spots
* feat(algoliasearch): add ruleContexts
* chore: fix typo lol
2019-07-11 15:52:31 -07:00
aDEVE
d625bf3d51
[Algolia]: Fix AlgoliaPlaces (param language) ( #35589 )
...
* 🚑 Fix type when there is a param language in query
* 📓 Extend generic type
2019-05-21 12:55:12 -07:00
aDEVE
e271ccd80b
[algoliasearch]: Add type for algolia places ( #35399 )
...
* 🚧 Add typescript
* 📓 Add comments
* 📓 Add reverse endpoint
* 📓 Add Promise version
* 📓 Update some type due feedback code review
* 📓 Update architecture of type
* Update types/algoliasearch/index.d.ts
Co-Authored-By: Jonathan Montane <JonathanMontane@users.noreply.github.com>
* Update types/algoliasearch/index.d.ts
Co-Authored-By: Jonathan Montane <JonathanMontane@users.noreply.github.com>
* Update types/algoliasearch/index.d.ts
Co-Authored-By: Jonathan Montane <JonathanMontane@users.noreply.github.com>
2019-05-15 08:54:19 -07:00
Aurélien
f48741ceab
[algoliasearch] remove aherve from contributors ( #35439 )
...
* [algoliasearch] remove aherve from contributors
* fixup! [algoliasearch] remove aherve from contributors
2019-05-14 14:23:13 -07:00
Tyler Jones
0deec57c72
[@types/algoliasearch] Fix Task#taskID ( #35357 )
...
* [@types/algoliasearch] fix Task#taskID
https://www.algolia.com/doc/api-reference/api-methods/batch/?language=javascript#json-format
* fixup Use different task types for different calls
2019-05-14 14:08:04 -07:00
Luca Pasquale
d84bde0679
added myself to list of contributers
2019-04-04 19:17:19 -03:00
Luca Pasquale
b268ca1611
added forwardToReplicas to setSettings
2019-04-04 19:11:11 -03:00
Nathan Shively-Sanders
64fc88601e
Disable npm-naming with dt-header ( #34112 )
...
npm-naming is a new rule but the code it runs was already disabled
whenever dt-header was disabled. This change keeps the behaviour the
same.
2019-03-22 09:26:34 -07:00
Chris Moyer
ba8a93471a
algoliasearch: Added "clickAnalytics" boolean option ( #33816 )
...
* Added "clickAnalytics" boolean option to Algoliasearch.
The clickAnalytics definition allows us to track clicks using
"search-insights". See: https://www.algolia.com/doc/api-reference/api-parameters/clickAnalytics/
* algoliasearch: Added "clickAnalytics" to tests
* algoliasearch: Bumped version number
2019-03-12 14:08:04 -07:00
Antoine Rousseau
5cf2cac315
set languages list
2019-02-25 15:10:07 +01:00
Antoine Rousseau
f13a292ddf
update "lite" version too
2019-02-23 14:40:54 +01:00
Antoine Rousseau
bfbd1ac4fc
add IndexSettings.queryLanguages to @types/algoliasearch
2019-02-21 17:53:22 +01:00
Gabriela Britto
850fdf09e9
Merge pull request #33111 from neryortez/master
...
[algoliasearch] Search `Response` made generic
2019-02-20 13:51:39 -08:00
Shireesha Bongarala
44dca6f2db
Add to IndexSettings, change the format to single quotes and spaces
2019-02-18 19:34:08 +05:30
Shireesha Bongarala
afeecd2abd
Add trailing comma
2019-02-18 19:27:58 +05:30
Shireesha Bongarala
b0aeee8dbd
Make query param non-mandatory
2019-02-17 20:53:10 +05:30
Shireesha Bongarala
99e6d86abb
Add missing semi-colons
2019-02-17 20:43:29 +05:30
Shireesha Bongarala
e8a4ac87c4
Add missing definition for "sortFacetValuesBy" in QueryParameters.
...
Fixes https://github.com/DefinitelyTyped/DefinitelyTyped/issues/32761
2019-02-17 18:55:48 +05:30
neryortez
cfc6453c4b
Search Response made generic
...
Response made generic to allow better linting on the items of the `Reponse`
2019-02-15 22:13:36 -06:00
Pranav Senthilnathan
99b6ae6117
Merge pull request #32556 from gburgett/algoliasearch-helper
...
New definitions for algoliasearch-helper
2019-02-13 10:35:22 -08:00
Gordon
ae44053d25
Fix linter and tests
2019-02-07 10:01:38 -06:00
Gordon
c1f89aa111
Extend QueryParameters interface from algoliasearch.js
2019-02-07 09:50:14 -06:00
Haroen Viaene
add287a1d6
algoliasearch: add missing type for removeStopWords
...
closes https://github.com/algolia/algoliasearch-client-javascript/issues/741
2019-02-07 09:22:57 +01:00
Kai Eichinger
704aeb2bc9
Add keichinger as an author for algoliasearch/lite as well
2018-10-30 09:46:47 +01:00
Kai Eichinger
e53d912bba
Revert removal of deprecation
2018-10-30 09:46:46 +01:00
Kai Eichinger
fbc914d46d
Restrict alternativesAsExact to specific values
2018-10-30 09:46:46 +01:00
Kai Eichinger
5a0ef8ba0e
Also only allow nested arrays for insidePolygon
2018-10-30 09:46:46 +01:00
Kai Eichinger
66e975affa
Only allow nested arrays
2018-10-30 09:46:46 +01:00
Kai Eichinger
f9a16faaaa
Add keichinger as algoliasearch types contributor
2018-10-30 09:46:46 +01:00
Kai Eichinger
1bfe83a531
Update tests to reflect new data types
2018-10-30 09:46:46 +01:00
Kai Eichinger
3aa3277376
CS
2018-10-30 09:46:45 +01:00
Kai Eichinger
f60e6e0d49
[@algoliasearch] Update QueryParameters and Response
2018-10-30 09:45:43 +01:00
Haroen Viaene
9bfbc13d23
chore: TS 2.8 is required!!!!!!!
2018-10-26 15:54:16 +02:00
Haroen Viaene
08260003ab
[algoliasearch]: fix typing for browse & browseAll
2018-10-26 13:58:00 +02:00
Christopher Avery
63865da511
added facetingAfterDistinct to QueryParams
2018-09-27 16:38:56 +01:00