Skip to content

Instantly share code, notes, and snippets.

@sonnyksimon
Last active December 5, 2019 17:14
Show Gist options
  • Save sonnyksimon/230b2a3d9d6472cf615aceee0f9fc86f to your computer and use it in GitHub Desktop.
Save sonnyksimon/230b2a3d9d6472cf615aceee0f9fc86f to your computer and use it in GitHub Desktop.
sample.graphql
scalar Timestamp
type App {
users: [User]
securityEnabled: Boolean!
}
type User {
username: String!
displayName: String
email: String
active: Boolean!
verified: Boolean!
canExpire: Boolean!
expirationTime: Timestamp
roles: [Role]
}
type Role {
name: String
active: Boolean!
description: String
members: [User]
functions: [Function]
}
type Function {
name: String
active: Boolean!
description: String
roles: [Role]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment