mirror of
https://github.com/iptv-org/database.git
synced 2024-11-21 18:42:31 -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()
|
name: Joi.string()
|
||||||
.regex(/^[\sa-z\u00C0-\u00FF0-9-čâộăšİ!:&.+'/»#%°$@?()¡]+$/i)
|
.regex(/^[\sa-z\u00C0-\u00FF0-9-čâộăšİ!:&.+'/»#%°$@?()¡]+$/i)
|
||||||
.required(),
|
.required(),
|
||||||
native_name: Joi.string()
|
alt_names: Joi.array().items(
|
||||||
.regex(/^[^",]+$/)
|
Joi.string()
|
||||||
.invalid(Joi.ref('name'))
|
.regex(/^[^",]+$/)
|
||||||
.allow(null),
|
.invalid(Joi.ref('name'))
|
||||||
|
),
|
||||||
network: Joi.string()
|
network: Joi.string()
|
||||||
.regex(/^[^",]+$/)
|
.regex(/^[^",]+$/)
|
||||||
.allow(null),
|
.allow(null),
|
||||||
|
|
Loading…
Reference in a new issue