This commit is contained in:
@@ -10,4 +10,7 @@ export const createInventoryImageSchema = z.object({
|
||||
altText: z.string().trim().max(1000).optional(),
|
||||
sortOrder: z.int().nonnegative().optional(),
|
||||
isPrimary: z.boolean().optional(),
|
||||
}).strict();
|
||||
}).strict();
|
||||
export const moveInventoryImageSchema = z.object({
|
||||
direction: z.enum(['up', 'down']),
|
||||
}).strict();
|
||||
|
||||
Reference in New Issue
Block a user