refactor: remove remaining user.startTime and user.endTime usages (#27092)

Follow-up to #27085 - removes the remaining code references to the
deprecated user.startTime and user.endTime columns that were missed
in the initial PR.

Changes:
- Remove startTime/endTime from availabilityUserSelect in prisma selects
- Remove startTime/endTime from GetUserAvailabilityInitialData type
- Remove startTime/endTime from defaultEvents user mock object

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Alex van AndelandDevin AI authored and GitHub committed 2026-01-22 11:29:41 -03:00
1 parent c5fbafd9fb
commit a823bd84a1
3 files changed
-6

No files matched your search

@@ -114,8 +114,6 @@ export type GetUserAvailabilityInitialData = {
id: number;
email: string;
bufferTime: number;
startTime: number;
endTime: number;
timeZone: string;
availability: Availability[];
timeFormat: number | null;
@@ -39,8 +39,6 @@ const user: User & { credentials: CredentialPayload[] } = {
availability: [],
id: 0,
uuid: "00000000-0000-0000-0000-000000000000",
startTime: 0,
endTime: 0,
allSelectedCalendars: [],
userLevelSelectedCalendars: [],
schedules: [],
-2
View File
@@ -6,9 +6,7 @@ export const availabilityUserSelect = {
timeZone: true,
email: true,
bufferTime: true,
startTime: true,
username: true,
endTime: true,
timeFormat: true,
defaultScheduleId: true,
isPlatformManaged: true,