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 = {
3939 bookmarks : Joi . array ( ) . items ( Joi . object ( ) . keys ( {
4040 title : Joi . string ( ) ,
4141 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 ( ) ,
4246 } ) ) . optional ( ) . allow ( null ) ,
4347 estimatedPrice : Joi . number ( ) . precision ( 2 ) . positive ( ) . optional ( )
4448 . allow ( null ) ,
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ const updateProjectValdiations = {
5858 bookmarks : Joi . array ( ) . items ( Joi . object ( ) . keys ( {
5959 title : Joi . string ( ) ,
6060 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 ( ) ,
6165 } ) ) . optional ( ) . allow ( null ) ,
6266 type : Joi . string ( ) . max ( 45 ) ,
6367 details : Joi . any ( ) ,
You can’t perform that action at this time.
0 commit comments