Files
calendar/packages/features
devin-ai-integration[bot]GitHubDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>morgan@cal.com <morgan@cal.com>
758143ef70 refactor: convert EventTypeRepository to use dependency injection pattern (#22397)
- Add constructor with PrismaClient dependency injection
- Convert all 14 static methods to instance methods using this.prismaClient
- Update all usage sites to use two-step instantiation pattern:
  const eventTypeRepo = new EventTypeRepository(prisma); eventTypeRepo.method(...)
- Keep getSelectedCalendarsFromUser as static utility method
- Follow same pattern as UserRepository, TeamRepository, SelectedSlotsRepository, and BookingRepository
- Maintain all existing method signatures and functionality

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: morgan@cal.com <morgan@cal.com>
2025-07-11 10:39:22 +03:00
..
2025-05-01 07:05:12 +00:00
2022-07-28 13:58:26 -06:00
2025-06-28 14:30:54 +05:30
2025-07-07 10:20:24 +01:00
2022-07-28 13:58:26 -06:00
2025-01-18 16:21:12 -03:00
2025-07-04 10:49:06 -07:00
2025-04-23 15:09:25 +01:00
2025-07-07 10:20:24 +01:00
2022-07-28 13:58:26 -06:00