mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-05 13:06:52 +08:00
removed requirement
This commit is contained in:
parent
71a929fbce
commit
b3f85e830d
1 changed files with 4 additions and 7 deletions
|
@ -42,13 +42,10 @@ const CONFIG_SCHEMA = joi.object({
|
|||
layout: joi.string(),
|
||||
funbox: joi.string(),
|
||||
confidenceMode: joi.string().valid("off", "on", "max"),
|
||||
indicateTypos: joi
|
||||
.alternatives()
|
||||
.try(
|
||||
joi.boolean(), //todo remove
|
||||
joi.string().valid("off", "below", "replace")
|
||||
)
|
||||
.required(),
|
||||
indicateTypos: joi.alternatives().try(
|
||||
joi.boolean(), //todo remove
|
||||
joi.string().valid("off", "below", "replace")
|
||||
),
|
||||
timerStyle: joi.string().valid("bar", "text", "mini"),
|
||||
colorfulMode: joi.boolean(),
|
||||
randomTheme: joi.string().valid("off", "on", "fav", "light", "dark"),
|
||||
|
|
Loading…
Add table
Reference in a new issue