Add new DTOs for handling product and category data structures.
These DTOs facilitate data transfer and serialization for products and categories.
refactor(controller): update ProductController to use executor pattern
Refactor ProductController to utilize an executor for handling product creation,
updating, and deletion, improving code organization and maintainability.
refactor(controller): update RecipeController to use executor pattern
Refactor RecipeController to utilize an executor for handling recipe creation,
improving code organization and maintainability.
chore: remove MediaController
Remove MediaController as it is no longer needed in the application.
feat(request): enhance StoreProductRequest and UpdateProductRequest
Enhance StoreProductRequest and UpdateProductRequest to include methods for
transforming request data into input objects for actions.
chore: add ActionExecutorService for executing actions and queries
Introduce ActionExecutorService to handle the execution of actions and queries
with logging and transaction management.
chore(deps): update composer dependencies
Update composer dependencies to include webmozart/assert for improved type assertions.
- Added PublicS3Disk and PrivateS3Disk classes for S3 disk management.
- Updated ProductController and RecipeController to utilize PublicS3Disk for file uploads.
- Modified MediaController to redirect to S3 URLs.
- Enhanced migration script to support file migration to new S3 structure.
- Updated filesystem and storage service configurations for public/private S3 disks.
This update introduces new routes for duplicating, restoring, and force deleting products and recipes, enhancing the management capabilities in the application.
- Implemented Create and Edit pages for products with forms.
- Added validation and permissions handling for product actions.
- Introduced new product model and related types for better structure.
- Enhanced sidebar registry to remove auth dependency for link resolution.
- Updated routes to handle precognitive requests for product forms.