From ad664812be6d46f855f38e78a39acda42c8d37b6 Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 21 Apr 2023 10:11:13 +0200 Subject: [PATCH] missing styles in the config validation --- backend/src/api/schemas/config-schema.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/backend/src/api/schemas/config-schema.ts b/backend/src/api/schemas/config-schema.ts index 3a8b8733b..3863fe613 100644 --- a/backend/src/api/schemas/config-schema.ts +++ b/backend/src/api/schemas/config-schema.ts @@ -62,7 +62,15 @@ const CONFIG_SCHEMA = joi.object({ keymapMode: joi.string().valid("off", "static", "react", "next"), keymapStyle: joi .string() - .valid("staggered", "alice", "matrix", "split", "split_matrix"), + .valid( + "staggered", + "alice", + "matrix", + "split", + "split_matrix", + "steno", + "steno_matrix" + ), keymapLegendStyle: joi .string() .valid("lowercase", "uppercase", "blank", "dynamic"),