arbret/backend/routes
counterweight fa07490b7b
Fix: Update permission names, models and constants
Permission renames:
- BOOK_APPOINTMENT -> CREATE_EXCHANGE
- VIEW_OWN_APPOINTMENTS -> VIEW_OWN_EXCHANGES
- CANCEL_OWN_APPOINTMENT -> CANCEL_OWN_EXCHANGE
- VIEW_ALL_APPOINTMENTS -> VIEW_ALL_EXCHANGES
- CANCEL_ANY_APPOINTMENT -> CANCEL_ANY_EXCHANGE
- Add COMPLETE_EXCHANGE permission

Model changes:
- Delete AppointmentStatus enum
- Delete Appointment model

Schema changes:
- Delete BookingRequest (was for old booking)
- Delete AppointmentResponse, PaginatedAppointments
- Delete BookableSlot, AvailableSlotsResponse (unused)

Constants changes:
- Remove appointmentStatuses from shared/constants.json
- Merge booking constants into exchange section
- Update shared_constants.py and validate_constants.py
2025-12-22 20:28:21 +01:00
..
__init__.py first implementation 2025-12-20 22:18:14 +01:00
audit.py Phase 0.1: Remove backend deprecated code 2025-12-22 18:07:14 +01:00
auth.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
availability.py refactor(backend): extract date range validation utilities 2025-12-22 00:02:41 +01:00
exchange.py Fix: Update permission names, models and constants 2025-12-22 20:28:21 +01:00
invites.py refactor(backend): standardize model-to-response conversion naming 2025-12-22 09:16:05 +01:00
meta.py refactor: derive Permission type from generated OpenAPI schema 2025-12-21 23:55:47 +01:00
profile.py refactor(auth): unify authorization patterns with MANAGE_OWN_PROFILE permission 2025-12-21 23:50:06 +01:00