diff --git a/packages/atoms/availabilitylist/AvailabilityList.tsx b/packages/atoms/availabilitylist/AvailabilityList.tsx index e1c59df488..85f75bb85a 100644 --- a/packages/atoms/availabilitylist/AvailabilityList.tsx +++ b/packages/atoms/availabilitylist/AvailabilityList.tsx @@ -4,8 +4,24 @@ import type { HttpError } from "@calcom/lib/http-error"; import { Clock } from "@calcom/ui/components/icon"; import { EmptyScreen } from "./EmptyScreen"; -import ScheduleListItem from "./ScheduleListItem"; -import type { Schedule } from ".prisma/client"; +import { Availability } from "./ScheduleListItem"; + +type Schedule = { + isDefault: boolean; + id: number; + name: string; + availability: { + id: number; + startTime: Date; + endTime: Date; + userId: number | null; + eventTypeId: number | null; + date: Date | null; + days: number[]; + scheduleId: number | null; + }[]; + timezone: string | null; +}; export function AvailabilityList({ schedules, @@ -39,7 +55,7 @@ export function AvailabilityList({