refactor: upgrade to Zod 4

also updates Hono Zod related deps
This commit is contained in:
2025-12-19 05:39:26 -05:00
parent 734ce25aa2
commit 3a821a2c98
12 changed files with 58 additions and 64 deletions

View File

@@ -20,8 +20,8 @@ const UserSchema = z.object({
}),
statistics: z.object({
minutesWatched: z.number().openapi({ type: "integer", format: "int64" }),
episodesWatched: z.number().int(),
count: z.number().int(),
episodesWatched: z.int(),
count: z.int(),
meanScore: z.number().openapi({ type: "number", format: "float" }),
}),
});