@@ -3,63 +3,104 @@ export const NAME = 'Name';
3
3
4
4
/** Document */
5
5
export const DOCUMENT = 'Document' ;
6
+ export type DOCUMENT = typeof DOCUMENT ;
6
7
export const OPERATION_DEFINITION = 'OperationDefinition' ;
8
+ export type OPERATION_DEFINITION = typeof OPERATION_DEFINITION ;
7
9
export const VARIABLE_DEFINITION = 'VariableDefinition' ;
10
+ export type VARIABLE_DEFINITION = typeof VARIABLE_DEFINITION ;
8
11
export const SELECTION_SET = 'SelectionSet' ;
12
+ export type SELECTION_SET = typeof SELECTION_SET ;
9
13
export const FIELD = 'Field' ;
14
+ export type FIELD = typeof FIELD ;
10
15
export const ARGUMENT = 'Argument' ;
16
+ export type ARGUMENT = typeof ARGUMENT ;
11
17
export const FRAGMENT_ARGUMENT = 'FragmentArgument' ;
18
+ export type FRAGMENT_ARGUMENT = typeof FRAGMENT_ARGUMENT ;
12
19
13
20
/** Fragments */
14
21
export const FRAGMENT_SPREAD = 'FragmentSpread' ;
22
+ export type FRAGMENT_SPREAD = typeof FRAGMENT_SPREAD ;
15
23
export const INLINE_FRAGMENT = 'InlineFragment' ;
24
+ export type INLINE_FRAGMENT = typeof INLINE_FRAGMENT ;
16
25
export const FRAGMENT_DEFINITION = 'FragmentDefinition' ;
26
+ export type FRAGMENT_DEFINITION = typeof FRAGMENT_DEFINITION ;
17
27
18
28
/** Values */
19
29
export const VARIABLE = 'Variable' ;
30
+ export type VARIABLE = typeof VARIABLE ;
20
31
export const INT = 'IntValue' ;
32
+ export type INT = typeof INT ;
21
33
export const FLOAT = 'FloatValue' ;
34
+ export type FLOAT = typeof FLOAT ;
22
35
export const STRING = 'StringValue' ;
36
+ export type STRING = typeof STRING ;
23
37
export const BOOLEAN = 'BooleanValue' ;
38
+ export type BOOLEAN = typeof BOOLEAN ;
24
39
export const NULL = 'NullValue' ;
40
+ export type NULL = typeof NULL ;
25
41
export const ENUM = 'EnumValue' ;
42
+ export type ENUM = typeof ENUM ;
26
43
export const LIST = 'ListValue' ;
44
+ export type LIST = typeof LIST ;
27
45
export const OBJECT = 'ObjectValue' ;
46
+ export type OBJECT = typeof OBJECT ;
28
47
export const OBJECT_FIELD = 'ObjectField' ;
48
+ export type OBJECT_FIELD = typeof OBJECT_FIELD ;
29
49
30
50
/** Directives */
31
51
export const DIRECTIVE = 'Directive' ;
52
+ export type DIRECTIVE = typeof DIRECTIVE ;
32
53
33
54
/** Types */
34
55
export const NAMED_TYPE = 'NamedType' ;
56
+ export type NAMED_TYPE = typeof NAMED_TYPE ;
35
57
export const LIST_TYPE = 'ListType' ;
58
+ export type LIST_TYPE = typeof LIST_TYPE ;
36
59
export const NON_NULL_TYPE = 'NonNullType' ;
60
+ export type NON_NULL_TYPE = typeof NON_NULL_TYPE ;
37
61
38
62
/** Type System Definitions */
39
63
export const SCHEMA_DEFINITION = 'SchemaDefinition' ;
64
+ export type SCHEMA_DEFINITION = typeof SCHEMA_DEFINITION ;
40
65
export const OPERATION_TYPE_DEFINITION = 'OperationTypeDefinition' ;
66
+ export type OPERATION_TYPE_DEFINITION = typeof OPERATION_TYPE_DEFINITION ;
41
67
42
68
/** Type Definitions */
43
69
export const SCALAR_TYPE_DEFINITION = 'ScalarTypeDefinition' ;
70
+ export type SCALAR_TYPE_DEFINITION = typeof SCALAR_TYPE_DEFINITION ;
44
71
export const OBJECT_TYPE_DEFINITION = 'ObjectTypeDefinition' ;
72
+ export type OBJECT_TYPE_DEFINITION = typeof OBJECT_TYPE_DEFINITION ;
45
73
export const FIELD_DEFINITION = 'FieldDefinition' ;
74
+ export type FIELD_DEFINITION = typeof FIELD_DEFINITION ;
46
75
export const INPUT_VALUE_DEFINITION = 'InputValueDefinition' ;
76
+ export type INPUT_VALUE_DEFINITION = typeof INPUT_VALUE_DEFINITION ;
47
77
export const INTERFACE_TYPE_DEFINITION = 'InterfaceTypeDefinition' ;
78
+ export type INTERFACE_TYPE_DEFINITION = typeof INTERFACE_TYPE_DEFINITION ;
48
79
export const UNION_TYPE_DEFINITION = 'UnionTypeDefinition' ;
80
+ export type UNION_TYPE_DEFINITION = typeof UNION_TYPE_DEFINITION ;
49
81
export const ENUM_TYPE_DEFINITION = 'EnumTypeDefinition' ;
50
82
export const ENUM_VALUE_DEFINITION = 'EnumValueDefinition' ;
83
+ export type ENUM_VALUE_DEFINITION = typeof ENUM_VALUE_DEFINITION ;
51
84
export const INPUT_OBJECT_TYPE_DEFINITION = 'InputObjectTypeDefinition' ;
85
+ export type INPUT_OBJECT_TYPE_DEFINITION = typeof INPUT_OBJECT_TYPE_DEFINITION ;
52
86
53
87
/** Directive Definitions */
54
88
export const DIRECTIVE_DEFINITION = 'DirectiveDefinition' ;
55
-
89
+ export type DIRECTIVE_DEFINITION = typeof DIRECTIVE_DEFINITION ;
56
90
/** Type System Extensions */
57
91
export const SCHEMA_EXTENSION = 'SchemaExtension' ;
92
+ export type SCHEMA_EXTENSION = typeof SCHEMA_EXTENSION ;
58
93
59
94
/** Type Extensions */
60
95
export const SCALAR_TYPE_EXTENSION = 'ScalarTypeExtension' ;
96
+ export type SCALAR_TYPE_EXTENSION = typeof SCALAR_TYPE_EXTENSION ;
61
97
export const OBJECT_TYPE_EXTENSION = 'ObjectTypeExtension' ;
98
+ export type OBJECT_TYPE_EXTENSION = typeof OBJECT_TYPE_EXTENSION ;
62
99
export const INTERFACE_TYPE_EXTENSION = 'InterfaceTypeExtension' ;
100
+ export type INTERFACE_TYPE_EXTENSION = typeof INTERFACE_TYPE_EXTENSION ;
63
101
export const UNION_TYPE_EXTENSION = 'UnionTypeExtension' ;
102
+ export type UNION_TYPE_EXTENSION = typeof UNION_TYPE_EXTENSION ;
64
103
export const ENUM_TYPE_EXTENSION = 'EnumTypeExtension' ;
104
+ export type ENUM_TYPE_EXTENSION = typeof ENUM_TYPE_EXTENSION ;
65
105
export const INPUT_OBJECT_TYPE_EXTENSION = 'InputObjectTypeExtension' ;
106
+ export type INPUT_OBJECT_TYPE_EXTENSION = typeof INPUT_OBJECT_TYPE_EXTENSION ;
0 commit comments