This commit is contained in:
@@ -6,5 +6,6 @@ export const createProductSchema = z
|
||||
.object({
|
||||
name: z.string().trim().min(1).max(255),
|
||||
categoryId: identifier,
|
||||
tags: z.array(z.string().trim().min(1).max(100)).max(50).optional(),
|
||||
})
|
||||
.strict();
|
||||
Reference in New Issue
Block a user