feat: Introduce InputCreator

This commit is contained in:
Ali BARIN
2021-10-11 23:22:12 +02:00
parent 981ea6d163
commit f50c09ed37
13 changed files with 196 additions and 15 deletions

View 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
}
}
}
`;