min 24 length
This commit is contained in:
parent
0e6f0bcf88
commit
855ac0c5a5
@ -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({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user