fix(F-07): add crop/color fields to updateItem service type

The updateItem function's TypeScript type was missing dominantColor,
cropZoom, cropX, and cropY fields, causing crop settings to silently
fail to save despite the Zod schema and DB schema supporting them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
makiolajandClaude Opus 4.6 committed 2026-04-12 22:33:28 +02:00
1 parent ce48121b2b
commit 581872b534
1 file changed
+4
+4
View File
@@ -154,6 +154,10 @@ export async function updateItem(
globalItemId: number;
purchasePriceCents: number;
brand: string;
dominantColor: string | null;
cropZoom: number | null;
cropX: number | null;
cropY: number | null;
}>,
) {
// Check if item exists and belongs to user