chore: Use integer for IDs of resources
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
a58411ee99
commit
3f2f1212c9
@@ -1,7 +1,7 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_AUTH_DATA = gql`
|
||||
mutation createAuthData($id: String!) {
|
||||
mutation createAuthData($id: Int!) {
|
||||
createAuthData(id: $id) {
|
||||
url
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const DELETE_CONNECTION = gql`
|
||||
mutation DeleteConnection($id: String!) {
|
||||
mutation DeleteConnection($id: Int!) {
|
||||
deleteConnection(id: $id)
|
||||
}
|
||||
`;
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const RESET_CONNECTION = gql`
|
||||
mutation ResetConnection($id: String!) {
|
||||
mutation ResetConnection($id: Int!) {
|
||||
resetConnection(id: $id) {
|
||||
id
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_CONNECTION = gql`
|
||||
mutation UpdateConnection($id: String!, $data: JSONObject!) {
|
||||
mutation UpdateConnection($id: Int!, $data: JSONObject!) {
|
||||
updateConnection(id: $id, data: $data) {
|
||||
id
|
||||
key
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const VERIFY_CONNECTION = gql`
|
||||
mutation VerifyConnection($id: String!) {
|
||||
mutation VerifyConnection($id: Int!) {
|
||||
verifyConnection(id: $id) {
|
||||
id
|
||||
verified
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const GET_FLOW = gql`
|
||||
query GetFlow($id: String!) {
|
||||
query GetFlow($id: Int!) {
|
||||
getFlow(id: $id) {
|
||||
id
|
||||
name
|
||||
@@ -14,4 +14,4 @@ export const GET_FLOW = gql`
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
`;
|
||||
|
@@ -1,10 +1,10 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const TEST_CONNECTION = gql`
|
||||
query TestConnection($id: String!) {
|
||||
query TestConnection($id: Int!) {
|
||||
testConnection(id: $id) {
|
||||
id
|
||||
verified
|
||||
}
|
||||
}
|
||||
`;
|
||||
`;
|
||||
|
Reference in New Issue
Block a user