Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. module.exports = `
  2. type User {
  3. id: ID!
  4. email: String!
  5. username: String!
  6. password: String!
  7. createAt: String!
  8. }
  9. type Query {
  10. hello : String!
  11. }
  12. type Mutation {
  13. createUser(email: String!, username: String!, password: String!): User!
  14. login(email: String!, password: String!): String!
  15. }
  16. `
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement