Files
cal.diy/packages/app-store
devin-ai-integration[bot]andmorgan@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-02-04 20:45:44 +00:00
2024-09-21 02:10:12 +00:00
2025-03-05 14:58:02 -03:00
2024-09-21 02:10:12 +00:00
2025-02-27 03:58:17 +00:00
2025-01-10 14:47:18 +00:00
2025-04-16 14:27:53 +00:00
2024-09-21 02:10:12 +00:00
2025-02-19 18:20:47 +05:30
2024-09-21 02:10:12 +00:00
2025-05-22 09:18:45 -07:00
2025-03-20 21:30:51 -03:00
2023-11-22 12:19:30 -07:00