- Added actions for creating, updating, deleting, force deleting, and restoring recipes. - Introduced input classes for each action to handle data validation and transfer. - Implemented DTOs for recipes to facilitate data transfer between layers. - Updated RecipeController to utilize new actions and input classes. - Enhanced recipe model to manage picture URLs and storage. - Updated frontend components to handle new data structures and display images correctly.
16 lines
302 B
PHP
16 lines
302 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Cqs\Actions\Recipes\Restore;
|
|
|
|
use App\Contracts\ActionInput;
|
|
use Domain\Models\ValueObjects\Entities\RecipeId;
|
|
|
|
final readonly class RestoreRecipeInput implements ActionInput
|
|
{
|
|
public function __construct(
|
|
public RecipeId $id,
|
|
) {
|
|
}
|
|
}
|