iptv-database/scripts/schemes/languages.js

9 lines
138 B
JavaScript
Raw Normal View History

2023-10-06 22:14:21 -04:00
const Joi = require('joi')
module.exports = {
code: Joi.string()
.regex(/^[a-z]{3}$/)
.required(),
name: Joi.string().required()
}