No description
Find a file
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
.cursor/rules Phase 1: Add pgqueuer infrastructure 2025-12-21 22:37:04 +01:00
.githooks fix pre-commit hook and code quality fixes 2025-12-21 22:14:48 +01:00
backend Fix: Update permission names, models and constants 2025-12-22 20:28:21 +01:00
frontend Phase 7: Final cleanup - Remove deprecated booking/appointment code 2025-12-22 20:18:33 +01:00
scripts Phase 0.3: Update E2E tests for cleanup 2025-12-22 18:13:24 +01:00
shared Fix: Update permission names, models and constants 2025-12-22 20:28:21 +01:00
.env.example tests passing 2025-12-18 23:33:32 +01:00
.envrc seed user 2025-12-18 22:42:32 +01:00
.gitignore Add Vitest coverage for frontend tests 2025-12-21 22:00:47 +01:00
.pre-commit-config.yaml code quality in place 2025-12-21 22:12:43 +01:00
docker-compose.yml tests passing 2025-12-18 22:08:31 +01:00
Makefile Phase 1: Add pgqueuer infrastructure 2025-12-21 22:37:04 +01:00