arbret/backend/routes
counterweight 280c1e5687
Move slot expansion logic to ExchangeService
- Add get_available_slots() and _expand_availability_to_slots() to ExchangeService
- Update routes/exchange.py to use ExchangeService.get_available_slots()
- Remove all business logic from get_available_slots endpoint
- Add AvailabilityRepository to ExchangeService dependencies
- Add Availability and BookableSlot imports to ExchangeService
- Fix import path for validate_date_in_range (use date_validation module)
- Remove unused user_repo variable and import from routes/invites.py
- Fix mypy error in ValidationError by adding proper type annotation
2025-12-25 18:42:46 +01:00
..
__init__.py first implementation 2025-12-20 22:18:14 +01:00
audit.py Extract price logic to PriceService 2025-12-25 18:30:26 +01:00
auth.py Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
availability.py Extract availability logic to AvailabilityService 2025-12-25 18:31:13 +01:00
exchange.py Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
invites.py Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
meta.py Add bitcoin_transfer_methods to constants endpoint 2025-12-23 14:28:28 +01:00
profile.py Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00