Skip to content

Commit

Permalink
feat: add developerMode validation to prefab schema (#459)
Browse files Browse the repository at this point in the history
Co-authored-by: Emiel Wit <[email protected]>
  • Loading branch information
emielwit and emielwit authored Nov 20, 2023
1 parent f6114e5 commit 132cd88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/validations/prefab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 132cd88

Please sign in to comment.