Directus / @directus/sdk / rest / readGraphqlSdl
Function: readGraphqlSdl() ​
readGraphqlSdl<
Schema
>(scope
):RestCommand
<string
,Schema
>
Defined in: rest/commands/server/graphql.ts:8
Retrieve the GraphQL SDL for the current project.
Type Parameters ​
• Schema
Parameters ​
scope ​
"system"
| "item"
Returns ​
RestCommand
<string
, Schema
>
GraphQL SDL.