Skip to content

Instantly share code, notes, and snippets.

@heymartinadams
Last active March 1, 2017 15:59
Show Gist options
  • Save heymartinadams/b9d48ed055ebe0b089f31e8715788ac4 to your computer and use it in GitHub Desktop.
Save heymartinadams/b9d48ed055ebe0b089f31e8715788ac4 to your computer and use it in GitHub Desktop.
type User {
id: ID!
name: String!
email: String!
password: String!
stripeId: String
paid: Boolean!
userToPurchase: [Purchase]
userToStripeToken: [StripeToken]
}
type StripeToken {
id: ID!
stripeToken: String!
stripeTokenToUser: [User]
}
type Purchase {
id: ID!
description: String!
amount: Int!
isPaid: Boolean!
purchaseToUser: [User]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment