Changed limit and added scrollbars on details

This commit is contained in:
Alexis
2024-11-25 16:33:02 +01:00
parent 372c7a49e1
commit 863937bb16
5 changed files with 33 additions and 21 deletions

View File

@@ -20,9 +20,9 @@ export interface CalendarEvent {
*/
export const postEventBodySchema = z.object({
event: z.object({
title: z.string().max(240),
title: z.string().max(120),
description: z.string().max(1200).optional().nullable(),
location: z.string().max(240).optional().nullable(),
location: z.string().max(160).optional().nullable(),
startDate: dateSchema.required(),
endDate: dateSchema.optional().nullable(),
hidden: z.boolean().optional().nullable(),