Preparing search index...
The search index is not available
graphql-paper
graphql-paper
Paper
Class Paper<UserOperations>
Type Parameters
UserOperations
extends
OperationMap
=
OperationMap
Index
Constructors
constructor
Properties
current
events
history
hooks
mutate
Queue
operations
source
GraphQLSchema
validators
Accessors
data
Methods
clear
find
mutate
Constructors
constructor
new
Paper
<
UserOperations
>
(
graphqlSchema
,
options
?
)
:
Paper
<
UserOperations
>
Type Parameters
UserOperations
extends
OperationMap
=
OperationMap
Parameters
graphqlSchema
:
string
|
DocumentNode
|
GraphQLSchema
Optional
options
:
{
operations
?:
UserOperations
;
}
Optional
operations
?:
UserOperations
Returns
Paper
<
UserOperations
>
Properties
Protected
current
current
:
DocumentStore
events
events
:
EventTarget
= ...
Protected
history
history
:
DocumentStore
[]
= []
hooks
hooks
:
HooksMap
<
operations
&
OperationMap
&
UserOperations
>
= ...
Protected
mutate
Queue
mutate
Queue
:
Queue
= ...
operations
operations
:
operations
&
UserOperations
Protected
source
GraphQLSchema
source
GraphQLSchema
:
GraphQLSchema
validators
validators
:
{
document
:
DocumentTypeValidator
[]
;
field
:
FieldValidator
[]
;
}
= ...
Accessors
data
get
data
(
)
:
DocumentStore
Returns
DocumentStore
Methods
clear
clear
(
)
:
void
Returns
void
find
find
(
documentOrKey
)
:
undefined
|
Document
Parameters
documentOrKey
:
KeyOrDocument
Returns
undefined
|
Document
mutate
mutate
<
T
>
(
fn
)
:
Promise
<
ReturnType
<
T
>
>
Type Parameters
T
extends
TransactionCallback
<
operations
&
OperationMap
&
UserOperations
>
Parameters
fn
:
T
Returns
Promise
<
ReturnType
<
T
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
current
events
history
hooks
mutate
Queue
operations
source
GraphQLSchema
validators
Accessors
data
Methods
clear
find
mutate
graphql-paper
Loading...