mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-24 07:52:14 +03:00
100 lines
1.5 KiB
GraphQL
100 lines
1.5 KiB
GraphQL
|
type __Schema {
|
||
|
types: [__Type!]!
|
||
|
queryType: __Type!
|
||
|
mutationType: __Type
|
||
|
subscriptionType: __Type
|
||
|
directives: [__Directive!]!
|
||
|
}
|
||
|
|
||
|
type __Type {
|
||
|
kind: __TypeKind!
|
||
|
name: String
|
||
|
description: String
|
||
|
|
||
|
# OBJECT and INTERFACE only
|
||
|
fields(includeDeprecated: Boolean = false): [__Field!]
|
||
|
|
||
|
# OBJECT only
|
||
|
interfaces: [__Type!]
|
||
|
|
||
|
# INTERFACE and UNION only
|
||
|
possibleTypes: [__Type!]
|
||
|
|
||
|
# ENUM only
|
||
|
enumValues(includeDeprecated: Boolean = false): [__EnumValue!]
|
||
|
|
||
|
# INPUT_OBJECT only
|
||
|
inputFields: [__InputValue!]
|
||
|
|
||
|
# NON_NULL and LIST only
|
||
|
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!]!
|
||
|
}
|
||
|
|
||
|
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
|
||
|
}
|
||
|
|
||
|
scalar Int
|
||
|
scalar Float
|
||
|
scalar String
|
||
|
scalar Boolean
|
||
|
scalar ID
|