Created the project.ts validation
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import Joi from "joi";
|
||||
|
||||
export const projectCreationValidation = Joi.object({
|
||||
name: Joi.string().alphanum().min(3).max(15).required()
|
||||
});
|
||||
Reference in New Issue
Block a user