Implement Recipe, Planning, Shopping, Pantry, and Admin domains

Outside-in TDD for all 5 remaining domains (128 tests total):
- Recipe: CRUD, ingredients autocomplete/patch, tags, categories (27 tests)
- Planning: week plans, slots, confirm, suggestions, variety score, cooking logs (24 tests)
- Shopping: generate from plan, publish, check/add/remove items (15 tests)
- Pantry: CRUD with expiry sorting (11 tests)
- Admin: user management, password reset, audit logging (13 tests)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-01 21:56:51 +02:00
parent 4f457303d8
commit 9ec703abcd
88 changed files with 5267 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
package com.recipeapp.recipe.dto;
import java.math.BigDecimal;
import java.util.List;
import java.util.UUID;
public record RecipeDetailResponse(
UUID id,
String name,
short serves,
short cookTimeMin,
String effort,
boolean isChildFriendly,
String heroImageUrl,
List<IngredientItem> ingredients,
List<StepItem> steps,
List<TagItem> tags
) {
public record IngredientItem(
UUID ingredientId,
String name,
CategoryRef category,
BigDecimal quantity,
String unit,
short sortOrder
) {}
public record CategoryRef(UUID id, String name) {}
public record StepItem(short stepNumber, String instruction) {}
public record TagItem(UUID id, String name, String tagType) {}
}