mirror of
https://github.com/iptv-org/database.git
synced 2024-11-21 10:32:32 -05:00
Update channels.js
This commit is contained in:
parent
3ba8205ce5
commit
03d0a54dae
1 changed files with 5 additions and 4 deletions
|
@ -8,10 +8,11 @@ module.exports = {
|
|||
name: Joi.string()
|
||||
.regex(/^[\sa-z\u00C0-\u00FF0-9-čâộăšİ!:&.+'/»#%°$@?()¡]+$/i)
|
||||
.required(),
|
||||
native_name: Joi.string()
|
||||
.regex(/^[^",]+$/)
|
||||
.invalid(Joi.ref('name'))
|
||||
.allow(null),
|
||||
alt_names: Joi.array().items(
|
||||
Joi.string()
|
||||
.regex(/^[^",]+$/)
|
||||
.invalid(Joi.ref('name'))
|
||||
),
|
||||
network: Joi.string()
|
||||
.regex(/^[^",]+$/)
|
||||
.allow(null),
|
||||
|
|
Loading…
Reference in a new issue