Pascal Jufer
cacd4f4ff1
Fix HTTP method for collections.createMany in SDK ( #7304 )
...
* Fix HTTP method for collections.createMany in SDK
* Post collections in data body
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-08-10 09:30:24 -04:00
Jay Cammarano
1e16065bb0
Updated routes for SDK Settings, Relations, Collections, and Fields ( #7192 )
...
* draft
* enpoints tested(manually) and working
* Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
* removed optional params
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2021-08-04 16:00:05 -04:00
Bart van der Meeren
3a9475fba5
Fix SDK invite accept ( #6925 )
...
Post instead of patch.
2021-07-22 09:20:29 -04:00
Matteo Gazzoni
25fa4f12bc
add updateByQuery to js sdk ( #6824 )
...
* add updateByQuery to js sdk
https://github.com/directus/directus/discussions/6822
* Update items.ts
2021-07-15 10:11:02 -04:00
Pascal Jufer
c599c076c0
Support invite_url in SDK invite method ( #6742 )
...
Fixes #6731
2021-07-11 09:52:20 +02:00
masterwendu
07e3cb1767
add full tfa support to sdk ( #6621 )
2021-07-04 13:55:12 +02:00
WoLfulus
043ae13e40
Adds request and response interceptors on Axios transport ( #6538 )
2021-06-28 18:44:38 +00:00
Mirko
09a9f5659e
Pass onUploadProgress function through to the axios request ( #6007 )
...
The AxiosRequest config allows for an onUploadProgress function to be passed in. This is useful, if we want to
give users some kind of feedback about the progress of a potential file transfer. Currently, the sdk is only supporting
this via direct access to the transport method.
Co-authored-by: Mirko Nitschke <mnitscke93@gmail.com >
2021-06-03 12:44:06 -04:00
rijkvanzanten
c3589d138f
Remove remaining leftovers from deprecated single query param
2021-05-25 11:38:33 -04:00
João
4366194ac3
fix sdk server info type ( #5584 )
2021-05-10 12:50:19 -04:00
Rijk van Zanten
b6964fa1a1
Add XML export ( #5526 )
2021-05-07 12:55:03 -04:00
João
b20a394f51
Update SDK docs and code to match API ( #5437 )
2021-05-03 14:46:05 -04:00
João
c62d30b816
Fix weird authentication/refresh flow in the SDK ( #5399 )
2021-04-30 13:33:24 -04:00
rijkvanzanten
801e868554
Fix remaining eslint errors
...
h/t @paescuj
2021-04-29 15:55:12 -04:00
Pascal Jufer
acd41eb0be
Syntax fixes ( #5367 )
...
* Declare return types on functions
And a very few other type related minor fixes
* Minor syntax fixes
* Remove unnecessary escape chars in regexes
* Remove unnecessary awaits
* Replace deprecated req.connection with req.socket
* Replace deprecated upload with uploadOne
* Remove unnecessary eslint-disable-next-line comments
* Comment empty functions / catch or finally clauses
* Fix irregular whitespaces
* Add missing returns (null)
* Remove unreachable code
* A few logical fixes
* Remove / Handle non-null assertions which are certainly unnecessary (e.g. in
tests)
2021-04-29 12:11:43 -04:00
WoLfulus
48fbb6f255
Fix expiration check on the SDK
2021-04-23 08:05:10 -03:00
João
af13cfe18e
Change token and auth handling behavior. ( #5203 )
...
* change tokens and authentication handling/refresh
* update sdk docs
2021-04-22 17:54:30 -04:00
João
070df173d7
Add payloads to delete requests ( #5187 )
2021-04-21 21:01:36 +00:00
João
90f878b26f
export base storage, fix singleton handler location ( #5169 )
2021-04-20 13:54:29 -04:00
WoLfulus
1898be9424
Add withCredentials to axios ( #4886 )
...
* add no cache and credentials to axios
* remove cache
2021-04-07 12:32:26 -04:00
WoLfulus
3db8b9a1b3
Updated SDK docs and typing fixes ( #4787 )
...
* typing fixes
* docs update
* ignore compiled test dir
* use top level await syntax
2021-03-31 14:43:29 -04:00
rijkvanzanten
a5eadd1ec4
Fix reset url parameter in password request
...
Fixes #4739
2021-03-30 18:30:56 -04:00
WoLfulus
3c1204b928
SDK 2.0 ( #4510 )
...
* add new sdk
* update version
* fixes and sdk documentation
* typing updates, documentation
* added missing endpoints
* targeting minified version for unpkg
* removed unused types file
* fixed non minified versions
* fix sdk exports
* fix the fix
* Remove old sdk
* Remove old sdk docs
* Install types for Jest, add npm test
* Rely on npm exclusively
* Remove examples folder
* Move typescript down
* Update sdk.md
* added auto refresh and requested changes
added more http test calls
fixed typing issue in customized types
* remove unused endpoint
* updated docs
* added singletons, fixed typing issues, added password handlers
* rename graphql function and fixed system endpoint
* Remove unused imports, fix build
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
Co-authored-by: Ben Haynes <ben@rngr.org >
2021-03-30 18:23:23 -04:00