Commit Graph

10 Commits

Author SHA1 Message Date
Felipe Cardoso
fe3f2b0894 Add API endpoint to retrieve all guest gift reservations
Introduced a new route to fetch all guest gift reservations, ensuring API compatibility with GiftPurchase objects. Refactored CRUD functions to optimize data fetching and avoid N+1 queries. Added validation to restrict access to non-public event-related reservations.
2025-03-19 10:16:55 +01:00
Felipe Cardoso
7d8eacad7a Update gift cancellation to include received status
All checks were successful
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Successful in 49s
Build and Push Docker Images / build-frontend (push) Has been skipped
Allow cancellation of gifts with a status of either RESERVED or RECEIVED. This ensures consistency in handling gift statuses during reservation management across the application.
2025-03-19 07:32:09 +01:00
Felipe Cardoso
1a18347e93 Fix several problems with gift registry api 2025-03-16 20:23:52 +01:00
Felipe Cardoso
54fbed2816 Fix crud query for guests reservations 2025-03-16 20:13:51 +01:00
Felipe Cardoso
88c9e634de Add quantity in reserve_gift_item endpoint 2025-03-16 16:33:17 +01:00
Felipe Cardoso
29ba036094 Add operation ids for gift route 2025-03-16 15:45:09 +01:00
Felipe Cardoso
19f3534f22 Additional fixes for gift models 2025-03-16 15:33:17 +01:00
Felipe Cardoso
b5f1c7ddcb Fixe (partially) gift tests and api 2025-03-16 15:07:31 +01:00
Felipe Cardoso
4ef202cc5a Big refactor of gift categories model
All checks were successful
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Successful in 52s
Build and Push Docker Images / build-frontend (push) Has been skipped
2025-03-16 14:51:04 +01:00
Felipe Cardoso
ed017a42ed Add for gifts: schema, crud, route, tests
All checks were successful
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Successful in 51s
Build and Push Docker Images / build-frontend (push) Has been skipped
2025-03-16 14:23:28 +01:00