feat: reorder inventory images atomically
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-11 00:13:44 -04:00
parent 72e9a79b67
commit 0e81fc4022
15 changed files with 275 additions and 22 deletions
+4 -1
View File
@@ -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();