Adding Rules to Event input types
This commit is contained in:
1 parent
3a46009042
commit
100119a75b
1 file changed
+2
@@ -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) },
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user