@@ -33,6 +33,12 @@ The SDK for the Environment service.
3333
3434The SDK for the Findings service.
3535
36+ ##### graphql
37+
38+ > ** graphql** : [ ` GraphQLSDK ` ] ( index.md#graphqlsdk )
39+
40+ The SDK for the GraphQL service.
41+
3642##### projects
3743
3844> ** projects** : [ ` ProjectsSDK ` ] ( index.md#projectssdk )
@@ -2234,6 +2240,47 @@ false
22342240
22352241Value of the environment variable
22362242
2243+ ## GraphQL
2244+
2245+ ### GraphQLSDK
2246+
2247+ > ** GraphQLSDK** : ` object `
2248+
2249+ The SDK for the GraphQL service.
2250+
2251+ #### Type declaration
2252+
2253+ ##### execute()
2254+
2255+ Executes a GraphQL query.
2256+
2257+ ###### Type Parameters
2258+
2259+ | Type Parameter |
2260+ | ------ |
2261+ | ` T ` |
2262+
2263+ ###### Parameters
2264+
2265+ | Parameter | Type |
2266+ | ------ | ------ |
2267+ | ` query ` | ` string ` |
2268+ | ` variables ` ? | ` Record ` \< ` string ` , ` any ` \> |
2269+
2270+ ###### Returns
2271+
2272+ ` Promise ` \< [ ` GraphQLResponse ` ] ( index.md#graphqlresponset ) \< ` T ` \>\>
2273+
2274+ ###### Example
2275+
2276+ ``` js
2277+ await sdk .graphql .execute (`
2278+ query {
2279+ viewer
2280+ }
2281+ ` );
2282+ ```
2283+
22372284## Other
22382285
22392286### Console
@@ -2313,6 +2360,74 @@ Usually used for unexpected behaviors.
23132360
23142361***
23152362
2363+ ### GraphQLError
2364+
2365+ > ** GraphQLError** : ` object `
2366+
2367+ #### Type declaration
2368+
2369+ ##### extensions
2370+
2371+ > ** extensions** : ` Record ` \< ` string ` , ` any ` \>
2372+
2373+ ##### locations
2374+
2375+ > ** locations** : [ ` GraphQLLocation ` ] ( index.md#graphqllocation ) [ ]
2376+
2377+ ##### message
2378+
2379+ > ** message** : ` string `
2380+
2381+ ##### path
2382+
2383+ > ** path** : [ ` GraphQLPathSegment ` ] ( index.md#graphqlpathsegment ) [ ]
2384+
2385+ ***
2386+
2387+ ### GraphQLLocation
2388+
2389+ > ** GraphQLLocation** : ` object `
2390+
2391+ #### Type declaration
2392+
2393+ ##### column
2394+
2395+ > ** column** : ` number `
2396+
2397+ ##### line
2398+
2399+ > ** line** : ` number `
2400+
2401+ ***
2402+
2403+ ### GraphQLPathSegment
2404+
2405+ > ** GraphQLPathSegment** : ` string ` \| ` number `
2406+
2407+ ***
2408+
2409+ ### GraphQLResponse\< T\>
2410+
2411+ > ** GraphQLResponse** \< ` T ` \> : ` object `
2412+
2413+ #### Type Parameters
2414+
2415+ | Type Parameter |
2416+ | ------ |
2417+ | ` T ` |
2418+
2419+ #### Type declaration
2420+
2421+ ##### data?
2422+
2423+ > ` optional ` ** data** : ` T `
2424+
2425+ ##### errors?
2426+
2427+ > ` optional ` ** errors** : [ ` GraphQLError ` ] ( index.md#graphqlerror ) [ ]
2428+
2429+ ***
2430+
23162431### PageInfo
23172432
23182433> ** PageInfo** : ` object `
0 commit comments