refactor: add formattedData in IConnection references

This commit is contained in:
Ali BARIN
2022-03-04 20:02:40 +01:00
committed by Ömer Faruk Aydın
parent 719a948134
commit 6a8ec97c31
9 changed files with 22 additions and 21 deletions

View File

@@ -2,11 +2,11 @@ import { gql } from '@apollo/client';
export const CREATE_CONNECTION = gql`
mutation CreateConnection($key: AvailableAppsEnumType!, $data: JSONObject!) {
createConnection(key: $key, data: $data) {
createConnection(key: $key, formattedData: $data) {
id
key
verified
data {
formattedData {
screenName
}
app {

View File

@@ -6,7 +6,7 @@ export const UPDATE_CONNECTION = gql`
id
key
verified
data {
formattedData {
screenName
}
}

View File

@@ -5,7 +5,7 @@ export const VERIFY_CONNECTION = gql`
verifyConnection(id: $id) {
id
verified
data {
formattedData {
screenName
}
}

View File

@@ -8,7 +8,7 @@ export const GET_APP_CONNECTIONS = gql`
id
key
verified
data {
formattedData {
screenName
}
createdAt