File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ Reference: https://graphql.github.io/graphql-over-http/draft/#sec-Request-Parame
21
21
22
22
### extensions
23
23
24
- • ` Optional ` ** extensions** : ` Record ` <` string ` , ` unknown ` \>
24
+ • ` Optional ` ** extensions** : `` null `` \| ` Record ` <` string ` , ` unknown ` \>
25
25
26
26
___
27
27
28
28
### operationName
29
29
30
- • ` Optional ` ** operationName** : ` string `
30
+ • ` Optional ` ** operationName** : `` null `` \| ` string `
31
31
32
32
___
33
33
39
39
40
40
### variables
41
41
42
- • ` Optional ` ** variables** : ` Record ` <` string ` , ` unknown ` \>
42
+ • ` Optional ` ** variables** : `` null `` \| ` Record ` <` string ` , ` unknown ` \>
Original file line number Diff line number Diff line change 12
12
* @category Common
13
13
*/
14
14
export interface RequestParams {
15
- operationName ?: string | undefined ;
15
+ operationName ?: string | null | undefined ;
16
16
query : string ;
17
- variables ?: Record < string , unknown > | undefined ;
18
- extensions ?: Record < string , unknown > | undefined ;
17
+ variables ?: Record < string , unknown > | null | undefined ;
18
+ extensions ?: Record < string , unknown > | null | undefined ;
19
19
}
20
20
21
21
/**
You can’t perform that action at this time.
0 commit comments