Advertisement
Guest User

Untitled

a guest
Apr 8th, 2020
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import gql from 'graphql-tag';
  2.  
  3. export const EDIT_ACCOUNT = gql`
  4.   mutation editAccount($username: String, $position: String, $avatar: String, $email: String) {
  5.     editAccount(username: $username, position: $position, avatar: $avatar, email: $email) {
  6.       id
  7.       username
  8.       email
  9.       username
  10.       avatar
  11.       position
  12.     }
  13.   }
  14. `;
  15.  
  16. export const ACTIVE_MAILER = gql`
  17.   mutation activeMailer($mailer: Boolean) {
  18.     activeMailer(mailer: $mailer) {
  19.       id
  20.       mailer
  21.     }
  22.   }
  23. `;
  24.  
  25.  
  26. export const CREATE_PRESIGNED_URL = gql`
  27.   mutation createPresignedPutUrl($filePath: String!) {
  28.     createPresignedPutUrl(filePath: $filePath)
  29.   }
  30. `;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement