1
0
Fork 0
mirror of https://github.com/iptv-org/database.git synced 2025-01-14 00:01:02 -05:00
iptv-database/scripts/db/schemes/languages.js
Aleksandr Statciuk 26d5bf0436 Init
2022-02-12 05:55:50 +03:00

8 lines
146 B
JavaScript

const Joi = require('joi')
module.exports = {
code: Joi.string()
.regex(/^[a-z]{3}$/)
.required(),
name: Joi.string().required()
}