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
operations
source
GraphQLSchema
validators
Accessors
data
Methods
clear
find
mutate
serialize
deserialize
Constructors
constructor
new
Paper
<
UserOperations
>
(
graphqlSchema
,
options
?
)
:
Paper
<
UserOperations
>
Type Parameters
UserOperations
extends
OperationMap
=
OperationMap
Parameters
graphqlSchema
:
string
|
DocumentNode
|
GraphQLSchema
Optional
options
:
PaperConstructorOptions
<
UserOperations
>
Returns
Paper
<
UserOperations
>
Properties
Protected
current
current
:
DocumentStore
events
events
:
EventTarget
= ...
Protected
history
history
:
DocumentStore
[]
= []
hooks
hooks
:
HooksMap
<
operations
&
OperationMap
&
UserOperations
>
= ...
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
)
:
ReturnType
<
T
>
Type Parameters
T
extends
TransactionCallback
<
operations
&
OperationMap
&
UserOperations
>
Parameters
fn
:
T
Returns
ReturnType
<
T
>
serialize
serialize
(
)
:
SerializedPaper
Returns
SerializedPaper
Static
deserialize
deserialize
<
DeserializeUserOperations
>
(
graphqlSchema
,
serializedPaper
,
options
?
)
:
Paper
<
DeserializeUserOperations
>
Type Parameters
DeserializeUserOperations
extends
OperationMap
=
OperationMap
Parameters
graphqlSchema
:
GraphQLSchema
serializedPaper
:
SerializedPaper
Optional
options
:
PaperConstructorOptions
<
DeserializeUserOperations
>
Returns
Paper
<
DeserializeUserOperations
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
current
events
history
hooks
operations
source
GraphQLSchema
validators
Accessors
data
Methods
clear
find
mutate
serialize
deserialize
graphql-paper
Loading...