ENUM

__TypeKind

An enum describing what kind of type a given __Type is.

link GraphQL Schema definition

1 enum __TypeKind {
2
3 # Indicates this type is a scalar.
4 SCALAR
5
6 # Indicates this type is an object. `fields` and `interfaces` are valid fields.
7 OBJECT
8
9 # Indicates this type is an interface. `fields` and `possibleTypes` are valid
10 # fields.
11 INTERFACE
12
13 # Indicates this type is a union. `possibleTypes` is a valid field.
14 UNION
15
16 # Indicates this type is an enum. `enumValues` is a valid field.
17 ENUM
18
19 # Indicates this type is an input object. `inputFields` is a valid field.
20 INPUT_OBJECT
21
22 # Indicates this type is a list. `ofType` is a valid field.
23 LIST
24
25 # Indicates this type is a non-null. `ofType` is a valid field.
26 NON_NULL
27 }