apollo-cache
Advanced tools
Comparing version 1.1.13-alpha.2 to 1.1.13-alpha.3
@@ -5,3 +5,3 @@ import { DocumentNode } from 'graphql'; | ||
export declare abstract class ApolloCache<TSerialized> implements DataProxy { | ||
abstract read<T, TVariables = any>(query: Cache.ReadOptions<TVariables>): T | null; | ||
abstract read<T, TVariables = any>(query: Cache.DiffOptions): T | null; | ||
abstract write<TResult = any, TVariables = any>(write: Cache.WriteOptions<TResult, TVariables>): void; | ||
@@ -8,0 +8,0 @@ abstract diff<T>(query: Cache.DiffOptions): Cache.DiffResult<T>; |
{ | ||
"name": "apollo-cache", | ||
"version": "1.1.13-alpha.2", | ||
"version": "1.1.13-alpha.3", | ||
"description": "Core abstract of Caching layer for Apollo Client", | ||
@@ -42,3 +42,3 @@ "author": "James Baxley <james@meteor.com>", | ||
"dependencies": { | ||
"apollo-utilities": "^1.0.17-alpha.2" | ||
"apollo-utilities": "^1.0.17-alpha.3" | ||
}, | ||
@@ -45,0 +45,0 @@ "devDependencies": { |
@@ -12,5 +12,3 @@ import { DocumentNode } from 'graphql'; | ||
// core API | ||
public abstract read<T, TVariables = any>( | ||
query: Cache.ReadOptions<TVariables>, | ||
): T | null; | ||
public abstract read<T, TVariables = any>(query: Cache.DiffOptions): T | null; | ||
public abstract write<TResult = any, TVariables = any>( | ||
@@ -17,0 +15,0 @@ write: Cache.WriteOptions<TResult, TVariables>, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
62002
1235