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