Add updateExisting option to furniture import
CI / check (push) Successful in 1m14s
CI / release (push) Skipped
CI / deploy (push) Successful in 2m15s

- Added updateExisting parameter to importSingleFurni and API routes
- When updateExisting=true, existing items are updated (catalog price/page) instead of failing
- Added catalogUpdated flag to ImportSingleResult
- Updates existing catalog entries (price, page) instead of skipping duplicates
This commit is contained in:
openhands committed 2026-08-14 18:35:00 +02:00
1 parent f89b8a6adf
commit 7ef5038a9e
3 files changed
+48 -15

No files matched your search

+1
View File
@@ -93,6 +93,7 @@ export interface ImportSingleResult {
ok: boolean;
itemId?: number;
catalogItemId?: number | null;
catalogUpdated?: boolean;
dimensions?: { x: number; y: number; z: number };
spriteCount?: number;
warnings: string[];