Skip to content

Instantly share code, notes, and snippets.

@seandearnaley
Last active February 21, 2020 11:08
Show Gist options
  • Save seandearnaley/1423897b4e701313786271db69c0cf9f to your computer and use it in GitHub Desktop.
Save seandearnaley/1423897b4e701313786271db69c0cf9f to your computer and use it in GitHub Desktop.
Category Server Type SDL
scalar Date
scalar DateTime
scalar Time
enum DirectionEnum {
ASC
DESC
}
interface Node {
id: ID!
created: DateTime!
updated: DateTime
}
type Category implements Node {
id: ID!
name: String
updated: DateTime
created: DateTime!
cards(first: Int, last: Int, after: String, before: String, orderByColumn: String, orderByDirection: DirectionEnum): CardConnection!
}
type Query {
node(id: ID): Node!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment