diff --git a/src/schemas/params.ts b/src/schemas/params.ts new file mode 100644 index 0000000..458ca45 --- /dev/null +++ b/src/schemas/params.ts @@ -0,0 +1,4 @@ +import Joi from "joi"; + +export const channelNameSchema = Joi.string().pattern(/^[0-9A-Za-z\-_]+$/); +export const counterNameSchema = Joi.string().pattern(/^[0-9A-Za-z\-]+$/); \ No newline at end of file