@dillonkearns/elm-graphql
Version:
<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">
1,316 lines (1,315 loc) • 38.4 kB
JSON
{
"data": {
"__schema": {
"types": [
{
"possibleTypes": null,
"name": "Boolean",
"kind": "SCALAR",
"interfaces": null,
"inputFields": null,
"fields": null,
"enumValues": null,
"description":
"The `Boolean` scalar type represents `true` or `false`."
},
{
"possibleTypes": [
{
"ofType": null,
"name": "Human",
"kind": "OBJECT"
},
{
"ofType": null,
"name": "Droid",
"kind": "OBJECT"
}
],
"name": "Character",
"kind": "INTERFACE",
"interfaces": null,
"inputFields": null,
"fields": [
{
"type": {
"ofType": {
"ofType": {
"ofType": {
"ofType": null,
"name": "Episode",
"kind": "ENUM"
},
"name": null,
"kind": "NON_NULL"
},
"name": null,
"kind": "LIST"
},
"name": null,
"kind": "NON_NULL"
},
"name": "appearsIn",
"isDeprecated": false,
"description": "Which movies they appear in.",
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": {
"ofType": {
"ofType": null,
"name": "Character",
"kind": "INTERFACE"
},
"name": null,
"kind": "NON_NULL"
},
"name": null,
"kind": "LIST"
},
"name": null,
"kind": "NON_NULL"
},
"name": "friends",
"isDeprecated": false,
"description":
"The friends of the character, or an empty list if they have none.",
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": null,
"name": "ID",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "id",
"isDeprecated": false,
"description": "The ID of the character.",
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "name",
"isDeprecated": false,
"description": "The name of the character.",
"deprecationReason": null,
"args": []
}
],
"enumValues": null,
"description": "A character in the Star Wars Trilogy"
},
{
"possibleTypes": [
{
"ofType": null,
"name": "Human",
"kind": "OBJECT"
},
{
"ofType": null,
"name": "Droid",
"kind": "OBJECT"
}
],
"name": "CharacterUnion",
"kind": "UNION",
"interfaces": null,
"inputFields": null,
"fields": null,
"enumValues": null,
"description":
"A union alternative to the character interface for learning purposes."
},
{
"possibleTypes": null,
"name": "Droid",
"kind": "OBJECT",
"interfaces": [
{
"ofType": null,
"name": "Character",
"kind": "INTERFACE"
}
],
"inputFields": null,
"fields": [
{
"type": {
"ofType": {
"ofType": {
"ofType": {
"ofType": null,
"name": "Episode",
"kind": "ENUM"
},
"name": null,
"kind": "NON_NULL"
},
"name": null,
"kind": "LIST"
},
"name": null,
"kind": "NON_NULL"
},
"name": "appearsIn",
"isDeprecated": false,
"description": "Which movies they appear in.",
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": {
"ofType": {
"ofType": null,
"name": "Character",
"kind": "INTERFACE"
},
"name": null,
"kind": "NON_NULL"
},
"name": null,
"kind": "LIST"
},
"name": null,
"kind": "NON_NULL"
},
"name": "friends",
"isDeprecated": false,
"description":
"The friends of the droid, or an empty list if they have none.",
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": null,
"name": "ID",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "id",
"isDeprecated": false,
"description": "The ID of the droid.",
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "name",
"isDeprecated": false,
"description": "The name of the droid.",
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "primaryFunction",
"isDeprecated": false,
"description": "The primary function of the droid.",
"deprecationReason": null,
"args": []
}
],
"enumValues": null,
"description": "A mechanical creature in the Star Wars universe."
},
{
"possibleTypes": null,
"name": "Episode",
"kind": "ENUM",
"interfaces": null,
"inputFields": null,
"fields": null,
"enumValues": [
{
"name": "EMPIRE",
"isDeprecated": false,
"description": "Released in 1980.",
"deprecationReason": null
},
{
"name": "JEDI",
"isDeprecated": false,
"description": "Released in 1983.",
"deprecationReason": null
},
{
"name": "NEWHOPE",
"isDeprecated": false,
"description": "Released in 1977.",
"deprecationReason": null
}
],
"description": "One of the films in the Star Wars Trilogy"
},
{
"possibleTypes": null,
"name": "Greeting",
"kind": "INPUT_OBJECT",
"interfaces": null,
"inputFields": [
{
"type": {
"ofType": null,
"name": "Language",
"kind": "ENUM"
},
"name": "language",
"description": null,
"defaultValue": null
},
{
"type": {
"ofType": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "name",
"description": null,
"defaultValue": null
},
{
"type": {
"ofType": null,
"name": "GreetingOptions",
"kind": "INPUT_OBJECT"
},
"name": "options",
"description": null,
"defaultValue": null
}
],
"fields": null,
"enumValues": null,
"description": null
},
{
"possibleTypes": null,
"name": "GreetingOptions",
"kind": "INPUT_OBJECT",
"interfaces": null,
"inputFields": [
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "prefix",
"description": null,
"defaultValue": null
}
],
"fields": null,
"enumValues": null,
"description": null
},
{
"possibleTypes": null,
"name": "Human",
"kind": "OBJECT",
"interfaces": [
{
"ofType": null,
"name": "Character",
"kind": "INTERFACE"
}
],
"inputFields": null,
"fields": [
{
"type": {
"ofType": {
"ofType": {
"ofType": {
"ofType": null,
"name": "Episode",
"kind": "ENUM"
},
"name": null,
"kind": "NON_NULL"
},
"name": null,
"kind": "LIST"
},
"name": null,
"kind": "NON_NULL"
},
"name": "appearsIn",
"isDeprecated": false,
"description": "Which movies they appear in.",
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": {
"ofType": {
"ofType": null,
"name": "Character",
"kind": "INTERFACE"
},
"name": null,
"kind": "NON_NULL"
},
"name": null,
"kind": "LIST"
},
"name": null,
"kind": "NON_NULL"
},
"name": "friends",
"isDeprecated": false,
"description":
"The friends of the human, or an empty list if they have none.",
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "homePlanet",
"isDeprecated": false,
"description":
"The home planet of the human, or null if unknown.",
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": null,
"name": "ID",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "id",
"isDeprecated": false,
"description": "The ID of the human.",
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "name",
"isDeprecated": false,
"description": "The name of the human.",
"deprecationReason": null,
"args": []
}
],
"enumValues": null,
"description": "A humanoid creature in the Star Wars universe."
},
{
"possibleTypes": null,
"name": "ID",
"kind": "SCALAR",
"interfaces": null,
"inputFields": null,
"fields": null,
"enumValues": null,
"description":
"The `ID` scalar type represents a unique identifier, often used to\nrefetch an object or as key for a cache. The ID type appears in a JSON\nresponse as a String; however, it is not intended to be human-readable.\nWhen expected as an input type, any string (such as `\"4\"`) or integer\n(such as `4`) input value will be accepted as an ID."
},
{
"possibleTypes": null,
"name": "Language",
"kind": "ENUM",
"interfaces": null,
"inputFields": null,
"fields": null,
"enumValues": [
{
"name": "EN",
"isDeprecated": false,
"description": "English",
"deprecationReason": null
},
{
"name": "ES",
"isDeprecated": false,
"description": "Spanish",
"deprecationReason": null
},
{
"name": "NO",
"isDeprecated": false,
"description": "Norwegian",
"deprecationReason": null
}
],
"description": null
},
{
"possibleTypes": null,
"name": "RootQueryType",
"kind": "OBJECT",
"interfaces": [],
"inputFields": null,
"fields": [
{
"type": {
"ofType": null,
"name": "Droid",
"kind": "OBJECT"
},
"name": "droid",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": [
{
"type": {
"ofType": {
"ofType": null,
"name": "ID",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "id",
"description": "ID of the droid.",
"defaultValue": null
}
]
},
{
"type": {
"ofType": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "greet",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": [
{
"type": {
"ofType": {
"ofType": null,
"name": "Greeting",
"kind": "INPUT_OBJECT"
},
"name": null,
"kind": "NON_NULL"
},
"name": "input",
"description": null,
"defaultValue": null
}
]
},
{
"type": {
"ofType": {
"ofType": null,
"name": "Character",
"kind": "INTERFACE"
},
"name": null,
"kind": "NON_NULL"
},
"name": "hero",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": [
{
"type": {
"ofType": null,
"name": "Episode",
"kind": "ENUM"
},
"name": "episode",
"description":
"If omitted, returns the hero of the whole saga. If provided, returns the hero of that particular episode.",
"defaultValue": null
}
]
},
{
"type": {
"ofType": null,
"name": "CharacterUnion",
"kind": "UNION"
},
"name": "heroUnion",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": [
{
"type": {
"ofType": null,
"name": "Episode",
"kind": "ENUM"
},
"name": "episode",
"description":
"If omitted, returns the hero of the whole saga. If provided, returns the hero of that particular episode.",
"defaultValue": null
}
]
},
{
"type": {
"ofType": null,
"name": "Human",
"kind": "OBJECT"
},
"name": "human",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": [
{
"type": {
"ofType": {
"ofType": null,
"name": "ID",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "id",
"description": "ID of the human.",
"defaultValue": null
}
]
}
],
"enumValues": null,
"description": null
},
{
"possibleTypes": null,
"name": "String",
"kind": "SCALAR",
"interfaces": null,
"inputFields": null,
"fields": null,
"enumValues": null,
"description":
"The `String` scalar type represents textual data, represented as UTF-8\ncharacter sequences. The String type is most often used by GraphQL to\nrepresent free-form human-readable text."
},
{
"possibleTypes": null,
"name": "__Directive",
"kind": "OBJECT",
"interfaces": [],
"inputFields": null,
"fields": [
{
"type": {
"ofType": {
"ofType": null,
"name": "__InputValue",
"kind": "OBJECT"
},
"name": null,
"kind": "LIST"
},
"name": "args",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "description",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": null,
"name": "__DirectiveLocation",
"kind": "ENUM"
},
"name": null,
"kind": "LIST"
},
"name": "locations",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "name",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "Boolean",
"kind": "SCALAR"
},
"name": "onField",
"isDeprecated": true,
"description": null,
"deprecationReason":
"Check `locations` field for enum value FIELD",
"args": []
},
{
"type": {
"ofType": null,
"name": "Boolean",
"kind": "SCALAR"
},
"name": "onFragment",
"isDeprecated": true,
"description": null,
"deprecationReason":
"Check `locations` field for enum value FRAGMENT_SPREAD",
"args": []
},
{
"type": {
"ofType": null,
"name": "Boolean",
"kind": "SCALAR"
},
"name": "onOperation",
"isDeprecated": true,
"description": null,
"deprecationReason":
"Check `locations` field for enum value OPERATION",
"args": []
}
],
"enumValues": null,
"description": "Represents a directive"
},
{
"possibleTypes": null,
"name": "__DirectiveLocation",
"kind": "ENUM",
"interfaces": null,
"inputFields": null,
"fields": null,
"enumValues": [
{
"name": "FIELD",
"isDeprecated": false,
"description": null,
"deprecationReason": null
},
{
"name": "FRAGMENT_DEFINITION",
"isDeprecated": false,
"description": null,
"deprecationReason": null
},
{
"name": "FRAGMENT_SPREAD",
"isDeprecated": false,
"description": null,
"deprecationReason": null
},
{
"name": "INLINE_FRAGMENT",
"isDeprecated": false,
"description": null,
"deprecationReason": null
},
{
"name": "MUTATION",
"isDeprecated": false,
"description": null,
"deprecationReason": null
},
{
"name": "QUERY",
"isDeprecated": false,
"description": null,
"deprecationReason": null
},
{
"name": "SUBSCRIPTION",
"isDeprecated": false,
"description": null,
"deprecationReason": null
}
],
"description": null
},
{
"possibleTypes": null,
"name": "__EnumValue",
"kind": "OBJECT",
"interfaces": [],
"inputFields": null,
"fields": [
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "deprecationReason",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "description",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "Boolean",
"kind": "SCALAR"
},
"name": "isDeprecated",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "name",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
}
],
"enumValues": null,
"description": null
},
{
"possibleTypes": null,
"name": "__Field",
"kind": "OBJECT",
"interfaces": [],
"inputFields": null,
"fields": [
{
"type": {
"ofType": {
"ofType": null,
"name": "__InputValue",
"kind": "OBJECT"
},
"name": null,
"kind": "LIST"
},
"name": "args",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "deprecationReason",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "description",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "Boolean",
"kind": "SCALAR"
},
"name": "isDeprecated",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "name",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "__Type",
"kind": "OBJECT"
},
"name": "type",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
}
],
"enumValues": null,
"description": null
},
{
"possibleTypes": null,
"name": "__InputValue",
"kind": "OBJECT",
"interfaces": [],
"inputFields": null,
"fields": [
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "defaultValue",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "description",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "name",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "__Type",
"kind": "OBJECT"
},
"name": "type",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
}
],
"enumValues": null,
"description": null
},
{
"possibleTypes": null,
"name": "__Schema",
"kind": "OBJECT",
"interfaces": [],
"inputFields": null,
"fields": [
{
"type": {
"ofType": {
"ofType": null,
"name": "__Directive",
"kind": "OBJECT"
},
"name": null,
"kind": "LIST"
},
"name": "directives",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "__Type",
"kind": "OBJECT"
},
"name": "mutationType",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "__Type",
"kind": "OBJECT"
},
"name": "queryType",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "__Type",
"kind": "OBJECT"
},
"name": "subscriptionType",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": null,
"name": "__Type",
"kind": "OBJECT"
},
"name": null,
"kind": "LIST"
},
"name": "types",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
}
],
"enumValues": null,
"description": "Represents a schema"
},
{
"possibleTypes": null,
"name": "__Type",
"kind": "OBJECT",
"interfaces": [],
"inputFields": null,
"fields": [
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "description",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": null,
"name": "__EnumValue",
"kind": "OBJECT"
},
"name": null,
"kind": "LIST"
},
"name": "enumValues",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": [
{
"type": {
"ofType": null,
"name": "Boolean",
"kind": "SCALAR"
},
"name": "includeDeprecated",
"description": null,
"defaultValue": "false"
}
]
},
{
"type": {
"ofType": {
"ofType": null,
"name": "__Field",
"kind": "OBJECT"
},
"name": null,
"kind": "LIST"
},
"name": "fields",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": [
{
"type": {
"ofType": null,
"name": "Boolean",
"kind": "SCALAR"
},
"name": "includeDeprecated",
"description": null,
"defaultValue": "false"
}
]
},
{
"type": {
"ofType": {
"ofType": null,
"name": "__InputValue",
"kind": "OBJECT"
},
"name": null,
"kind": "LIST"
},
"name": "inputFields",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": null,
"name": "__Type",
"kind": "OBJECT"
},
"name": null,
"kind": "LIST"
},
"name": "interfaces",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "kind",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "String",
"kind": "SCALAR"
},
"name": "name",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": null,
"name": "__Type",
"kind": "OBJECT"
},
"name": "ofType",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
},
{
"type": {
"ofType": {
"ofType": null,
"name": "__Type",
"kind": "OBJECT"
},
"name": null,
"kind": "LIST"
},
"name": "possibleTypes",
"isDeprecated": false,
"description": null,
"deprecationReason": null,
"args": []
}
],
"enumValues": null,
"description":
"Represents scalars, interfaces, object types, unions, enums in the system"
}
],
"subscriptionType": null,
"queryType": {
"name": "RootQueryType"
},
"mutationType": null,
"directives": [
{
"name": "include",
"locations": ["INLINE_FRAGMENT", "FRAGMENT_SPREAD", "FIELD"],
"description":
"Directs the executor to include this field or fragment only when the `if` argument is true.\"",
"args": [
{
"type": {
"ofType": {
"ofType": null,
"name": "Boolean",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "if",
"description": "Included when true.",
"defaultValue": null
}
]
},
{
"name": "skip",
"locations": ["INLINE_FRAGMENT", "FRAGMENT_SPREAD", "FIELD"],
"description":
"Directs the executor to skip this field or fragment when the `if` argument is true.",
"args": [
{
"type": {
"ofType": {
"ofType": null,
"name": "Boolean",
"kind": "SCALAR"
},
"name": null,
"kind": "NON_NULL"
},
"name": "if",
"description": "Skipped when true.",
"defaultValue": null
}
]
}
]
}
}
}