File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1659,6 +1659,9 @@ createChallenge.schema = {
16591659 then : Joi . string ( ) . required ( ) ,
16601660 otherwise : Joi . forbidden ( ) ,
16611661 } ) ,
1662+ fixedAmount : Joi . number ( ) . min ( 0 ) . optional ( ) . allow ( null ) ,
1663+ baseCoefficient : Joi . number ( ) . min ( 0 ) . max ( 1 ) . optional ( ) . allow ( null ) ,
1664+ incrementalCoefficient : Joi . number ( ) . min ( 0 ) . max ( 1 ) . optional ( ) . allow ( null ) ,
16621665 } )
16631666 ) ,
16641667 prizeSets : Joi . array ( ) . items (
@@ -2800,6 +2803,9 @@ updateChallenge.schema = {
28002803 then : Joi . string ( ) . required ( ) ,
28012804 otherwise : Joi . forbidden ( ) ,
28022805 } ) ,
2806+ fixedAmount : Joi . number ( ) . min ( 0 ) . optional ( ) . allow ( null ) ,
2807+ baseCoefficient : Joi . number ( ) . min ( 0 ) . max ( 1 ) . optional ( ) . allow ( null ) ,
2808+ incrementalCoefficient : Joi . number ( ) . min ( 0 ) . max ( 1 ) . optional ( ) . allow ( null ) ,
28032809 } )
28042810 )
28052811 . optional ( ) ,
You can’t perform that action at this time.
0 commit comments