Migrate monorepo to Zod 4

This commit is contained in:
Mohamed Boudra
2026-06-18 15:02:42 +08:00
committed by GitHub
parent de84c8f179
commit df18bbc43a
34 changed files with 5233 additions and 4969 deletions
@@ -10,11 +10,11 @@ import {
const ScheduleCreateTargetSchema = z.discriminatedUnion("type", [
z.object({
type: z.literal("self"),
agentId: z.string().uuid(),
agentId: z.guid(),
}),
z.object({
type: z.literal("agent"),
agentId: z.string().uuid(),
agentId: z.guid(),
}),
z.object({
type: z.literal("new-agent"),