feat: implement alias strategy for receipt import with user-scoped and global fallback, enhance validation and normalization, and update UI components
Test Suite / test (24.15.0) (push) Has been cancelled

This commit is contained in:
Nils-Johan Gynther
2026-05-09 23:41:42 +02:00
parent b342de906e
commit 65137b41fb
17 changed files with 388 additions and 67 deletions
@@ -60,6 +60,10 @@ export class SaveReceiptItemDto {
@IsBoolean()
learnAlias?: boolean;
@IsOptional()
@IsBoolean()
learnAliasGlobally?: boolean;
@IsOptional()
@IsBoolean()
learnUnitMapping?: boolean;
@@ -70,8 +74,4 @@ export class SaveReceiptDto {
@ValidateNested({ each: true })
@Type(() => SaveReceiptItemDto)
items!: SaveReceiptItemDto[];
@IsOptional()
@IsBoolean()
isAdminLearning?: boolean;
}