Directus / @directus/sdk / graphql / GraphqlClient
Interface: GraphqlClient<_Schema> ​
Type Parameters ​
• _Schema
Methods ​
query() ​
query<
Output
>(query
,variables
?,scope
?):Promise
<Output
>
Type Parameters ​
• Output extends object
= Record
<string
, any
>
Parameters ​
• query: string
• variables?: Record
<string
, unknown
>
• scope?: "items"
| "system"
Returns ​
Promise
<Output
>