Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cognivo-Future-Technologies-CFT/AwardX
/ functions
Functions
1,499 in github.com/Cognivo-Future-Technologies-CFT/AwardX
⨍
Functions
1,499
◇
Types & classes
244
↓ 167 callers
Function
getSupabaseAdmin
()
server/src/supabase.ts:8
↓ 57 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:5
↓ 50 callers
Function
getCurrentOrgId
()
services/userContext.ts:219
↓ 44 callers
Function
createSupabaseAdmin
(accessToken)
api/_utils/supabaseAdmin.js:2
↓ 44 callers
Method
safeAuditLog
(event: { action: string; actionType: 'create' | 'update' | 'delete' | 'warning' | 'access'; resou
services/database.ts:471
↓ 39 callers
Function
fetchBackendJson
( path: string, options: FetchBackendOptions = {}, )
services/backendApi.ts:25
↓ 36 callers
Function
deleteCache
(key: string)
server/src/cache/redisCache.ts:136
↓ 36 callers
Function
isDemoMode
()
services/demoMode.ts:11
↓ 36 callers
Function
logWarn
(event, payload)
api/_utils/logger.js:4
↓ 30 callers
Function
enforceRateLimit
(key: string, maxRequests: number, windowMs: number)
api/_utils/rateLimit.ts:30
↓ 29 callers
Function
handleContentChange
(key: string, value: any)
components/dashboard/builder/PropertyPanel.tsx:29
↓ 26 callers
Function
openView
(view: string)
components/dashboard/DashboardLayout.tsx:362
↓ 26 callers
Function
requireProgramAccess
(paramName = 'programId')
server/src/middleware/programAccess.ts:36
↓ 24 callers
Function
getAuthenticatedUser
(req: any)
api/_utils/authUser.ts:3
↓ 24 callers
Function
updateEmailLog
( supabase: SupabaseClient, id: string, payload: { status: EmailStatus; resendMessageId?: string
api/_utils/emailLogs.ts:34
↓ 22 callers
Function
escapeHtml
(str: string)
server/src/routes/invites.ts:61
↓ 22 callers
Function
getClientIp
(req: any)
api/_utils/rateLimit.ts:22
↓ 22 callers
Function
updateForm
(key: keyof typeof formData, value: string | boolean)
components/PreRegistrationModal.tsx:54
↓ 21 callers
Function
toggleConfig
(section: keyof typeof config, key: string)
components/dashboard/SubmissionProcessView.tsx:79
↓ 19 callers
Function
buildDashboardPath
(options: { eventId?: string | null; view?: string | null; settingsTab?: string | null; })
lib/dashboardRoutes.ts:44
↓ 19 callers
Function
getSupabaseClient
()
services/supabaseClient.ts:15
↓ 18 callers
Function
getRound
(roundId: string)
server/src/services/roundEngine.ts:43
↓ 18 callers
Function
handleInputChange
(fieldId: string, value: any)
components/pages/FormSubmissionPage.tsx:632
↓ 18 callers
Function
logError
(event, payload)
api/_utils/logger.js:7
↓ 18 callers
Function
updateField
(id: string, updates: Partial<FormField>)
components/dashboard/FormBuilder.tsx:363
↓ 17 callers
Function
createNotification
(supabase: any, payload: CreateNotificationPayload)
server/src/services/notifications.ts:42
↓ 17 callers
Function
ensureCanManageProgram
(userId: string, programId: string)
server/src/middleware/programManagement.ts:122
↓ 16 callers
Function
logInfo
(event, payload)
api/_utils/logger.js:1
↓ 16 callers
Function
resolveMediaPublicUrl
(value?: string | null)
services/supabase.ts:34
↓ 16 callers
Function
sleep
(ms: number)
components/demo/AutomatedDemoOrchestrator.tsx:20
↓ 16 callers
Function
useAuth
()
contexts/AuthContext.tsx:114
↓ 15 callers
Function
getOrgResendMailer
(organizationId)
api/_utils/orgResend.js:31
↓ 15 callers
Function
wrapWithCache
( key: string, ttlSeconds: number, fetcher: () => Promise<T>, )
server/src/cache/redisCache.ts:163
↓ 14 callers
Function
canManageProgram
(userId: string, programId: string)
server/src/middleware/programManagement.ts:109
↓ 14 callers
Function
isVotingRoundType
(type: Round['type'])
lib/roundScheduleUtils.ts:18
↓ 12 callers
Function
escapeHtml
(str: string)
server/src/routes/massEmail.ts:80
↓ 12 callers
Method
getPrograms
(organizationId?: string)
services/database.ts:864
↓ 12 callers
Function
handleChange
(field: keyof Round, value: any)
components/dashboard/scheduleRounds/RoundConfigurationPanel.tsx:127
↓ 12 callers
Function
round
(id: string, order: number, position?: { x: number; y: number })
tests/unit/scheduleRounds/roundRepresentationConversion.test.ts:12
↓ 12 callers
Function
validationError
(fields: Record<string, string>)
server/src/routes/scheduleRounds.ts:25
↓ 11 callers
Function
escapeHtml
(str)
api/_handlers/invites/resend.js:10
↓ 11 callers
Function
escapeHtml
(str: string)
api/_handlers/invites/resend.ts:12
↓ 11 callers
Function
handleNavClick
(id: string)
components/Header.tsx:94
↓ 11 callers
Function
handleNavigation
(e: React.MouseEvent, url: string | undefined)
components/dashboard/builder/SectionBlocks.tsx:502
↓ 10 callers
Function
buildNotificationRoute
(options)
lib/notificationNavigation.js:71
↓ 10 callers
Function
canManageInvites
(supabase, userId, organizationId)
api/_utils/invitePermissions.js:2
↓ 10 callers
Method
createNotification
(payload: { type: string; title: string; body?: string; organizationId?: string; programId
services/database.ts:4164
↓ 10 callers
Method
getForms
(programId: string)
services/database.ts:2751
↓ 10 callers
Method
initialize
()
services/database.ts:495
↓ 10 callers
Function
invalidateOverview
(programId: string)
server/src/routes/overviewPage.ts:10
↓ 10 callers
Function
shortlistConfigToCriteria
( config: ShortlistConfig, roundType: Round['type'], )
lib/roundScheduleUtils.ts:26
↓ 9 callers
Function
addResult
(result: UniversalSearchResult, haystack: string)
components/dashboard/DashboardLayout.tsx:496
↓ 9 callers
Method
getCategories
(programId: string)
services/database.ts:1303
↓ 9 callers
Function
requireProgramManage
(paramName = 'programId')
server/src/middleware/programManagement.ts:143
↓ 9 callers
Function
resolveRoundId
(roundIdOrSlug: string)
server/src/services/votingEngine.ts:254
↓ 9 callers
Function
updateEmailLog
( supabase: any, id: string, status: string, extra: { resendMessageId?: string | null; errorMessage?: stri
server/src/routes/invites.ts:119
↓ 9 callers
Method
updateProgram
(program: Program)
services/database.ts:1035
↓ 9 callers
Function
useConfirm
()
components/ConfirmDialog.tsx:157
↓ 8 callers
Function
buildOrgHubRoute
()
lib/notificationNavigation.js:78
↓ 8 callers
Function
buildPresetAvatar
(seed: string, bg: string, fg: string)
components/dashboard/SettingsView.tsx:123
↓ 8 callers
Function
createEmailLog
(supabase: SupabaseClient, payload: CreateEmailLogInput)
api/_utils/emailLogs.ts:15
↓ 8 callers
Function
formatRoundWindow
(round?: Round)
components/dashboard/CertificatesView.tsx:91
↓ 8 callers
Method
getJudges
(programId?: string)
services/database.ts:1880
↓ 8 callers
Function
getProgramFormSetupState
( forms: ProgramFormRecord[], activeFormId: string | null | undefined, )
lib/programFormSetup.ts:20
↓ 8 callers
Method
getRounds
(programId: string)
services/database.ts:1417
↓ 8 callers
Function
invalidateRound
(programId: string)
server/src/routes/roundExecution.ts:22
↓ 8 callers
Function
isSupabaseConfigured
()
server/src/supabase.ts:5
↓ 8 callers
Function
logAuditAction
( userId: string, action: string, actionType: string, resourceType: string, resourceId?: string, d
server/src/utils/audit.ts:3
↓ 8 callers
Function
parseDashboardPath
(pathname: string)
lib/dashboardRoutes.ts:68
↓ 8 callers
Function
parseNotificationRoute
(route)
lib/notificationNavigation.js:27
↓ 8 callers
Function
redirectToSettings
( res: any, siteUrl: string, params: Record<string, string>, )
server/src/routes/integrations.ts:106
↓ 8 callers
Function
resolveNotificationPath
(notification)
lib/notificationNavigation.js:104
↓ 8 callers
Function
setCachedSession
(session: Session | null)
services/userContext.ts:53
↓ 7 callers
Function
formatDate
(dateStr?: string | null)
components/pages/PublicProgramPage.tsx:13
↓ 7 callers
Function
getCurrentUserId
()
services/userContext.ts:214
↓ 7 callers
Function
getUserOrganizationId
(userId: string)
server/src/routes/integrations.ts:46
↓ 7 callers
Function
hasAttendancePermission
(userId: string, programId: string)
server/src/routes/attendance.ts:21
↓ 7 callers
Method
hasPermission
(permission: string)
services/database.ts:4234
↓ 7 callers
Function
isAutoAssignJudging
(value)
lib/judgingType.js:17
↓ 7 callers
Function
isValidSettingsTab
(tab?: string | null)
lib/dashboardRoutes.ts:40
↓ 7 callers
Function
log
(message: string)
server/src/cache/redisCache.ts:13
↓ 7 callers
Function
normalizeLocalDevProtocol
(url: string)
lib/siteUrl.ts:28
↓ 7 callers
Function
storePostAuthRedirect
(raw: string | null | undefined)
lib/safeRedirect.ts:21
↓ 7 callers
Function
validationError
(fields: Record<string, string>)
server/src/routes/judgeAssignment.ts:20
↓ 7 callers
Function
waitForTarget
(target: string, attempts = 12, intervalMs = 250)
components/demo/AutomatedDemoOrchestrator.tsx:28
↓ 6 callers
Function
apiUrl
(path: string)
components/pages/PublicVotingPage.tsx:36
↓ 6 callers
Function
buildRound
(id: string, name: string, order: number, type: Round['type'])
tests/unit/scheduleRounds/SimpleRoundEditor.test.tsx:21
↓ 6 callers
Function
buildRound
(id: string, order: number)
tests/unit/scheduleRounds/ScheduleRoundsView.test.tsx:84
↓ 6 callers
Function
deriveStripeConnectStatus
(account)
api/_utils/stripeConnect.js:1
↓ 6 callers
Function
escapeHtml
(str)
api/_handlers/invites/team.js:9
↓ 6 callers
Function
escapeHtml
(str: string)
api/_handlers/invites/team.ts:11
↓ 6 callers
Function
fetchRecords
()
components/dashboard/AttendanceView.tsx:44
↓ 6 callers
Function
formatDate
(dateStr?: string | null)
components/pages/PublicPageSections.tsx:275
↓ 6 callers
Method
getActiveFormForProgram
(programId: string)
services/database.ts:4024
↓ 6 callers
Function
getAuthUser
(req: any)
server/src/routes/invites.ts:76
↓ 6 callers
Function
getCachedUserProfile
(userId: string)
lib/userProfile.ts:45
↓ 6 callers
Method
getFormFields
(formId: string)
services/database.ts:2769
↓ 6 callers
Method
getSubmissions
(programId?: string)
services/database.ts:1492
↓ 6 callers
Function
insertNotification
(supabase: any, payload: ApiNotificationPayload)
api/_utils/notifications.ts:31
↓ 6 callers
Function
logTransition
(roundId: string, from: string, to: string, triggeredBy: string, metadata?: any)
server/src/services/roundEngine.ts:32
next →
1–100 of 1,499, ranked by callers