feat: Introduce InputCreator
This commit is contained in:
14
packages/web/src/graphql/mutations/create-credentials.ts
Normal file
14
packages/web/src/graphql/mutations/create-credentials.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_CREDENTIALS = gql`
|
||||
mutation CreateCredentials($displayName: String!, $key: String!, $data: twitterCredentialInput!) {
|
||||
createCredential(displayName: $displayName, key: $key, data: $data) {
|
||||
key
|
||||
displayName
|
||||
data {
|
||||
consumerKey
|
||||
consumerSecret
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
Reference in New Issue
Block a user