Skip to content

Instantly share code, notes, and snippets.

@bogoslavskiy
Created March 5, 2020 18:42
Show Gist options
  • Save bogoslavskiy/ba45d3c8575569d53629cbc9c7f128a0 to your computer and use it in GitHub Desktop.
Save bogoslavskiy/ba45d3c8575569d53629cbc9c7f128a0 to your computer and use it in GitHub Desktop.
import { gql } from '@apollo/client';
export const RegisterDeviceMutation = gql`
mutation RegisterDevice($input: DeviceRegisterInput!) {
device {
register(input: $input)
}
}
`;
export const UnregisterDeviceMutation = gql`
mutation UnregisterDevice($token: NEString!) {
device {
unregister(token: $token)
}
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment