Zod 4 마이그레이션

This commit is contained in:
static
2025-12-25 22:53:51 +09:00
parent 6d95059450
commit b92b4a0b1b
13 changed files with 655 additions and 853 deletions

View File

@@ -1,3 +1,3 @@
import { z } from "zod";
export const categoryIdSchema = z.union([z.literal("root"), z.number().int().positive()]);
export const categoryIdSchema = z.union([z.literal("root"), z.int().positive()]);