Haroen Viaene
4b07dfcca0
Update index.d.ts
2018-06-28 09:28:52 +02:00
Haroen Viaene
f8cacb2021
Update index.d.ts
2018-06-28 09:28:21 +02:00
Aurélien Hervé
950a3a946b
fix(algoliasearch): remove duplicate, buggy interface
...
same as a868d3c448 but applied to algoliasearch/lite
2018-05-24 13:51:12 +02:00
Aurélien Hervé
a868d3c448
fix(algoliasearch): remove duplicate and buggy AlgoliaResponse interface
...
the typings would still provide the old `AlgoliaResponse` interface, which is a _almost_ duplicate
interface of `Response`, although it is not called anywhere else. Moreover, `AlgoliaResponse` was
buggy (namely, the `nbPages` attribute was declared as `nbPage`. It is more safe to have only one
interface that works, so I deleted the old `AlgoliaResponse` interface.
2018-05-24 11:18:55 +02:00
Haroen Viaene
4ef613d9f9
fix(algoliasearch): camel case
...
[placeholders](https://www.algolia.com/doc/api-reference/api-parameters/placeholders/ )
[camelCaseAttributes](https://www.algolia.com/doc/api-reference/api-parameters/camelCaseAttributes/ )
2018-05-18 14:02:25 +02:00
Haroen Viaene
a36bb6891a
chore: stricter settings type
2018-05-14 13:48:42 +02:00
Haroen Viaene
44b53c0f1e
chore: add more info about tasks
2018-05-14 13:43:08 +02:00
Haroen Viaene
7dcbb8074c
feat: add Sam
2018-05-14 13:32:57 +02:00
Haroen Viaene
0d005626d5
fix: correct import
2018-05-14 13:30:37 +02:00
Haroen Viaene
a77cf124c2
chore: add tests
2018-05-14 13:27:42 +02:00
Haroen Viaene
0d1ee2470c
fix(algolia): correct signature of copyIndex
...
the scope is optional
2018-05-14 13:21:16 +02:00
Samuel Vaillant
d2159cc9cc
fix(algoliasearch): add missing createIfNotExists on partial update ( #25652 )
...
* fix(algoliasearch): add createIfNotExists in callback version of partialUpdateObject(s)
* fix(algoliasearch): add createIfNotExists in promise version of partialUpdateObject(s)
* test(algoliasearch): add tests for partialUpdateObject(s)
2018-05-09 11:34:07 -07:00
Haroen Viaene
da8016d71f
feat(algoliasearch): rewrite almost completely ( #25486 )
...
* feat(algoliasearch): rewrite almost completely
Changes are mainly:
1. now has a `lite.d.ts` file for `algoliasearch/lite`
2. fix some of the options in settings and queries
3. specify more result types
* chore: update version number
* chore: fix things by copying, pasting, and removing
* test: remove header
* chore: move to folder, it maybe helps
2018-05-04 13:56:50 -07:00
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