15 lines
297 B
TypeScript
15 lines
297 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const CREATE_CREDENTIAL = gql`
|
|
mutation CreateCredential($key: String!, $data: twitterCredentialInput!) {
|
|
createCredential(key: $key, data: $data) {
|
|
key
|
|
id
|
|
data {
|
|
consumerKey
|
|
consumerSecret
|
|
}
|
|
}
|
|
}
|
|
`;
|