ConflictResolutionData - defined type that abstract type of data being handled by conflict resolution engine. Data can take any form factor and contain different fields, however it should always be used in unmodified state (no new fields are added or removed)
Interface for strategy that can be used to resolve conflict
Build storage that will be used for caching data
Factory for creating Apollo Offline Client
options object used to build client
Method for creating "uber" composite Apollo Link implementation including:
Create offline link
Create optimistic response. For example:
optimisticResponse: { __typename: "Mutation", updateComment: { id: commentId, __typename: "Comment", content: commentContent } }
For more info and examples see: https://www.apollographql.com/docs/react/features/optimistic-ui.html
operation that is being performed (update)
type that is going to be returned
actual data passed to function
generate client id for response
name of id field (default:id)
Default HTTP Apollo Links Provides out of the box functionality for:
Generated using TypeDoc
Provides pluggable way to retrieve auth tokens for sync. Clients can pass this interface to supply custom headers or auth tokens that will be used to authenticate GraphQL Requests on the server