dc-extensions-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Graph
QlClient
constructor
connection
mutation
query
DEFAULT_
ERROR
Hierarchy
GraphQlClient
Index
Constructors
constructor
Properties
connection
Methods
mutation
query
Object literals
DEFAULT_
ERROR
Constructors
constructor
new
Graph
QlClient
(
connection
:
ClientConnection
)
:
GraphQlClient
Parameters
connection:
ClientConnection
Returns
GraphQlClient
Properties
Private
connection
connection
:
ClientConnection
Methods
mutation
mutation
(
mutation
:
string
, vars
:
Record
<
string
,
unknown
>
)
:
Promise
<
string
|
Record
<
string
,
unknown
>
>
Parameters
mutation:
string
vars:
Record
<
string
,
unknown
>
Returns
Promise
<
string
|
Record
<
string
,
unknown
>
>
query
query
(
query
:
string
, vars
:
Record
<
string
,
unknown
>
)
:
Promise
<
string
|
Record
<
string
,
unknown
>
>
Parameters
query:
string
vars:
Record
<
string
,
unknown
>
Returns
Promise
<
string
|
Record
<
string
,
unknown
>
>
Object literals
Private
DEFAULT_
ERROR
DEFAULT_
ERROR
:
object
status
status
:
number
= 403
data
data
:
object
errors
errors
:
{
code
:
string
;
level
:
string
;
message
:
string
}
[]
= [{code: 'UNKNOWN',level: 'ERROR',message: 'Unknown error',},]
Generated using
TypeDoc