chore: Rename createAuthLink as createAuthData
This commit is contained in:
9
packages/web/src/graphql/mutations/create-auth-data.ts
Normal file
9
packages/web/src/graphql/mutations/create-auth-data.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_AUTH_DATA = gql`
|
||||
mutation createAuthData($id: String!) {
|
||||
createAuthData(id: $id) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`;
|
@@ -1,9 +0,0 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_AUTH_LINK = gql`
|
||||
mutation CreateAuthLink($id: String!) {
|
||||
createAuthLink(id: $id) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`;
|
@@ -3,7 +3,7 @@ import { UPDATE_CONNECTION } from './update-connection';
|
||||
import { VERIFY_CONNECTION } from './verify-connection';
|
||||
import { RESET_CONNECTION } from './reset-connection';
|
||||
import { DELETE_CONNECTION } from './delete-connection';
|
||||
import { CREATE_AUTH_LINK } from './create-auth-link';
|
||||
import { CREATE_AUTH_DATA } from './create-auth-data';
|
||||
|
||||
type Mutations = {
|
||||
[key: string]: any,
|
||||
@@ -15,7 +15,7 @@ const mutations: Mutations = {
|
||||
verifyConnection: VERIFY_CONNECTION,
|
||||
resetConnection: RESET_CONNECTION,
|
||||
deleteConnection: DELETE_CONNECTION,
|
||||
createAuthLink: CREATE_AUTH_LINK,
|
||||
createAuthData: CREATE_AUTH_DATA,
|
||||
};
|
||||
|
||||
export default mutations;
|
||||
|
Reference in New Issue
Block a user