From d6efce9ee3c462f52d615b7680960c0292030312 Mon Sep 17 00:00:00 2001 From: Emiel Wit Date: Mon, 20 Nov 2023 14:45:13 +0100 Subject: [PATCH] feat: add developerMode validation to prefab schema --- src/validations/prefab.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/validations/prefab.ts b/src/validations/prefab.ts index 50104b53..2e356dde 100644 --- a/src/validations/prefab.ts +++ b/src/validations/prefab.ts @@ -33,6 +33,7 @@ const schemaProvider = ( prefabType === 'partial' ? Joi.forbidden() : Joi.string().valid('page'), description: Joi.string(), isPublicPage: Joi.boolean(), + developerMode: Joi.string().valid('basic', 'advanced'), detail: Joi.string(), previewImage: Joi.string(), previewUrl: Joi.string(),