chore: ajustar tipos e remover any em rotas e tickets

This commit is contained in:
Esdras Renan 2025-11-14 14:41:17 -03:00
parent 50a80f5244
commit 72b25fafab
6 changed files with 140 additions and 24 deletions

View file

@ -165,6 +165,7 @@ export const ticketSchema = z.object({
dueAt: z.coerce.date().nullable(),
firstResponseAt: z.coerce.date().nullable(),
resolvedAt: z.coerce.date().nullable(),
closedAt: z.coerce.date().nullable().optional(),
updatedAt: z.coerce.date(),
createdAt: z.coerce.date(),
tags: z.array(z.string()).default([]),