iptv-database/scripts/db/schemes/languages.js

9 lines
146 B
JavaScript
Raw Normal View History

2022-02-11 21:55:50 -05:00
const Joi = require('joi')
module.exports = {
code: Joi.string()
.regex(/^[a-z]{3}$/)
.required(),
name: Joi.string().required()
}