mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-11-02 03:37:59 +00:00
switched apollo boost to apollo client
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
export const REFRESH_TOKEN = gql`
|
||||
mutation UpdateToken($refreshToken: String!) {
|
||||
updateToken(refreshToken: $refreshToken) {
|
||||
access_token
|
||||
refresh_token
|
||||
expires_in
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const CREATE_LOCATION = gql`
|
||||
mutation CreateLocation(
|
||||
$locationType: String!
|
||||
@@ -67,7 +77,8 @@ export const UPDATE_EQUIPMENT_BULK = gql`
|
||||
export const FILE_UPLOAD = gql`
|
||||
mutation FileUpload($fileName: String, $file: Upload) {
|
||||
fileUpload(fileName: $fileName, file: $file) {
|
||||
success
|
||||
fileName
|
||||
baseUrl
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user