@types/react-relay
Advanced tools
Comparing version 0.9.7 to 0.9.8
@@ -106,6 +106,29 @@ // Type definitions for react-relay 0.9.2 | ||
type ReadyStateEvent = | ||
'ABORT' | | ||
'CACHE_RESTORED_REQUIRED' | | ||
'CACHE_RESTORE_FAILED' | | ||
'CACHE_RESTORE_START' | | ||
'NETWORK_QUERY_ERROR' | | ||
'NETWORK_QUERY_RECEIVED_ALL' | | ||
'NETWORK_QUERY_RECEIVED_REQUIRED' | | ||
'NETWORK_QUERY_START' | | ||
'STORE_FOUND_ALL' | | ||
'STORE_FOUND_REQUIRED'; | ||
interface OnReadyStateChange { | ||
(readyState: { | ||
ready: boolean, | ||
done: boolean, | ||
stale: boolean, | ||
error?: Error, | ||
events: Array<ReadyStateEvent>, | ||
aborted: boolean | ||
}): void | ||
} | ||
interface RelayProp { | ||
variables: any | ||
setVariables(variables: Object): void | ||
variables: any | ||
setVariables(variables: Object, onReadyStateChange?: OnReadyStateChange): void | ||
} | ||
} |
{ | ||
"name": "@types/react-relay", | ||
"version": "0.9.7", | ||
"description": "TypeScript definitions for react-relay 0.9.2", | ||
"version": "0.9.8", | ||
"description": "TypeScript definitions for react-relay", | ||
"license": "MIT", | ||
@@ -17,4 +17,3 @@ "author": "Johannes Schickling <https://github.com/graphcool>", | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "c7a8775b33ce37ff2d024976ff889df77860e0136bab69f95bb49efd4f9b54ac" | ||
"typesPublisherContentHash": "646e0305fbd539b63f16076596f228fd58e194bfdf76fe936f817b93fc2e57ad" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for react-relay 0.9.2 (https://github.com/facebook/relay). | ||
This package contains type definitions for react-relay (https://github.com/facebook/relay). | ||
@@ -12,4 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Wed, 23 Nov 2016 19:10:41 GMT | ||
* File structure: ModuleAugmentation | ||
* Last updated: Thu, 08 Dec 2016 22:15:17 GMT | ||
* Library Dependencies: none | ||
@@ -16,0 +15,0 @@ * Module Dependencies: react |
{ | ||
"authors": "Johannes Schickling <https://github.com/graphcool>", | ||
"definitionFilename": "index.d.ts", | ||
"libraryDependencies": [], | ||
@@ -10,3 +9,3 @@ "moduleDependencies": [ | ||
"libraryMinorVersion": 9, | ||
"libraryName": "react-relay 0.9.2", | ||
"libraryName": "react-relay", | ||
"typingsPackageName": "react-relay", | ||
@@ -16,3 +15,2 @@ "projectName": "https://github.com/facebook/relay", | ||
"sourceBranch": "types-2.0", | ||
"kind": "ModuleAugmentation", | ||
"globals": [], | ||
@@ -26,3 +24,3 @@ "declaredModules": [ | ||
"hasPackageJson": false, | ||
"contentHash": "c7a8775b33ce37ff2d024976ff889df77860e0136bab69f95bb49efd4f9b54ac" | ||
"contentHash": "646e0305fbd539b63f16076596f228fd58e194bfdf76fe936f817b93fc2e57ad" | ||
} |
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
5970
131
18