chore: add missing validation

This commit is contained in:
Lars Hampe 2024-11-12 23:07:19 +01:00
parent 9847fdb70c
commit 0d0c4c8469

View File

@ -7,10 +7,10 @@ export const PageUpdateInput = z
title: z.string().min(3).optional().openapi({
example: 'My page',
}),
description: z.string().optional().openapi({
description: z.string().nullable().optional().openapi({
example: '',
}),
icon: z.string().optional().openapi({
icon: z.string().optional().nullable().openapi({
example: 'base64...',
}),
changelogIds: z.array(z.string().uuid()).optional(),