feat(flyer-import): add bundle support and new product fields
Test Suite / backend-pr-quick (push) Has been skipped
Test Suite / quick-import-pr-quick (push) Has been skipped
Test Suite / backend-full (push) Successful in 3m43s
Test Suite / flutter-quality (push) Failing after 1m51s

- Add bundle support with isBundle, bundleWeight, and bundleItems fields
- Add brand, weight, and comparisonUnit fields to FlyerItem model
- Update AI flyer parser to extract bundle information
- Add sanitization for bundle items in FlyerNormalizerService
- Update DTOs and interfaces to include new fields
- Add migration for new database fields
- Update tests to cover bundle item handling
This commit is contained in:
Nils-Johan Gynther
2026-05-21 13:26:50 +02:00
parent 7bbb5a63b5
commit 67c3170067
7 changed files with 239 additions and 72 deletions
@@ -0,0 +1,7 @@
-- AlterTable
ALTER TABLE `FlyerItem`
ADD COLUMN `brand` VARCHAR(191) NULL,
ADD COLUMN `weight` VARCHAR(191) NULL,
ADD COLUMN `bundleWeight` VARCHAR(191) NULL,
ADD COLUMN `isBundle` BOOLEAN NOT NULL DEFAULT false,
ADD COLUMN `bundleItems` JSON NULL;