MCPcopy Create free account

hub / github.com/Premshaw23/Learnova / functions

Functions1,455 in github.com/Premshaw23/Learnova

↓ 7 callersFunctioncreateMockRequest
(headers, bodyData)
components/__tests__/settingsRoute.test.js:54
↓ 7 callersFunctionfetchData
()
hooks/useStudyStreak.js:14
↓ 7 callersFunctiongetOfflineDb
()
db/offlineStore.js:7
↓ 7 callersFunctiongetRiskLevel
(rate)
services/attendanceAnomalyService.js:92
↓ 7 callersFunctiongetWeekdaysSince
(startDate)
lib/dateUtils.js:67
↓ 7 callersFunctionlogAuditEvent
({ actor, action, target, details, request, success = true, })
lib/auditLogger.js:3
↓ 7 callersFunctionmakeConsecutiveWeekdayRecords
* Build N consecutive WEEKDAY attendance records ending at the most recent * weekday on/before `endDate`. Weekends are skipped (no weekend records),
tests/lib/badgeEngine.test.js:21
↓ 7 callersFunctionupdateUserImageInDb
({ firebaseUid, imageUrl, faceDescriptor, })
lib/images/imagesService.js:248
↓ 7 callersFunctionvalidateMinLength
(value, min, fieldName = "Field")
utils/formValidation.js:29
↓ 6 callersFunctioncreateCursor
(result)
tests/api/cron-attendance-warnings.test.js:35
↓ 6 callersFunctioncreateMockRequest
(headers, bodyData)
components/__tests__/notificationsSeedRoute.test.js:59
↓ 6 callersFunctioncronRequest
(authorization)
lib/__tests__/cronAuth.test.js:10
↓ 6 callersFunctionenqueueEmail
({ to, subject, html, text })
services/emailService.js:33
↓ 6 callersFunctionexportAttendancePDF
(data, options = {})
utils/pdf/attendanceReport.js:120
↓ 6 callersFunctionexportToCSV
(data, filename)
utils/exportUtils.js:74
↓ 6 callersFunctionformatDateToICS
(date)
components/Timetable.js:492
↓ 6 callersFunctiongetCommentStorageKey
(noticeId)
lib/commentStorage.js:3
↓ 6 callersFunctiongetRecentlyVisitedPages
()
utils/recentlyVisitedPages.js:47
↓ 6 callersFunctiongetRedirectTarget
(userRole)
middleware/__tests__/middleware.test.js:253
↓ 6 callersFunctiongetRedis
()
lib/queue.js:6
↓ 6 callersFunctiongetSearchModalItems
({ isAuthenticated, role } = {})
lib/navigation.js:171
↓ 6 callersFunctionisBelowThreshold
(percentage, threshold = 75)
lib/attendanceUtils.js:48
↓ 6 callersFunctionisEmailConfigured
()
lib/email/provider.js:27
↓ 6 callersFunctionmakeParams
(token)
tests/api/timetable.test.js:79
↓ 6 callersFunctionnormalizeMoodHistory
(value, allowedMoodKeys)
lib/wellnessStorage.js:70
↓ 6 callersFunctionnormalizeStoredComments
(comments)
lib/commentStorage.js:12
↓ 6 callersFunctionpad
(n)
components/AttendanceValidation.js:254
↓ 6 callersFunctionreadLiveValue
Read a raw localStorage value and parse it, bypassing any caching layer
components/WellnessJourneyTimeline.js:50
↓ 6 callersFunctionrenderTemplate
(templateName, variables)
lib/email/renderTemplate.js:6
↓ 6 callersFunctionresolveConflict
(localRecord, remoteRecord)
lib/syncService.js:20
↓ 6 callersFunctionsafeRedirect
(target)
components/ProtectedRoute.js:102
↓ 6 callersFunctionsendEvent
(event, data)
app/api/notices/stream/route.js:170
↓ 6 callersFunctionsignOut
()
hooks/useAuth.js:244
↓ 6 callersFunctiontoUTCDay
(date)
utils/attendanceStreak.js:1
↓ 6 callersFunctionuseSafePolling
(callback, interval = 30000, dependencies = [])
hooks/useSafePolling.js:10
↓ 6 callersFunctionvalidateEnv
({ throwOnError = true, warnOnce = false, logger = console, } = {})
lib/env.js:135
↓ 5 callersFunctionGET
(request)
app/api/notices/stream/route.js:126
↓ 5 callersFunctionanalyzeAttendanceAnomalies
(students = [])
services/attendanceAnomalyService.js:170
↓ 5 callersFunctionassertInstituteScope
(profile, studentId, role)
lib/services/achievementAccess.js:29
↓ 5 callersFunctionawardXp
(firebaseUid, actionType, metadata = {})
lib/gamification-service.js:108
↓ 5 callersFunctioncleanup
()
app/api/notices/stream/route.js:183
↓ 5 callersFunctioncreateMockDocs
(docs)
app/api/attendance/heatmap/route.test.js:40
↓ 5 callersFunctioncreateMockFirestore
()
app/api/attendance/heatmap/route.test.js:44
↓ 5 callersFunctioncreateMockRequest
( headers, bodyData, url = "http://localhost/api/notices" )
components/__tests__/noticesRoute.test.js:139
↓ 5 callersFunctioncreateMockRequest
(headers = {})
app/api/notifications/seed/route.test.js:75
↓ 5 callersFunctiondetectTrendDirection
(rollingAvgs = [])
services/attendanceAnomalyService.js:54
↓ 5 callersFunctiondownloadBlob
(blob, filename)
utils/exportUtils.js:51
↓ 5 callersFunctionemitWebhookEvent
(eventType, data)
lib/webhook/dispatcher.js:51
↓ 5 callersFunctionfindExistingOperation
(idempotencyKey)
lib/transactionCoordinator.js:347
↓ 5 callersFunctiongetClientCsrfToken
()
lib/csrf.js:54
↓ 5 callersFunctiongetTodayKeyLocal
(timeZone)
lib/dateUtils.js:63
↓ 5 callersMethodload
* Required by BaseDocumentLoader. * Returns Document[] — one per page.
app/StudyAI/DocumentLoader.js:138
↓ 5 callersFunctionmockRequest
(pathname = "/api/test")
lib/__tests__/rbac.test.js:15
↓ 5 callersFunctionmockRequest
(secret = "test-secret")
tests/api/cron-attendance-warnings.test.js:99
↓ 5 callersFunctionnormalizeDailyGoals
(value)
lib/wellnessStorage.js:21
↓ 5 callersMethodon
(event, callback)
lib/__tests__/mongodb.test.js:16
↓ 5 callersFunctionsetMockData
(data)
tests/api/timetable.test.js:15
↓ 5 callersFunctiontimestamp
()
app/StudyAI/page.js:451
↓ 5 callersFunctiontoLocalDateKey
* Returns the local calendar date string (YYYY-MM-DD) for a Date object. * Uses local timezone consistently — avoids the UTC shift from toISOString()
utils/productivityAnalytics.js:11
↓ 5 callersFunctionupdateUserStat
(userId, statField, value = 1)
services/statsService.js:30
↓ 5 callersFunctionuseAttendance
({ role, user })
hooks/useAttendance.js:31
↓ 5 callersFunctionuseNotices
()
contexts/FirestoreContext.js:225
↓ 5 callersFunctionvalidateGroqBody
(body)
lib/ai/groq.js:90
↓ 5 callersFunctionvalidateRemoteImageUrl
(url)
lib/images/imagesService.js:59
↓ 5 callersFunctionverifyFirebaseToken
(token)
lib/firebase-admin.js:53
↓ 5 callersFunctionwithValidation
(schema, handler, options = {})
lib/validations/withValidation.js:3
↓ 4 callersFunctionbuildAchievementFilter
({ studentId, instituteId, category, verificationStatus, search, from, to, } = {})
lib/models/achievementModel.js:32
↓ 4 callersFunctioncalculateLevel
(xp)
utils/gamification.js:1
↓ 4 callersFunctioncalculateNextLevelXp
(currentLevel)
utils/gamification.js:9
↓ 4 callersFunctioncleanupOldOperations
(maxAgeMs = 7 * 24 * 60 * 60 * 1000)
lib/transactionCoordinator.js:413
↓ 4 callersFunctionclearAuthSensitiveCaches
()
hooks/useAuth.js:40
↓ 4 callersFunctioncomputeRollingAverage
(rates = [], windowSize = 4)
services/attendanceAnomalyService.js:38
↓ 4 callersFunctioncreateMockRequest
( url = "http://localhost", headers = {}, body = null )
components/__tests__/gradesBOLA.test.js:60
↓ 4 callersFunctioncreateMockRequest
(body)
app/api/quiz-sessions/submit/__test__/route.test.js:16
↓ 4 callersFunctioncreateMockRequest
(body)
app/api/quiz-sessions/answer/__tests__/route.test.js:16
↓ 4 callersFunctiondetectBatchAnomaly
(students = [], threshold = 0.4)
services/attendanceAnomalyService.js:133
↓ 4 callersMethodemit
(event, ...args)
lib/__tests__/mongodb.test.js:23
↓ 4 callersFunctionextractGroqContent
(data)
lib/ai/groq.js:139
↓ 4 callersFunctionfindStaleOperations
(timeoutMs = 300000)
lib/transactionCoordinator.js:393
↓ 4 callersFunctionformatLog
(level, message, meta = {})
lib/logger.js:3
↓ 4 callersFunctiongenerateCsrfToken
()
lib/csrf.js:16
↓ 4 callersFunctiongenerateIdempotencyKey
(prefix, uid)
lib/transactionCoordinator.js:27
↓ 4 callersFunctiongenerateMockAttendanceRecords
(type = "perfect")
lib/badgeEngine.test.js:19
↓ 4 callersFunctiongenerateStudentAlerts
({ name, currentRate, riskLevel, classesNeeded })
services/attendanceAnomalyService.js:109
↓ 4 callersFunctiongetErrorMessage
(errorCode)
utils/authUtils.js:50
↓ 4 callersFunctiongetMinutesOfTime
(timeStr)
components/Timetable.js:366
↓ 4 callersFunctiongetNextWeekdayDate
(dayName, timeStr)
components/Timetable.js:464
↓ 4 callersFunctiongetSettingsDocId
(profile)
utils/passcodeUtils.js:53
↓ 4 callersFunctiongetUserActivities
(userId)
services/activityService.js:28
↓ 4 callersFunctionhandleAddLesson
(moduleId, type = "video")
components/dashboard/CurriculumBuilder.jsx:231
↓ 4 callersFunctioninitOfflineDB
()
services/offlineSyncQueue.js:10
↓ 4 callersFunctioninitializeUserStats
(userId)
services/statsService.js:3
↓ 4 callersFunctionisUnsafeMethod
(method)
lib/csrf.js:76
↓ 4 callersFunctionisValidPublicIp
(ip)
middleware.js:93
↓ 4 callersFunctionisValidPublicIp
(ip)
lib/rateLimit.js:214
↓ 4 callersMethodjson
()
components/__tests__/imagesRoute.test.js:28
↓ 4 callersFunctionparseUserIntent
(prompt, context = {})
services/ai-agent/intentparser.js:81
↓ 4 callersFunctionpublishEvent
(channel, event, payload)
lib/ssePublisher.js:19
↓ 4 callersFunctionrecalculateAttendanceRate
(userId)
services/statsService.js:57
↓ 4 callersFunctionrequireAdmin
(request, options = {})
lib/rbac.js:97
← previousnext →101–200 of 1,455, ranked by callers