@unito/integrations-platform-client 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/addons.d.ts +2 -2
- package/package.json +1 -1
package/dist/src/addons.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export declare function optimistic<T>(asyncResponse: Promise<Response<T> | Error
|
|
|
43
43
|
/**
|
|
44
44
|
* Represents a successful response from the Integrations Platform Client.
|
|
45
45
|
*/
|
|
46
|
-
type Response<T> = ({
|
|
46
|
+
export type Response<T> = ({
|
|
47
47
|
status: 200;
|
|
48
48
|
} | {
|
|
49
49
|
status: 201;
|
|
@@ -58,7 +58,7 @@ type Response<T> = ({
|
|
|
58
58
|
/**
|
|
59
59
|
* Represents an error response from the Integrations Platform Client.
|
|
60
60
|
*/
|
|
61
|
-
type ErrorResponse = ({
|
|
61
|
+
export type ErrorResponse = ({
|
|
62
62
|
status: 400;
|
|
63
63
|
} | {
|
|
64
64
|
status: 401;
|