Migrate workspace schemas to zod 4

This commit is contained in:
Mohamed Boudra
2026-06-08 13:59:44 +07:00
parent 99876d37f3
commit ed8a6fefad
60 changed files with 378 additions and 342 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ function parseSentFrame(
return z
.object({
type: z.literal("session"),
message: z.record(z.unknown()),
message: z.record(z.string(), z.unknown()),
})
.parse(JSON.parse(assertStr(data))).message;
}