MCPcopy Create free account

hub / github.com/WebDevSimplified/calendly-clone / functions

Functions50 in github.com/WebDevSimplified/calendly-clone

↓ 42 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 8 callersFunctiontimeToInt
(time: string)
src/lib/utils.ts:8
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:44
↓ 2 callersFunctionformatEventDescription
(durationInMinutes: number)
src/lib/formatters.ts:1
↓ 2 callersFunctionformatTimezoneOffset
(timezone: string)
src/lib/formatters.ts:12
↓ 2 callersFunctiongetOAuthClient
(clerkUserId: string)
src/server/googleCalendar.ts:93
↓ 2 callersFunctiongetValidTimesFromSchedule
( timesInOrder: Date[], event: { clerkUserId: string; durationInMinutes: number } )
src/lib/getValidTimesFromSchedule.ts:21
↓ 1 callersFunctioncreateCalendarEvent
({ clerkUserId, guestName, guestEmail, startTime, guestNotes, durationInMinutes, eventName, }: {
src/server/googleCalendar.ts:43
↓ 1 callersFunctioncreateMeeting
( unsafeData: z.infer<typeof meetingActionSchema> )
src/server/actions/meetings.ts:11
↓ 1 callersFunctiondeleteEvent
( id: string )
src/server/actions/events.ts:50
↓ 1 callersFunctionformatDate
(date: Date)
src/lib/formatters.ts:25
↓ 1 callersFunctionformatDateTime
(date: Date)
src/lib/formatters.ts:42
↓ 1 callersFunctionformatTimeString
(date: Date)
src/lib/formatters.ts:33
↓ 1 callersFunctiongetAvailabilities
( groupedAvailabilities: Partial< Record< (typeof DAYS_OF_WEEK_IN_ORDER)[number], (typeof Sc
src/lib/getValidTimesFromSchedule.ts:73
↓ 1 callersFunctiongetCalendarEventTimes
( clerkUserId: string, { start, end }: { start: Date; end: Date } )
src/server/googleCalendar.ts:6
↓ 1 callersFunctiongetChildren
(copyState: CopyState)
src/components/CopyEventButton.tsx:54
↓ 1 callersFunctiongetCopyIcon
(copyState: CopyState)
src/components/CopyEventButton.tsx:43
↓ 1 callersFunctionsaveSchedule
( unsafeData: z.infer<typeof scheduleFormSchema> )
src/server/actions/schedule.ts:12
FunctionAlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/alert-dialog.tsx:63
FunctionAlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/alert-dialog.tsx:49
FunctionAuthLayout
({ children }: { children: ReactNode })
src/app/(auth)/layout.tsx:5
FunctionBookEventPage
({ params: { clerkUserId, eventId }, }: { params: { clerkUserId: string; eventId: string } })
src/app/(public)/book/[clerkUserId]/[eventId]/page.tsx:25
FunctionBookingPage
({ params: { clerkUserId }, }: { params: { clerkUserId: string } })
src/app/(public)/book/[clerkUserId]/page.tsx:18
FunctionCalendar
({ className, classNames, showOutsideDays = true, ...props }: CalendarProps)
src/components/ui/calendar.tsx:12
FunctionCopyEventButton
({ eventId, clerkUserId, ...buttonProps }: Omit<ButtonProps, "children" | "onClick"> & { eventId: stri
src/components/CopyEventButton.tsx:9
FunctionEditEventPage
({ params: { eventId }, }: { params: { eventId: string } })
src/app/(private)/events/[eventId]/edit/page.tsx:9
FunctionEventCard
({ id, isActive, name, description, durationInMinutes, clerkUserId, }: EventCardProps)
src/app/(private)/events/page.tsx:73
FunctionEventCard
({ id, name, description, clerkUserId, durationInMinutes, }: EventCardProps)
src/app/(public)/book/[clerkUserId]/page.tsx:59
FunctionEventForm
({ event, }: { event?: { id: string name: string description?: string durationInMinutes: n
src/components/forms/EventForm.tsx:35
FunctionEventsPage
()
src/app/(private)/events/page.tsx:20
FunctionFormField
({ ...props }: ControllerProps<TFieldValues, TName>)
src/components/ui/form.tsx:31
FunctionHomePage
()
src/app/page.tsx:6
FunctionLoading
()
src/app/(public)/book/[clerkUserId]/[eventId]/loading.tsx:3
FunctionMeetingForm
({ validTimes, eventId, clerkUserId, }: { validTimes: Date[] eventId: string clerkUserId: string }
src/components/forms/MeetingForm.tsx:41
FunctionNavLink
({ className, ...props }: ComponentProps<typeof Link>)
src/components/NavLink.tsx:8
FunctionNewEventPage
()
src/app/(private)/events/new/page.tsx:4
FunctionNoTimeSlots
({ event, calendarUser, }: { event: { name: string; description: string | null } calendarUser: { id: s
src/app/(public)/book/[clerkUserId]/[eventId]/page.tsx:74
FunctionPage
()
src/app/(auth)/sign-up/[[...sign-up]]/page.tsx:3
FunctionPage
()
src/app/(auth)/sign-in/[[...sign-in]]/page.tsx:3
FunctionPrivateLayout
({ children }: { children: ReactNode })
src/app/(private)/layout.tsx:6
FunctionPublicLayout
({ children }: { children: ReactNode })
src/app/(public)/layout.tsx:3
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode }>)
src/app/layout.tsx:14
FunctionScheduleForm
({ schedule, }: { schedule?: { timezone: string availabilities: Availability[] } })
src/components/forms/ScheduleForm.tsx:39
FunctionSchedulePage
()
src/app/(private)/schedule/page.tsx:9
FunctionSuccessPage
({ params: { clerkUserId, eventId }, searchParams: { startTime }, }: { params: { clerkUserId: string; ev
src/app/(public)/book/[clerkUserId]/[eventId]/success/page.tsx:15
FunctioncreateEvent
( unsafeData: z.infer<typeof eventFormSchema> )
src/server/actions/events.ts:12
FunctiononSubmit
(values: z.infer<typeof scheduleFormSchema>)
src/components/forms/ScheduleForm.tsx:70
FunctiononSubmit
(values: z.infer<typeof eventFormSchema>)
src/components/forms/EventForm.tsx:55
FunctiononSubmit
(values: z.infer<typeof meetingFormSchema>)
src/components/forms/MeetingForm.tsx:63
FunctionupdateEvent
( id: string, unsafeData: z.infer<typeof eventFormSchema> )
src/server/actions/events.ts:27