Created
September 3, 2017 13:35
-
-
Save crucialfelix/c1ddf968d166d7f1cf859245524b1caf to your computer and use it in GitHub Desktop.
excerpt from graphql compiled schema for Message and User/Viewer model
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
[ | |
{ | |
"kind": "OBJECT", | |
"name": "Message", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "id", | |
"description": "The ID of the object.", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "thread", | |
"description": "", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "OBJECT", | |
"name": "MessageThread", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "createdOn", | |
"description": "", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "DateTime", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "body", | |
"description": "", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { "kind": "SCALAR", "name": "String", "ofType": null } | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "messageType", | |
"description": "", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { "kind": "SCALAR", "name": "String", "ofType": null } | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "author", | |
"description": "", | |
"args": [], | |
"type": { "kind": "OBJECT", "name": "Viewer", "ofType": null }, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [{ "kind": "INTERFACE", "name": "Node", "ofType": null }], | |
"enumValues": null, | |
"possibleTypes": null | |
}, | |
{ | |
"kind": "OBJECT", | |
"name": "Viewer", | |
"description": null, | |
"fields": [ | |
{ | |
"name": "id", | |
"description": "The ID of the object.", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "lastLogin", | |
"description": "", | |
"args": [], | |
"type": { "kind": "SCALAR", "name": "DateTime", "ofType": null }, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "isSuperuser", | |
"description": | |
"Designates that this user has all permissions without explicitly assigning them.", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "username", | |
"description": | |
"Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { "kind": "SCALAR", "name": "String", "ofType": null } | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "firstName", | |
"description": "", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { "kind": "SCALAR", "name": "String", "ofType": null } | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "lastName", | |
"description": "", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { "kind": "SCALAR", "name": "String", "ofType": null } | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "email", | |
"description": "", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { "kind": "SCALAR", "name": "String", "ofType": null } | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "isStaff", | |
"description": | |
"Designates whether the user can log into this admin site.", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "isActive", | |
"description": | |
"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "Boolean", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "dateJoined", | |
"description": "", | |
"args": [], | |
"type": { | |
"kind": "NON_NULL", | |
"name": null, | |
"ofType": { | |
"kind": "SCALAR", | |
"name": "DateTime", | |
"ofType": null | |
} | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
}, | |
{ | |
"name": "messages", | |
"description": "Query all messages by thread key", | |
"args": [ | |
{ | |
"name": "threadKey", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "before", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "after", | |
"description": null, | |
"type": { | |
"kind": "SCALAR", | |
"name": "String", | |
"ofType": null | |
}, | |
"defaultValue": null | |
}, | |
{ | |
"name": "first", | |
"description": null, | |
"type": { "kind": "SCALAR", "name": "Int", "ofType": null }, | |
"defaultValue": null | |
}, | |
{ | |
"name": "last", | |
"description": null, | |
"type": { "kind": "SCALAR", "name": "Int", "ofType": null }, | |
"defaultValue": null | |
} | |
], | |
"type": { | |
"kind": "OBJECT", | |
"name": "MessageConnection", | |
"ofType": null | |
}, | |
"isDeprecated": false, | |
"deprecationReason": null | |
} | |
], | |
"inputFields": null, | |
"interfaces": [{ "kind": "INTERFACE", "name": "Node", "ofType": null }], | |
"enumValues": null, | |
"possibleTypes": null | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment