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
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
@@ -4,6 +4,7 @@ export const GET_APP = gql`
|
||||
query GetApp($name: String!) {
|
||||
getApp (name: $name) {
|
||||
name
|
||||
key
|
||||
iconUrl
|
||||
docUrl
|
||||
primaryColor
|
||||
@@ -13,7 +14,7 @@ export const GET_APP = gql`
|
||||
type
|
||||
required
|
||||
readOnly
|
||||
placeholder
|
||||
value
|
||||
description
|
||||
docUrl
|
||||
clickToCopy
|
||||
|
Reference in New Issue
Block a user