
Benny JooandDevin AI
fc0a2b5a37
refactor: Remove trpc/server dependency from @calcom/atoms (#26717)
* mv useTeamMembersWithSegment
* remove
* fix ts error
* remove
* remove
* remove
* biome rule
* wip
* refactor: remove remaining @calcom/trpc/server imports from atoms
- Create local types for schedule handlers (CreateScheduleHandlerReturn, DuplicateScheduleHandlerReturn, GetAvailabilityListHandlerReturn, CreateScheduleInput)
- Create local GetAvailableSlotsResponse type for slots hook
- Update imports in useAtomCreateSchedule, useAtomDuplicateSchedule, useAtomGetAllSchedules, and useAvailableSlots
Co-Authored-By: benny@cal.com <sldisek783@gmail.com>
* fix
* fix: add userId to Schedule type and create ScheduleForList type
- Schedule type now includes userId for create/duplicate handlers
- Created ScheduleForList type for list handler (uses select without userId)
Co-Authored-By: benny@cal.com <sldisek783@gmail.com>
* fix
* fix
* fix
* fix
* fix: correct fromUser/toUser types in GetAvailableSlotsResponse
- fromUser: { id, displayName } (matches IFromUser)
- toUser: { id, username, displayName } (matches IToUser)
Co-Authored-By: benny@cal.com <sldisek783@gmail.com>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-01-12 07:06:22 -03:00
..
2026-01-10 12:55:39 +00:00
2026-01-10 12:55:39 +00:00
2026-01-08 16:59:11 +09:00
2026-01-12 03:48:27 +00:00
2026-01-09 10:42:23 +00:00
2026-01-09 04:32:42 +00:00
2026-01-11 09:01:28 +00:00
2026-01-02 12:47:00 +00:00
2026-01-02 12:47:00 +00:00
2025-12-18 19:57:21 +00:00
2026-01-12 07:06:22 -03:00
2024-10-31 14:57:07 +00:00
2025-10-29 15:31:02 +00:00
2025-05-09 19:44:48 +00:00
2023-11-06 13:30:37 +05:30
2025-05-06 15:19:47 +00:00
2025-12-18 19:57:21 +00:00
2025-11-20 18:02:18 +02:00
2025-12-22 12:23:00 -03:00
2025-11-06 12:00:31 +00:00
2025-09-11 15:27:50 +01:00
2026-01-02 12:47:00 +00:00
2026-01-05 12:53:51 -03:00
2026-01-09 00:21:26 +00:00
2025-12-22 12:23:00 -03:00
2025-11-25 17:32:28 -03:00
2025-12-21 16:31:48 -03:00
2025-12-21 16:31:48 -03:00
2025-05-14 12:21:13 +00:00
2026-01-09 20:14:42 +00:00
2026-01-08 16:59:11 +09:00
2025-11-20 18:02:18 +02:00