chore: Add active column to flows

This commit is contained in:
Faruk AYDIN
2022-01-08 17:15:39 +03:00
committed by Ömer Faruk Aydın
parent 430f0d07e8
commit 02cfb979bc
3 changed files with 18 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import { GraphQLList, GraphQLObjectType, GraphQLString, GraphQLInt } from 'graphql';
import { GraphQLList, GraphQLObjectType, GraphQLString, GraphQLInt, GraphQLBoolean } from 'graphql';
import StepType from './step';
const flowType = new GraphQLObjectType({
@@ -6,6 +6,7 @@ const flowType = new GraphQLObjectType({
fields: {
id: { type: GraphQLInt },
name: { type: GraphQLString },
active: { type: GraphQLBoolean },
steps: {
type: GraphQLList(StepType),
}