min 24 length

This commit is contained in:
DaKheera47 2026-02-07 14:37:49 +00:00
parent 0e6f0bcf88
commit 855ac0c5a5

View File

@ -11,7 +11,7 @@ export type FilterKeys<T, Condition> = {
export const idSchema = z
.string()
.cuid2()
.length(24)
.min(24)
.describe("Unique identifier for the item (CUID2 format)");
export const itemSchema = z.object({