File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ const createProjectValdiations = {
39
39
bookmarks : Joi . array ( ) . items ( Joi . object ( ) . keys ( {
40
40
title : Joi . string ( ) ,
41
41
address : Joi . string ( ) . regex ( REGEX . URL ) ,
42
+ createdAt : Joi . date ( ) ,
43
+ createdBy : Joi . number ( ) . integer ( ) . positive ( ) ,
44
+ updatedAt : Joi . date ( ) ,
45
+ updatedBy : Joi . number ( ) . integer ( ) . positive ( ) ,
42
46
} ) ) . optional ( ) . allow ( null ) ,
43
47
estimatedPrice : Joi . number ( ) . precision ( 2 ) . positive ( ) . optional ( )
44
48
. allow ( null ) ,
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ const updateProjectValdiations = {
58
58
bookmarks : Joi . array ( ) . items ( Joi . object ( ) . keys ( {
59
59
title : Joi . string ( ) ,
60
60
address : Joi . string ( ) . regex ( REGEX . URL ) ,
61
+ createdAt : Joi . date ( ) ,
62
+ createdBy : Joi . number ( ) . integer ( ) . positive ( ) ,
63
+ updatedAt : Joi . date ( ) ,
64
+ updatedBy : Joi . number ( ) . integer ( ) . positive ( ) ,
61
65
} ) ) . optional ( ) . allow ( null ) ,
62
66
type : Joi . string ( ) . max ( 45 ) ,
63
67
details : Joi . any ( ) ,
You can’t perform that action at this time.
0 commit comments