Change map details params (#2192)

* HotFix showPoweredBy optional paramter

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>

* Add nullable option of showPoweredBy

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
This commit is contained in:
grégoire parant 2022-05-11 18:03:47 +02:00 committed by GitHub
parent 5016c85ca4
commit 36e74691cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ export const isMapDetailsData = z.object({
description: "The URL of the image to be used on the LoginScene", description: "The URL of the image to be used on the LoginScene",
example: "https://example.com/logo_login.png", example: "https://example.com/logo_login.png",
}), }),
showPoweredBy: extendApi(z.boolean(), { showPoweredBy: extendApi(z.optional(z.nullable(z.boolean())), {
description: "The URL of the image to be used on the name scene", description: "The URL of the image to be used on the name scene",
example: "https://example.com/logo_login.png", example: "https://example.com/logo_login.png",
}), }),