MCPcopy Create free account

hub / github.com/Solvro/web-planer / functions

Functions373 in github.com/Solvro/web-planer

↓ 121 callersFunctioncn
(...inputs: ClassValue[])
frontend/src/lib/utils/index.ts:5
↓ 14 callersMethodupdate
* Update user data
backend/app/controllers/users_controller.ts:10
↓ 13 callersFunctionauth
({ payload, noThrow = false, type }: AuthType)
frontend/src/lib/auth/index.ts:115
↓ 8 callersFunctiontimeToMinutes
(time: string)
frontend/src/lib/utils/schedule-algorithm.ts:34
↓ 6 callersFunctionextractLastStringInBrackets
(input: string)
backend/commands/scraper.ts:26
↓ 6 callersFunctionfetchClient
({ url, method, body, }: { url: string; method: RequestInit["method"]; body?: string | null; })
frontend/src/lib/fetch.ts:5
↓ 6 callersFunctionfetchData
(url: string, options = {}, timeout = 10000)
backend/app/scrap-registrations/scrap_registrations.ts:41
↓ 6 callersFunctionusePlanOrientation
()
frontend/src/hooks/use-plan-orientation.tsx:8
↓ 4 callersFunctionuseFormField
()
frontend/src/components/ui/form.tsx:44
↓ 4 callersFunctionusePlan
({ planId }: { planId: string })
frontend/src/lib/use-plan.ts:9
↓ 3 callersFunctiondrawCircle
(circle: Circle, update = false)
frontend/src/components/magicui/particles.tsx:144
↓ 3 callersFunctionfitsUserPreferences
( group: ExtendedGroup, preferences: WeekPreferences, )
frontend/src/lib/utils/schedule-algorithm.ts:39
↓ 3 callersFunctionpluralize
( number: number, singular: string, plural: string, genitivePlural: string, )
frontend/src/lib/utils/index.ts:19
↓ 3 callersFunctionregistrationReplacer
(name: string)
frontend/src/lib/utils/index.ts:9
↓ 3 callersFunctiontransformIdFields
* Applies a transformation function to any ID field in the input object. * * A field is considered to be an "id field" if it's name is "id" or ends
backend/app/middleware/alternative_slash_encoding.ts:13
↓ 2 callersFunctionchangeDateToUTC
(date: Date)
frontend/src/lib/utils/generate-ics-file.ts:15
↓ 2 callersFunctioncircleParameters
()
frontend/src/components/magicui/particles.tsx:115
↓ 2 callersFunctionclearContext
()
frontend/src/components/magicui/particles.tsx:167
↓ 2 callersFunctionclearLoading
()
frontend/src/app/plans/edit/[id]/_components/sync-error-alert.tsx:65
↓ 2 callersFunctiondelay
(ms: number)
backend/app/scrap-lecturers/scrap_lecturers.ts:23
↓ 2 callersFunctionextractNumber
(value: string)
frontend/src/lib/utils/index.ts:41
↓ 2 callersFunctionfindMatchingScheduleTime
(inputTime: string)
frontend/src/components/class-schedule.tsx:48
↓ 2 callersFunctionget
(endpoint: string)
backend/app/usos/usos_client.ts:33
↓ 2 callersFunctiongetPlan
({ id }: { id: number | string })
frontend/src/actions/plans.ts:93
↓ 2 callersFunctionhandleCopyLink
(id: string)
frontend/src/app/plans/_components/share-plan-button.tsx:19
↓ 2 callersFunctioninitCanvas
()
frontend/src/components/magicui/particles.tsx:187
↓ 2 callersFunctionrandomInRange
(min: number, max: number)
frontend/src/components/confetti.tsx:5
↓ 2 callersFunctionrandomInRange
(min: number, max: number)
frontend/src/hooks/use-feedback.tsx:42
↓ 2 callersFunctionserverToLocalPlan
( courses: CourseType, shouldCourseBeChecked: ((course: SingleCourse) => boolean) | boolean, shouldGroup
frontend/src/lib/utils/server-to-local-plan.ts:11
↓ 2 callersFunctionsignOut
()
frontend/src/components/ui/signout-button.tsx:10
↓ 2 callersFunctionupdateTimeSlot
( day: keyof WeekPreferences, slotIndex: number, field: "start" | "end", value: string, )
frontend/src/components/algo-dialog.tsx:98
↓ 2 callersFunctionuseFeedback
()
frontend/src/hooks/use-feedback.tsx:202
↓ 2 callersFunctionuseIsMobile
()
frontend/src/hooks/use-mobile.tsx:5
↓ 2 callersFunctionuseSavePlan
({ plan, onlinePlan, coursesFunction, refetchOnlinePlan, }: { plan: usePlanType; onlinePlan: PlanR
frontend/src/hooks/use-save-plan.ts:14
↓ 2 callersFunctionuseSession
()
frontend/src/hooks/use-session.tsx:27
↓ 2 callersFunctionuseShare
()
frontend/src/hooks/use-share.tsx:34
↓ 2 callersFunctionuseSidebar
()
frontend/src/components/ui/sidebar.tsx:31
↓ 1 callersFunctionMousePosition
()
frontend/src/components/magicui/particles.tsx:18
↓ 1 callersFunctionaddTimeSlot
(day: keyof WeekPreferences)
frontend/src/components/algo-dialog.tsx:115
↓ 1 callersFunctionanimate
()
frontend/src/components/magicui/particles.tsx:218
↓ 1 callersFunctioncalculatePosition
(startTime: string, endTime: string)
frontend/src/components/class-block.tsx:30
↓ 1 callersFunctioncalculateScore
( groups: ExtendedGroup[], preferences: WeekPreferences, )
frontend/src/lib/utils/schedule-algorithm.ts:75
↓ 1 callersFunctioncheckWeek
(week: string)
backend/app/scrap-registrations/scrap_registrations.ts:417
↓ 1 callersMethodcourseDetailScrapeTask
(task: TaskHandle)
backend/commands/scraper.ts:156
↓ 1 callersMethodcourseUrlScrapeTask
()
backend/commands/scraper.ts:129
↓ 1 callersFunctioncreateClient
({ token, secret, }: { token?: string; secret?: string; })
backend/app/usos/usos_client.ts:22
↓ 1 callersFunctioncreateHmacSha1Base64
(base_string: string, key: string)
frontend/src/lib/auth/index.ts:9
↓ 1 callersFunctioncreateNewPlan
({ name, courses, registrations, groups, }: { name: string; courses: { id: string }[]; registrat
frontend/src/actions/plans.ts:12
↓ 1 callersFunctioncreateOnlinePlan
( plan: PlanState, )
frontend/src/lib/utils/create-online-plan.ts:20
↓ 1 callersFunctioncreateScheduleBasedOnCoursesAndPreferences
( userPreferences: WeekPreferences, availableCourses: ExtendedCourse[], basedOnRating = false, )
frontend/src/lib/utils/schedule-algorithm.ts:230
↓ 1 callersFunctioncustomRound
(rating: number)
frontend/src/components/class-block-stars.tsx:5
↓ 1 callersFunctiondeletePlan
({ id }: { id: number })
frontend/src/actions/plans.ts:70
↓ 1 callersMethoddepartmentScrapeTask
(task: TaskHandle)
backend/commands/scraper.ts:67
↓ 1 callersFunctiondrawParticles
()
frontend/src/components/magicui/particles.tsx:178
↓ 1 callersFunctionextractStartTimeUTCEndTimeUTC
( currentDate: Date, group: ExtendedGroup, )
frontend/src/lib/utils/generate-ics-file.ts:128
↓ 1 callersFunctionfetchGithubStats
()
frontend/src/lib/utils/get-github-stats.ts:4
↓ 1 callersFunctionfetchLecturers
( url: string, authCookie: string, timeout = 100000, )
backend/app/scrap-lecturers/scrap_lecturers.ts:25
↓ 1 callersFunctionfetchToAdonis
({ url, method, body, }: { url: string; method: RequestInit["method"]; body?: string | null; })
frontend/src/lib/auth/index.ts:213
↓ 1 callersFunctionfindBestSchedule
( courses: ExtendedCourse[], preferences: WeekPreferences, currentSchedule: ExtendedGroup[] = [], cour
frontend/src/lib/utils/schedule-algorithm.ts:94
↓ 1 callersFunctiongenerateICSFile
( groups: ExtendedGroup[], name: string, startDate = new Date("2024-10-01"), endDate = new Date("2025-
frontend/src/lib/utils/generate-ics-file.ts:143
↓ 1 callersFunctiongetAccessToken
( oauth_token: string, oauth_verifier: string, secret: string, )
frontend/src/lib/auth/index.ts:22
↓ 1 callersFunctiongetCookieHeader
(cookieArray: string[])
backend/app/scrap-lecturers/polwro_login.ts:1
↓ 1 callersFunctiongetCurrentUser
()
frontend/src/actions/user.ts:6
↓ 1 callersFunctiongetGroupNumber
(groupInfo: string)
backend/app/scrap-registrations/scrap_registrations.ts:411
↓ 1 callersMethodgetId
()
backend/app/models/user.ts:53
↓ 1 callersFunctiongetMaxGroupsAtHourForDay
(groups: ExtendedGroup[])
frontend/src/components/class-schedule.tsx:68
↓ 1 callersMethodgetOriginal
()
backend/app/models/user.ts:56
↓ 1 callersFunctiongetRequestToken
()
frontend/src/lib/auth/index.ts:65
↓ 1 callersFunctiongiveGroupType
(groupType: string)
backend/app/scrap-registrations/scrap_registrations.ts:396
↓ 1 callersMethodhandle
* The method is used for handling errors and returning * response to the client
backend/app/exceptions/handler.ts:15
↓ 1 callersFunctionhandleCacheOnlinePlan
()
frontend/src/components/plan-item.tsx:145
↓ 1 callersFunctionhandleCreateOnlinePlan
( setOfflineAlert: (value: boolean) => void, )
frontend/src/hooks/use-save-plan.ts:73
↓ 1 callersFunctionhandleDeleteDeletedPlans
()
frontend/src/app/plans/page.client.tsx:50
↓ 1 callersFunctionhandleDeletePlan
()
frontend/src/components/plan-item.tsx:120
↓ 1 callersFunctionhandleSyncPlan
()
frontend/src/hooks/use-save-plan.ts:30
↓ 1 callersFunctionhandleTriggerConfetti
()
frontend/src/components/confetti.tsx:8
↓ 1 callersFunctionhandleTriggerConfetti
()
frontend/src/hooks/use-feedback.tsx:45
↓ 1 callersFunctionhandleUpdateLocalPlan
()
frontend/src/hooks/use-save-plan.ts:52
↓ 1 callersFunctionhandleUpdateSpotsOccupied
()
frontend/src/app/plans/edit/[id]/page.client.tsx:110
↓ 1 callersFunctionhasTimeConflict
( group1: ExtendedGroup, group2: ExtendedGroup, )
frontend/src/lib/utils/schedule-algorithm.ts:59
↓ 1 callersFunctionhexToRgb
(hex: string)
frontend/src/components/magicui/particles.tsx:50
↓ 1 callersFunctionisEvenOrOddWeek
( targetDate: Date, referenceDate = new Date("2024-09-30"), referenceIsEven = true, )
frontend/src/lib/utils/generate-ics-file.ts:115
↓ 1 callersFunctionloginToPolwro
(username: string, password: string)
backend/app/scrap-lecturers/polwro_login.ts:11
↓ 1 callersFunctiononMouseMove
()
frontend/src/components/magicui/particles.tsx:192
↓ 1 callersFunctionparseDay
(day: string)
backend/app/scrap-registrations/scrap_registrations.ts:436
↓ 1 callersFunctionparseMeeting
(meetingString: string)
backend/app/scrap-registrations/scrap_registrations.ts:378
↓ 1 callersMethodregistrationScrapeTask
(task: TaskHandle)
backend/commands/scraper.ts:89
↓ 1 callersFunctionremapValue
( value: number, start1: number, end1: number, start2: number, end2: number, )
frontend/src/components/magicui/particles.tsx:206
↓ 1 callersFunctionremoveMultipleSlashesFromUrl
(url: string)
frontend/src/lib/auth/index.ts:61
↓ 1 callersFunctionremoveTimeSlot
(day: keyof WeekPreferences, slotIndex: number)
frontend/src/components/algo-dialog.tsx:128
↓ 1 callersFunctionremoveTitles
(data: string[])
backend/app/scrap-lecturers/scrap_lecturers.ts:54
↓ 1 callersFunctionresizeCanvas
()
frontend/src/components/magicui/particles.tsx:98
↓ 1 callersMethodrun
()
backend/commands/scraper.ts:486
↓ 1 callersFunctionscrapCourseNameGroupsUrls
( courseUrl: string, )
backend/app/scrap-registrations/scrap_registrations.ts:167
↓ 1 callersFunctionscrapCourses
(registrationUrl: string)
backend/app/scrap-registrations/scrap_registrations.ts:130
↓ 1 callersFunctionscrapDepartments
()
backend/app/scrap-registrations/scrap_registrations.ts:60
↓ 1 callersFunctionscrapGroupDetails
( groupUrl: string, )
backend/app/scrap-registrations/scrap_registrations.ts:274
↓ 1 callersFunctionscrapGroupsFromPlan
(planUrl: string)
backend/app/scrap-registrations/scrap_registrations.ts:227
↓ 1 callersFunctionscrapLecturers
()
backend/app/scrap-lecturers/scrap_lecturers.ts:150
↓ 1 callersFunctionscrapLecturersForCategory
(url: string, authCookie: string)
backend/app/scrap-lecturers/scrap_lecturers.ts:130
next →1–100 of 373, ranked by callers