import gql from 'graphql-tag' ; import { ApolloRequest } from '@medium-stories/common' ; export const loginRequest = { keys : [ 'login' ] , query : gql `
    query($username: String!, $password: String!) {
      login(username: $username, password: $password) {
        expiresIn
        accessToken
        id
      }
    }
  ` } ; export const logoutRequest = { keys : [ 'logout' ] , query : gql `
    query {
      logout
    }
  ` } ;