@types/absinthe__socket
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -21,11 +21,11 @@ // Type definitions for @absinthe/socket 0.2 | ||
operation: string; | ||
variables?: Variables; | ||
variables?: Variables | undefined; | ||
} | ||
export interface Observer<Variables = {}, Result = {}> { | ||
onAbort?: (error: Error) => any; | ||
onCancel?: () => any; | ||
onError?: (error: Error) => any; | ||
onStart?: (notifier: Notifier<Variables>) => any; | ||
onResult?: (result: Result) => any; | ||
onAbort?: ((error: Error) => any) | undefined; | ||
onCancel?: (() => any) | undefined; | ||
onError?: ((error: Error) => any) | undefined; | ||
onStart?: ((notifier: Notifier<Variables>) => any) | undefined; | ||
onResult?: ((result: Result) => any) | undefined; | ||
} | ||
@@ -40,3 +40,3 @@ | ||
requestStatus: RequestStatus; | ||
subscriptionId?: string; | ||
subscriptionId?: string | undefined; | ||
} | ||
@@ -43,0 +43,0 @@ /** Cancels a notifier sending a Cancel event to all its observers and unsubscribing in case it holds a subscription request */ |
{ | ||
"name": "@types/absinthe__socket", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "TypeScript definitions for @absinthe/socket", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/absinthe__socket", | ||
"license": "MIT", | ||
@@ -24,4 +25,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "78e40ba2150e1d3cb8971ac20df988e6837c6f6414da3d91a384c325c9e6d668", | ||
"typesPublisherContentHash": "fd7eaefeaa2d0607552cc8fd17852cfb27742141278049a33479578b1c38bc4c", | ||
"typeScriptVersion": "3.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 25 Sep 2020 23:42:34 GMT | ||
* Last updated: Wed, 07 Jul 2021 21:44:00 GMT | ||
* Dependencies: [@types/phoenix](https://npmjs.com/package/@types/phoenix) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5915
1