Skip to content

Instantly share code, notes, and snippets.

@Dangeranger
Created February 12, 2019 00:27
Show Gist options
  • Save Dangeranger/b40dabdf6e672a46e39b6994ea202a3c to your computer and use it in GitHub Desktop.
Save Dangeranger/b40dabdf6e672a46e39b6994ea202a3c to your computer and use it in GitHub Desktop.
Open Collective GraphQL Schema
{
"_queryType": "Query",
"_mutationType": null,
"_subscriptionType": 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": "Boolean!"
}
]
},
{
"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": "Boolean!"
}
]
},
{
"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": "String",
"defaultValue": "No longer supported"
}
]
}
],
"astNode": null,
"_typeMap": {
"Query": "Query",
"String": "String",
"Account": "Account",
"DateTime": "DateTime",
"Int": "Int",
"MemberRole": "MemberRole",
"AccountType": "AccountType",
"MemberCollection": "MemberCollection",
"Member": "Member",
"Amount": "Amount",
"Float": "Float",
"Currency": "Currency",
"MemberOfCollection": "MemberOfCollection",
"MemberOf": "MemberOf",
"TransactionType": "TransactionType",
"ChronologicalOrder": "ChronologicalOrder",
"DateTimeField": "DateTimeField",
"OrderDirection": "OrderDirection",
"TransactionCollection": "TransactionCollection",
"Transaction": "Transaction",
"__Schema": "__Schema",
"__Type": "__Type",
"__TypeKind": "__TypeKind",
"Boolean": "Boolean",
"__Field": "__Field",
"__InputValue": "__InputValue",
"__EnumValue": "__EnumValue",
"__Directive": "__Directive",
"__DirectiveLocation": "__DirectiveLocation",
"Individual": "Individual",
"Organization": "Organization",
"Collective": "Collective",
"Event": "Event",
"Bot": "Bot",
"Debit": "Debit",
"Credit": "Credit"
},
"_implementations": {
"Account": [
"Individual",
"Organization",
"Collective",
"Event",
"Bot"
],
"Transaction": [
"Debit",
"Credit"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment