chore: add missing validation
This commit is contained in:
parent
9847fdb70c
commit
0d0c4c8469
@ -7,10 +7,10 @@ export const PageUpdateInput = z
|
|||||||
title: z.string().min(3).optional().openapi({
|
title: z.string().min(3).optional().openapi({
|
||||||
example: 'My page',
|
example: 'My page',
|
||||||
}),
|
}),
|
||||||
description: z.string().optional().openapi({
|
description: z.string().nullable().optional().openapi({
|
||||||
example: '',
|
example: '',
|
||||||
}),
|
}),
|
||||||
icon: z.string().optional().openapi({
|
icon: z.string().optional().nullable().openapi({
|
||||||
example: 'base64...',
|
example: 'base64...',
|
||||||
}),
|
}),
|
||||||
changelogIds: z.array(z.string().uuid()).optional(),
|
changelogIds: z.array(z.string().uuid()).optional(),
|
||||||
|
Loading…
Reference in New Issue
Block a user