chore: Use arguments or properties instead of fields

This commit is contained in:
Faruk AYDIN
2021-10-26 23:35:01 +02:00
committed by Ali BARIN
parent 561f539123
commit 65a41ff492
8 changed files with 90 additions and 90 deletions

View File

@@ -6,17 +6,17 @@ const authenticationStepType = new GraphQLObjectType({
step: { type: GraphQLInt },
type: { type: GraphQLString },
name: { type: GraphQLString },
fields: {
arguments: {
type: GraphQLList(
new GraphQLObjectType({
name: 'AuthenticationStepFields',
name: 'AuthenticationStepArgument',
fields: {
name: { type: GraphQLString },
value: { type: GraphQLString },
fields: {
properties: {
type: GraphQLList(
new GraphQLObjectType({
name: 'TwitterAuthenticationStepFields',
name: 'AuthenticationStepProperty',
fields: {
name: { type: GraphQLString },
value: { type: GraphQLString }

View File

@@ -6,17 +6,17 @@ const reconnectionStepType = new GraphQLObjectType({
step: { type: GraphQLInt },
type: { type: GraphQLString },
name: { type: GraphQLString },
fields: {
arguments: {
type: GraphQLList(
new GraphQLObjectType({
name: 'ReconnectionStepFields',
name: 'ReconnectionStepArgument',
fields: {
name: { type: GraphQLString },
value: { type: GraphQLString },
fields: {
properties: {
type: GraphQLList(
new GraphQLObjectType({
name: 'TwitterReconnectionStepFields',
name: 'ReconnectionStepProperty',
fields: {
name: { type: GraphQLString },
value: { type: GraphQLString }