feat: add app connections w/ testing and deleting functions

This commit is contained in:
Ali BARIN
2021-10-18 23:58:40 +02:00
parent 672cc4c60c
commit 2293c939e7
27 changed files with 349 additions and 34 deletions

View File

@@ -0,0 +1,17 @@
import { gql } from '@apollo/client';
export const GET_APP_CONNECTIONS = gql`
query GetAppConnections($key: String!) {
getApp(key: $key) {
key
connections {
id
key
verified
data {
screenName
}
}
}
}
`;

View File

@@ -32,6 +32,9 @@ export const GET_APP = gql`
}
}
}
connections {
id
}
}
}
`;

View File

@@ -19,6 +19,9 @@ export const GET_APPS = gql`
docUrl
clickToCopy
}
connections {
id
}
}
}
`;

View File

@@ -0,0 +1,7 @@
import { gql } from '@apollo/client';
export const TEST_CONNECTION = gql`
query TestConnection($id: String!) {
testConnection(id: $id)
}
`;