ldc-cocotte/domain/Models/ValueObjects
Jérémy Munsch 42bdae01cc
feat: implement pagination using Pagination value object
- Updated DataTableService to accept a Pagination object for pagination parameters.
- Refactored paginateQuery method to utilize pageSize and pageNumber from Pagination.

refactor: replace ActionExecutor with Executor in controller traits

- Updated ChangesModelOrder, TogglesModelStar, and TogglesModelStatus traits to use Executor interface instead of ActionExecutor.

feat: add PictureMetadata and Slug value objects

- Introduced PictureMetadata for managing image metadata with validation.
- Added Slug value object for slug generation and validation.

feat: update breadcrumbs to support RangeDto

- Modified breadcrumbs-bo.php to accept RangeDto in the edit route.

test: add tests for RangesController

- Added tests for accessing, creating, updating, and deleting ranges.
- Included tests for toggling range status.

test: add integration tests for range actions

- Created tests for CreateRange, DeleteRange, and UpdateRange actions.
- Validated input handling and database interactions.

test: add unit tests for range input classes

- Implemented tests for CreateRangeInput and UpdateRangeInput to validate input constraints.

test: add unit tests for value objects

- Added tests for PictureMetadata and Slug to ensure proper validation and instantiation.

test: add unit tests for RangeDto

- Created tests to verify RangeDto mapping from Range model.

test: add unit tests for RangePolicy

- Implemented tests for RangePolicy to validate permissions based on user roles.
2026-10-27 09:58:34 +01:00
..
Entities refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
AttachedFile.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
BasketProduct.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
Code.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
ContactFormData.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
CrmCustomer.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
CsvImportFile.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
DatePeriod.php refactor(slides): implement CQS actions, query, DTO, and DatePeriod VO for slides 2026-10-27 09:58:33 +01:00
DeliveryAddress.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
DiscountValue.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
EditablePickupExceptionForShop.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
Email.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
EmployeeImport.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
EmployeeUpsertData.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
ImportRowResult.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
IncoId.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
Matricule.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
NutritionalValues.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
OrderEmployee.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
OrderLine.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
OrderLineProduct.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
OrderReference.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
Pagination.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
PickupTimeSlot.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
PictureMetadata.php feat: implement pagination using Pagination value object 2026-10-27 09:58:34 +01:00
ProductPricing.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
ProductWeight.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
SeoMetadata.php refactor(pages): implement CQS action, query, DTO, and SeoMetadata VO for pages 2026-10-27 09:58:33 +01:00
SessionId.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
ShopPickupOverride.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
Slug.php feat: implement pagination using Pagination value object 2026-10-27 09:58:34 +01:00