chore: Start with uppercase letter for grahpQL type names
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { GraphQLObjectType, GraphQLString } from 'graphql';
|
||||
|
||||
const authLinkType = new GraphQLObjectType({
|
||||
name: 'authLink',
|
||||
name: 'AuthLink',
|
||||
fields: {
|
||||
url: { type: GraphQLString }
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { GraphQLObjectType, GraphQLString, GraphQLList, GraphQLInt } from 'graphql';
|
||||
|
||||
const authenticationStepType = new GraphQLObjectType({
|
||||
name: 'authenticationStep',
|
||||
name: 'AuthenticationStep',
|
||||
fields: {
|
||||
step: { type: GraphQLInt },
|
||||
type: { type: GraphQLString },
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { GraphQLString, GraphQLObjectType } from 'graphql';
|
||||
|
||||
const connectionDataType = new GraphQLObjectType({
|
||||
name: 'connectionData',
|
||||
name: 'ConnectionData',
|
||||
fields: {
|
||||
screenName: { type: GraphQLString },
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@ import { GraphQLObjectType, GraphQLString, GraphQLBoolean } from 'graphql';
|
||||
import connectionDataType from './connection-data';
|
||||
|
||||
const connectionType = new GraphQLObjectType({
|
||||
name: 'connection',
|
||||
name: 'Connection',
|
||||
fields: () => {
|
||||
const appType = require('./app').default;
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { GraphQLObjectType, GraphQLString, GraphQLBoolean} from 'graphql';
|
||||
|
||||
const fieldType = new GraphQLObjectType({
|
||||
name: 'field',
|
||||
name: 'Field',
|
||||
fields: {
|
||||
key: { type: GraphQLString },
|
||||
label: { type: GraphQLString },
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { GraphQLString, GraphQLInputObjectType } from 'graphql';
|
||||
|
||||
const twitterCredentialInputType = new GraphQLInputObjectType({
|
||||
name: 'twitterCredentialInput',
|
||||
name: 'TwitterCredentialInput',
|
||||
fields: {
|
||||
consumerKey: { type: GraphQLString },
|
||||
consumerSecret: { type: GraphQLString },
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { GraphQLString, GraphQLObjectType } from 'graphql';
|
||||
|
||||
const twitterCredentialInputType = new GraphQLObjectType({
|
||||
name: 'twitterCredential',
|
||||
name: 'TwitterCredential',
|
||||
fields: {
|
||||
consumerKey: { type: GraphQLString },
|
||||
consumerSecret: { type: GraphQLString },
|
||||
|
Reference in New Issue
Block a user