Adding Rules to Event input types

This commit is contained in:
Nikola Bjelo committed 2018-11-04 16:02:31 +01:00
1 parent 3a46009042
commit 100119a75b
1 file changed
+2
+2
View File
@@ -8,6 +8,7 @@ import InputFormulaType from './Formula';
import InputPlotterType from './Plotter';
import InputPrizeType from './Prize';
import InputParticipantType from './Participant';
import InputRuleType from './Rule';
const Type = new GraphQLInputObjectType({
name: 'EventInput',
@@ -23,6 +24,7 @@ const Type = new GraphQLInputObjectType({
plotter: { type: InputPlotterType },
prizes: { type: new GraphQLList(InputPrizeType) },
participants: { type: new GraphQLList(InputParticipantType) },
rules: { type: new GraphQLList(InputRuleType) },
}),
});