Module: Graphqlmd

Included in:
Graphqlmd
Defined in:
lib/graphqlmd/consts.rb,
lib/graphqlmd/version.rb

Defined Under Namespace

Classes: Graphqlmd

Constant Summary collapse

SCHEMA_QUERY =
"fragment FullType on __Type {\n  kind\n  name\n  description\n  fields(includeDeprecated: true) {\n    name\n    description\n    args {\n      ...InputValue\n    }\n    type {\n      ...TypeRef\n    }\n    isDeprecated\n    deprecationReason\n  }\n  inputFields {\n    ...InputValue\n    description\n    defaultValue\n  }\n  interfaces {\n    ...TypeRef\n  }\n  enumValues(includeDeprecated: true) {\n    name\n    description\n    isDeprecated\n    deprecationReason\n  }\n  possibleTypes {\n    ...TypeRef\n  }\n}\nfragment InputValue on __InputValue {\n  name\n  type {\n    ...TypeRef\n  }\n  defaultValue\n}\nfragment TypeRef on __Type {\n  kind\n  name\n  ofType {\n    kind\n    name\n    ofType {\n      kind\n      name\n      ofType {\n        kind\n        name\n        ofType {\n          kind\n          name\n          ofType {\n            kind\n            name\n            ofType {\n              kind\n              name\n              ofType {\n                kind\n                name\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}\n\n{\n  schema:__schema {\n    queries:queryType {\n      ...FullType\n    }\n    mutations:mutationType {\n      ...FullType\n    }\n    types {\n      ...FullType\n    }\n  }\n}\n"
LIST =
'LIST'
SCALAR =
'SCALAR'
NON_NULL =
'NON_NULL'
CLIENT_MUTATION_ID =
'clientMutationId'
IGNORED_OBJECT_NAMES =
%w[
  Query
  Mutation
  SCALAR
  __DirectiveLocation
  __TypeKind
  __InputValue
  __EnumValue
  __Directive
  __Field
  __Type
  __Schema
]
VERSION =
'1.0.2'