Created
July 31, 2020 04:20
-
-
Save holmesal/681ecf5ccccf8a14ab29fa5a0f4a8ff9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extend type Query { | |
__schema: __Schema! | |
__type(name: String!): __Type | |
} | |
type __Schema { | |
description: String | |
types: [__Type!]! | |
queryType: __Type! | |
mutationType: __Type | |
subscriptionType: __Type | |
directives: [__Directive!]! | |
} | |
type __Type { | |
kind: __TypeKind! | |
name: String | |
description: String | |
# should be non-null for OBJECT and INTERFACE only, must be null for the others | |
fields(includeDeprecated: Boolean = false): [__Field!] | |
# should be non-null for OBJECT and INTERFACE only, must be null for the others | |
interfaces: [__Type!] | |
# should be non-null for INTERFACE and UNION only, always null for the others | |
possibleTypes: [__Type!] | |
# should be non-null for ENUM only, must be null for the others | |
enumValues(includeDeprecated: Boolean = false): [__EnumValue!] | |
# should be non-null for INPUT_OBJECT only, must be null for the others | |
inputFields: [__InputValue!] | |
# should be non-null for NON_NULL and LIST only, must be null for the others | |
ofType: __Type | |
} | |
type __Field { | |
name: String! | |
description: String | |
args: [__InputValue!]! | |
type: __Type! | |
isDeprecated: Boolean! | |
deprecationReason: String | |
} | |
type __InputValue { | |
name: String! | |
description: String | |
type: __Type! | |
defaultValue: String | |
} | |
type __EnumValue { | |
name: String! | |
description: String | |
isDeprecated: Boolean! | |
deprecationReason: String | |
} | |
enum __TypeKind { | |
SCALAR | |
OBJECT | |
INTERFACE | |
UNION | |
ENUM | |
INPUT_OBJECT | |
LIST | |
NON_NULL | |
} | |
type __Directive { | |
name: String! | |
description: String | |
locations: [__DirectiveLocation!]! | |
args: [__InputValue!]! | |
isRepeatable: Boolean! | |
} | |
enum __DirectiveLocation { | |
QUERY | |
MUTATION | |
SUBSCRIPTION | |
FIELD | |
FRAGMENT_DEFINITION | |
FRAGMENT_SPREAD | |
INLINE_FRAGMENT | |
SCHEMA | |
SCALAR | |
OBJECT | |
FIELD_DEFINITION | |
ARGUMENT_DEFINITION | |
INTERFACE | |
UNION | |
ENUM | |
ENUM_VALUE | |
INPUT_OBJECT | |
INPUT_FIELD_DEFINITION | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment