File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ const schema = {
2525 duration : Joi . number ( ) . integer ( ) . min ( 1 ) . optional ( ) ,
2626 startDate : Joi . date ( ) . required ( ) ,
2727 actualStartDate : Joi . date ( ) . allow ( null ) ,
28- endDate : Joi . date ( ) . min ( Joi . ref ( 'startDate' ) ) . allow ( null ) ,
29- completionDate : Joi . date ( ) . min ( Joi . ref ( 'startDate' ) ) . allow ( null ) ,
28+ endDate : Joi . date ( ) . allow ( null ) ,
29+ completionDate : Joi . date ( ) . allow ( null ) ,
3030 status : Joi . string ( ) . max ( 45 ) . optional ( ) ,
3131 type : Joi . string ( ) . max ( 45 ) . optional ( ) ,
3232 details : Joi . object ( ) ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const schema = {
2424 startDate : Joi . date ( ) . required ( ) ,
2525 actualStartDate : Joi . date ( ) . allow ( null ) ,
2626 endDate : Joi . date ( ) . min ( Joi . ref ( 'startDate' ) ) . allow ( null ) ,
27- completionDate : Joi . date ( ) . min ( Joi . ref ( 'startDate' ) ) . allow ( null ) ,
27+ completionDate : Joi . date ( ) . allow ( null ) ,
2828 status : Joi . string ( ) . max ( 45 ) . required ( ) ,
2929 type : Joi . string ( ) . max ( 45 ) . required ( ) ,
3030 details : Joi . object ( ) ,
You can’t perform that action at this time.
0 commit comments