Search
Preparing search index...
The search index is not available
Home
ApiService
Class ApiService
Hierarchy
ApiService
Index
Constructors
constructor
Methods
mutate
query
subscribe
Constructors
constructor
new
Api
Service
(
options
:
ApiOptions
)
:
ApiService
Parameters
options:
ApiOptions
Returns
ApiService
Methods
mutate
mutate<T>
(
mutation
:
DocumentNode
, options
?:
ApiRequestOptions
<
T
>
)
:
Promise
<
T
>
Type parameters
T
:
{}
Parameters
mutation:
DocumentNode
Optional
options:
ApiRequestOptions
<
T
>
Returns
Promise
<
T
>
query
query<T>
(
query
:
DocumentNode
, options
?:
ApiRequestQueryOptions
<
T
>
)
:
Promise
<
T
>
Type parameters
T
:
{}
Parameters
query:
DocumentNode
Optional
options:
ApiRequestQueryOptions
<
T
>
Returns
Promise
<
T
>
subscribe
subscribe<T>
(
query
:
DocumentNode
, options
?:
ApiRequestOptions
<
T
>
)
:
Observable
<
T
>
Type parameters
T
:
{}
Parameters
query:
DocumentNode
Optional
options:
ApiRequestOptions
<
T
>
Returns
Observable
<
T
>
Globals
Api
Service
constructor
mutate
query
subscribe