Created the project.ts validation

This commit is contained in:
2023-01-22 01:04:42 +01:00
parent 122b14d748
commit 72cd42dc09

View File

@ -0,0 +1,5 @@
import Joi from "joi";
export const projectCreationValidation = Joi.object({
name: Joi.string().alphanum().min(3).max(15).required()
});