You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(js-client): add type definitions
Add type definitions for dynamic client methods by defining the
NetlifyAPI class as an interface that inherits mapped types.
* feat(js-client): treat path params and query params as one object
The api client methods will assign these to the correct places but just
accept the params as a single object.
* fix(js-client): update accessToken type to allow undefined
The api response for accessToken can possibly be undefined but we were
only allowing string or null before.
* feat(js-client): handle snake_case and camelCase params in type definitions
Since the API client allows using camelCased params we need to allow
these to keep backwards compatibility.
0 commit comments