mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
Update utils.js (#1079)
Adding "bsd" to the set of valid computer strings because in my case "linux" would be a lie. :)
This commit is contained in:
parent
5fdce356bc
commit
06741bb2fb
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ module.exports.Schema = Joi.object({
|
||||||
.required(),
|
.required(),
|
||||||
twitter: Joi.string().pattern(new RegExp(/^@?(\w){1,15}$/)),
|
twitter: Joi.string().pattern(new RegExp(/^@?(\w){1,15}$/)),
|
||||||
emoji: Joi.string().allow(''),
|
emoji: Joi.string().allow(''),
|
||||||
computer: Joi.string().valid('apple', 'windows', 'linux'),
|
computer: Joi.string().valid('apple', 'windows', 'linux', 'bsd'),
|
||||||
phone: Joi.string().valid('iphone', 'android', 'windowsphone','flipphone'),
|
phone: Joi.string().valid('iphone', 'android', 'windowsphone','flipphone'),
|
||||||
tags: Joi.array().items(Joi.string()),
|
tags: Joi.array().items(Joi.string()),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue