Guest User

Untitled

a guest
Dec 27th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import { GraphQLInputObjectType, GraphQLString } from "graphql";
  2.  
  3. // User input is getting input from user
  4. const UserInput = new GraphQLInputObjectType({
  5. name: "UserInputLogin",
  6. fields: {
  7. username: { type: GraphQLString },
  8. password: { type: GraphQLString },
  9. },
  10. });
  11.  
  12. export const userLoginSchema = {
  13. UserInput,
  14. };
Add Comment
Please, Sign In to add comment