Commit Graph
26 Commits
Author SHA1 Message Date
Andy 326cb88142 algoliasearch: Remove unnecessary destructuring (#24929) 2018-04-11 16:18:24 -07:00
Andy Hanson 45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Jinesh Shah 67a3798e33 added searchableAttributes (#23194)
searchableAttributes was missing in AlgoliaIndexSettings
2018-01-25 08:55:41 -08:00
Jinesh Shah c2dd2e11e5 fixed more mistypings related to arrays vs tuples (#23172) 2018-01-24 11:40:39 -08:00
Jinesh Shah e8779a83a8 Fixed types for array parameters (#23011)
The old version was using a tuple rather than an array parameter for batch adds and updates
2018-01-18 12:41:27 -08:00
Haroen Viaene d1debdf859 fix(algolia): batch has multiple "action"s (#22539)
* fix(algolia): batch has multiple "action"s

* chore: increment version
2018-01-02 12:22:00 -08:00
Haroen Viaene d2c04ced28 Update index.d.ts 2017-12-05 18:27:52 +01:00
Haroen Viaene e6a26c7670 prettier 2017-12-05 09:56:30 +01:00
Haroen Viaene b304933d7a fix typo 2017-12-05 09:53:38 +01:00
Haroen Viaene 396066faec [algolia]: fix signature for responses
1. single response typed
2. multiple response correctly typed
2017-12-05 09:52:11 +01:00
Dmin f3d99a1766 fix(algolia): geo-search parameters type 2017-12-03 23:40:58 +09:00
Cindy Sun 79f0c48e16 Fix Algolia object spread typing 2017-11-16 12:16:44 -08:00
Haroen Viaene c3c4e327e3 no changes 2017-11-03 13:46:28 +01:00
Haroen Viaene cf50d0507e query rules 2017-11-03 13:30:40 +01:00
Haroen Viaene 17f7b08f2d extra headers 2017-11-03 11:16:54 +01:00
Andy 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Haroen Viaene 3c804e4cbe feat(algolia): update definitions (#20627)
- ran prettier on the files
- slaves -> replicas
- SFFV
- userkey -> apikey
- options -> params
- deleteBy
2017-10-23 13:08:32 -07:00
Aurélien 112130d22b fix(algoliasearch): generateSecuredApiKey returns a string (not void) (#20423)
* fix(algoliasearch): generateSecuredApiKey returns a string (not void)

* fix(algoliasearch): use object[] instead of [{}] in saveObjects method inputs
2017-10-16 11:19:24 -07:00
Haroen Viaene 1031351010 algoliasearch: add string enums for exact values allowed (#20351)
* algolia: add string enums

instead of just `string`, list the allowed values, see the api doc at https://www.algolia.com/doc/rest-api/search/#batch-write-operations-multiple-indices etc.

* add name

* Update index.d.ts
2017-10-09 14:36:05 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Maxime a6348d997f Fix typo (#18594) 2017-08-14 13:25:45 -07:00
Fried-Chicken b674889b5b Added test for AlgoliaResponse typing 2017-05-31 15:11:57 +01:00
Simon Mo b305b30c3d Updated algolia nbPages param and options param in saveSynonym function 2017-05-13 10:56:01 +01:00
Simon Mo 603afd5edb Linted algoliasearch-tests.ts 2017-05-13 10:54:59 +01:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00