Last active
March 14, 2020 20:07
-
-
Save ryyppy/34c01942b4bdc8aa9f7a42d171645aae to your computer and use it in GitHub Desktop.
graphql_ppx: JsonScalar input bug
This file contains 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
module CardsQuery = [%graphql | |
{| | |
query { | |
EventItems( | |
filter_query: {featured: { in: true } }) { | |
items { | |
slug | |
content { | |
date | |
title | |
cover_photo | |
} | |
} | |
} | |
} | |
|} | |
]; |
This file contains 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
{ | |
"data": { | |
"__schema": { | |
"queryType": { | |
"name": "QueryType" | |
}, | |
"mutationType": null, | |
"subscriptionType": null, | |
"types": [ | |
{ | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"description": "Represents `true` or `false` values.", | |
"fields": null, | |
"inputFields": null, | |
"interfaces": null, | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "SCALAR", | |
"name": "String", | |
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.", | |
"fields": null, | |
"inputFields": null, | |
"interfaces": null, | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "QueryType", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "ContentNode", | |
"description": null, | |
"args": [ | |
{ | |
"name": "id", | |
"description": "Slug, ID or UUID of item", | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "ID", | |
"ofType": null | |
} | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "find_by", | |
"description": "Can be empty or 'uuid'", | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "from_release", | |
"description": "Release id", | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "resolve_links", | |
"description": "Can be 'story' or 'url'", | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "resolve_relations", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "language", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
} | |
], | |
"type": { | |
"kind": "OBJECT", | |
"name": "ContentItem", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "ContentNodes", | |
"description": null, | |
"args": [ | |
{ | |
"name": "first_published_at_gt", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "first_published_at_lt", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "starts_with", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "by_uuids", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "by_uuids_ordered", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "excluding_ids", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "excluding_fields", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "resolve_links", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "resolve_relations", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "from_release", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "sort_by", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "search_term", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "is_startpage", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "language", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "with_tag", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "page", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "per_page", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "filter_query", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "JsonScalar", | |
"ofType": null | |
}, | |
"defaultValue": null | |
} | |
], | |
"type": { | |
"kind": "OBJECT", | |
"name": "ContentItems", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "DatasourceEntries", | |
"description": null, | |
"args": [ | |
{ | |
"name": "datasource", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "dimension", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "page", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "per_page", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"defaultValue": null | |
} | |
], | |
"type": { | |
"kind": "OBJECT", | |
"name": "DatasourceEntries", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "Datasources", | |
"description": null, | |
"args": [ | |
{ | |
"name": "search", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "by_ids", | |
"description": null, | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"defaultValue": null | |
} | |
], | |
"type": { | |
"kind": "OBJECT", | |
"name": "Datasources", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "EventItem", | |
"description": null, | |
"args": [ | |
{ | |
"name": "id", | |
"description": "Slug, ID or UUID of item", | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "ID", | |
"ofType": null | |
} | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "find_by", | |
"description": "Can be empty or 'uuid'", | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "from_release", | |
"description": "Release id", | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "resolve_links", | |
"description": "Can be 'story' or 'url'", | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "resolve_relations", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "language", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
} | |
], | |
"type": { | |
"kind": "OBJECT", | |
"name": "EventItem", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "EventItems", | |
"description": null, | |
"args": [ | |
{ | |
"name": "first_published_at_gt", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "first_published_at_lt", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "starts_with", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "by_uuids", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "by_uuids_ordered", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "excluding_ids", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "excluding_fields", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "resolve_links", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "resolve_relations", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "from_release", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "sort_by", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "search_term", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "is_startpage", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "language", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "with_tag", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "page", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "per_page", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "filter_query", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "JsonScalar", | |
"ofType": null | |
}, | |
"defaultValue": null | |
} | |
], | |
"type": { | |
"kind": "OBJECT", | |
"name": "EventItems", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "Space", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "OBJECT", | |
"name": "Space", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "Tags", | |
"description": null, | |
"args": [ | |
{ | |
"name": "starts_with", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
} | |
], | |
"type": { | |
"kind": "OBJECT", | |
"name": "Tags", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "EventItem", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "alternates", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "Alternate", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "content", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "OBJECT", | |
"name": "EventComponent", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "created_at", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "first_published_at", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "full_slug", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "group_id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "is_startpage", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "lang", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "meta_data", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "JsonScalar", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "parent_id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "path", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "position", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "published_at", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "release_id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "slug", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "sort_by_date", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "tag_list", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "translated_slugs", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "TranslatedSlug", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "uuid", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "Alternate", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "fullSlug", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "isFolder", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "parentId", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "published", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "slug", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "SCALAR", | |
"name": "Int", | |
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", | |
"fields": null, | |
"inputFields": null, | |
"interfaces": null, | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "TranslatedSlug", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "lang", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "path", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "SCALAR", | |
"name": "JsonScalar", | |
"description": null, | |
"fields": null, | |
"inputFields": null, | |
"interfaces": null, | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "EventComponent", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "_editable", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "_uid", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "component", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "cover_photo", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "date", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "description", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "JsonScalar", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "featured", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "location", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "BlockScalar", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "photos", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "BlockScalar", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "title", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "SCALAR", | |
"name": "BlockScalar", | |
"description": null, | |
"fields": null, | |
"inputFields": null, | |
"interfaces": null, | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "SCALAR", | |
"name": "ID", | |
"description": "Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"VXNlci0xMA==\"`) or integer (such as `4`) input value will be accepted as an ID.", | |
"fields": null, | |
"inputFields": null, | |
"interfaces": null, | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "EventItems", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "items", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "EventItem", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "total", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "ContentItem", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "alternates", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "Alternate", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "content", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "JsonScalar", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "content_string", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "created_at", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "first_published_at", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "full_slug", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "group_id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "is_startpage", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "lang", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "meta_data", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "JsonScalar", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "parent_id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "path", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "position", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "published_at", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "release_id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "slug", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "sort_by_date", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "tag_list", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "translated_slugs", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "TranslatedSlug", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "uuid", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "ContentItems", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "items", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "ContentItem", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "total", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "Space", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "domain", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "languageCodes", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "version", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "Tags", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "items", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "Tag", | |
"ofType": null | |
} | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "Tag", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "taggingsCount", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "Datasources", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "items", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "Datasource", | |
"ofType": null | |
} | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "Datasource", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "slug", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "DatasourceEntries", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "items", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "DatasourceEntry", | |
"ofType": null | |
} | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "total", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "DatasourceEntry", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "dimensionValue", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "id", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Int", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "value", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "__Schema", | |
"description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", | |
"fields": [ | |
{ | |
"name": "directives", | |
"description": "A list of all directives supported by this server.", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__Directive", | |
"ofType": null | |
} | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "mutationType", | |
"description": "If this server supports mutation, the type that mutation operations will be rooted at.", | |
"args": [], | |
"type": { | |
"kind": "OBJECT", | |
"name": "__Type", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "queryType", | |
"description": "The type that query operations will be rooted at.", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__Type", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "subscriptionType", | |
"description": "If this server support subscription, the type that subscription operations will be rooted at.", | |
"args": [], | |
"type": { | |
"kind": "OBJECT", | |
"name": "__Type", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "types", | |
"description": "A list of all types supported by this server.", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__Type", | |
"ofType": null | |
} | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "__Type", | |
"description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", | |
"fields": [ | |
{ | |
"name": "description", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "enumValues", | |
"description": null, | |
"args": [ | |
{ | |
"name": "includeDeprecated", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
}, | |
"defaultValue": "false" | |
} | |
], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__EnumValue", | |
"ofType": null | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "fields", | |
"description": null, | |
"args": [ | |
{ | |
"name": "includeDeprecated", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
}, | |
"defaultValue": "false" | |
} | |
], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__Field", | |
"ofType": null | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "inputFields", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__InputValue", | |
"ofType": null | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "interfaces", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__Type", | |
"ofType": null | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "kind", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "ENUM", | |
"name": "__TypeKind", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "ofType", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "OBJECT", | |
"name": "__Type", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "possibleTypes", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__Type", | |
"ofType": null | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "__Field", | |
"description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", | |
"fields": [ | |
{ | |
"name": "args", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__InputValue", | |
"ofType": null | |
} | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "deprecationReason", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "description", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "isDeprecated", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "type", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__Type", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "__Directive", | |
"description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", | |
"fields": [ | |
{ | |
"name": "args", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__InputValue", | |
"ofType": null | |
} | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "description", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "locations", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "LIST", | |
"name": null, | |
"ofType": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "ENUM", | |
"name": "__DirectiveLocation", | |
"ofType": null | |
} | |
} | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "onField", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": true, | |
"deprecationReason": "Use `locations`." | |
}, | |
{ | |
"name": "onFragment", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": true, | |
"deprecationReason": "Use `locations`." | |
}, | |
{ | |
"name": "onOperation", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": true, | |
"deprecationReason": "Use `locations`." | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "__EnumValue", | |
"description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", | |
"fields": [ | |
{ | |
"name": "deprecationReason", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "description", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "isDeprecated", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "__InputValue", | |
"description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", | |
"fields": [ | |
{ | |
"name": "defaultValue", | |
"description": "A GraphQL-formatted string representing the default value for this input value.", | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "description", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "name", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "type", | |
"description": null, | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "__Type", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "ENUM", | |
"name": "__TypeKind", | |
"description": "An enum describing what kind of type a given `__Type` is.", | |
"fields": null, | |
"inputFields": null, | |
"interfaces": null, | |
"enumValues": [ | |
{ | |
"name": "SCALAR", | |
"description": "Indicates this type is a scalar.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "OBJECT", | |
"description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "INTERFACE", | |
"description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "UNION", | |
"description": "Indicates this type is a union. `possibleTypes` is a valid field.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "ENUM", | |
"description": "Indicates this type is an enum. `enumValues` is a valid field.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "INPUT_OBJECT", | |
"description": "Indicates this type is an input object. `inputFields` is a valid field.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "LIST", | |
"description": "Indicates this type is a list. `ofType` is a valid field.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "NON_NULL", | |
"description": "Indicates this type is a non-null. `ofType` is a valid field.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "ENUM", | |
"name": "__DirectiveLocation", | |
"description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", | |
"fields": null, | |
"inputFields": null, | |
"interfaces": null, | |
"enumValues": [ | |
{ | |
"name": "QUERY", | |
"description": "Location adjacent to a query operation.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "MUTATION", | |
"description": "Location adjacent to a mutation operation.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "SUBSCRIPTION", | |
"description": "Location adjacent to a subscription operation.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "FIELD", | |
"description": "Location adjacent to a field.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "FRAGMENT_DEFINITION", | |
"description": "Location adjacent to a fragment definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "FRAGMENT_SPREAD", | |
"description": "Location adjacent to a fragment spread.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "INLINE_FRAGMENT", | |
"description": "Location adjacent to an inline fragment.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "SCHEMA", | |
"description": "Location adjacent to a schema definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "SCALAR", | |
"description": "Location adjacent to a scalar definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "OBJECT", | |
"description": "Location adjacent to an object type definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "FIELD_DEFINITION", | |
"description": "Location adjacent to a field definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "ARGUMENT_DEFINITION", | |
"description": "Location adjacent to an argument definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "INTERFACE", | |
"description": "Location adjacent to an interface definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "UNION", | |
"description": "Location adjacent to a union definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "ENUM", | |
"description": "Location adjacent to an enum definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "ENUM_VALUE", | |
"description": "Location adjacent to an enum value definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "INPUT_OBJECT", | |
"description": "Location adjacent to an input object type definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "INPUT_FIELD_DEFINITION", | |
"description": "Location adjacent to an input object field definition.", | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"possibleTypes": null | |
} | |
], | |
"directives": [ | |
{ | |
"name": "include", | |
"description": "Directs the executor to include this field or fragment only when the `if` argument is true.", | |
"locations": [ | |
"FIELD", | |
"FRAGMENT_SPREAD", | |
"INLINE_FRAGMENT" | |
], | |
"args": [ | |
{ | |
"name": "if", | |
"description": "Included when true.", | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
} | |
}, | |
"defaultValue": null | |
} | |
] | |
}, | |
{ | |
"name": "skip", | |
"description": "Directs the executor to skip this field or fragment when the `if` argument is true.", | |
"locations": [ | |
"FIELD", | |
"FRAGMENT_SPREAD", | |
"INLINE_FRAGMENT" | |
], | |
"args": [ | |
{ | |
"name": "if", | |
"description": "Skipped when true.", | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
} | |
}, | |
"defaultValue": null | |
} | |
] | |
}, | |
{ | |
"name": "deprecated", | |
"description": "Marks an element of a GraphQL schema as no longer supported.", | |
"locations": [ | |
"FIELD_DEFINITION", | |
"ENUM_VALUE" | |
], | |
"args": [ | |
{ | |
"name": "reason", | |
"description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).", | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": "\"No longer supported\"" | |
} | |
] | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment