MCPcopy Index your code

hub / github.com/lukevella/rallly / functions

Functions1,182 in github.com/lukevella/rallly

↓ 282 callersFunctioncn
(...inputs: ClassValue[])
packages/ui/src/lib/utils.ts:5
↓ 103 callersFunctiond
(offsetDays: number, hour = 0, minute = 0)
packages/database/prisma/seed/data.ts:11
↓ 85 callersFunctionuseTranslation
()
apps/web/src/i18n/client.tsx:17
↓ 84 callersMethodget
(key: string)
apps/web/src/lib/cache/index.ts:24
↓ 56 callersFunctionabsoluteUrl
( subpath = "", query: { [key: string]: string | undefined } = {}, )
packages/utils/src/absolute-url.ts:18
↓ 46 callersFunctionposthog
()
apps/web/src/features/analytics/posthog.ts:6
↓ 45 callersMethodgoto
()
apps/web/tests/login-page.ts:8
↓ 41 callersMethodcreate
({ name }: { name: string })
apps/web/tests/new-poll-page.ts:26
↓ 39 callersFunctiongetTranslation
(localeOverride?: string)
apps/web/src/i18n/server.ts:6
↓ 38 callersMethodset
(key: string, value: T)
apps/web/src/lib/cache/index.ts:25
↓ 32 callersFunctionusePoll
()
apps/web/src/components/poll-context.tsx:34
↓ 31 callersFunctionrender
( ui: ReactElement, options: CustomRenderOptions = {}, )
apps/web/src/test/test-utils.tsx:46
↓ 29 callersFunctionencrypt
(text: string, password: string)
packages/utils/src/encryption.ts:18
↓ 23 callersFunctiondecrypt
(encryptedData: string, password: string)
packages/utils/src/encryption.ts:55
↓ 21 callersFunctionuseDialog
()
packages/ui/src/dialog.tsx:150
↓ 20 callersFunctioncreateLogger
(name: string)
packages/logger/src/index.ts:22
↓ 19 callersFunctiononChange
()
packages/ui/src/hooks/use-mobile.ts:12
↓ 18 callersFunctioncreateIcsEvent
({ uid, start, end, allDay, timeZone, sequence = 0, title, description, location, organize
apps/web/src/utils/ics.ts:31
↓ 17 callersFunctiongetTranslation
( locale: string = fallbackLng, ns: string | string[] = defaultNS, )
apps/landing/src/i18n/server.ts:5
↓ 15 callersFunctionuseParticipants
()
apps/web/src/components/participants-provider.tsx:19
↓ 15 callersFunctionverifyApiKey
( rawKey: string, storedHash: string, )
apps/web/src/features/api-keys/api-key.ts:96
↓ 14 callersFunctioncreateApiKey
()
apps/web/src/features/api-keys/api-key.ts:56
↓ 14 callersFunctionuseSafeAction
(action, options)
apps/web/src/lib/safe-action/client.ts:8
↓ 13 callersFunctiondefineAbilityForMember
(ctx?: MemberAbilityContext)
apps/web/src/features/space/member/ability.ts:35
↓ 13 callersFunctionformatDateWithoutTz
(date: Date)
apps/web/src/components/forms/poll-options-form/utils.ts:3
↓ 12 callersFunctioncreateEmailTemplate
(definition: { component: C; subject: (props: TemplateProps<C>, ctx: EmailContext) => string; })
packages/emails/src/create-email-template.tsx:30
↓ 12 callersFunctiongetInstanceBranding
()
apps/web/src/emails/branding.ts:10
↓ 12 callersFunctionuseUser
()
apps/web/src/components/user-provider.tsx:11
↓ 11 callersFunctionuseFeatureFlag
(featureName: Feature)
apps/web/src/lib/feature-flags/client.tsx:26
↓ 11 callersFunctionvalidateRedirectUrl
( redirectTo?: string | null, )
apps/web/src/utils/redirect.ts:8
↓ 10 callersFunctionapiError
(code: string, message: string)
apps/web/src/app/api/private/utils/poll.ts:1
↓ 10 callersFunctioncreateUserInDb
({ email, name, role = "user", }: { email: string; name: string; role?: UserRole; })
apps/web/tests/test-utils.ts:7
↓ 10 callersFunctiongenerateTimeSlots
( generator: SlotGeneratorInput, timeZone: string | undefined, durationMinutes: number, )
apps/web/src/app/api/private/utils/time-slots.ts:53
↓ 10 callersFunctionloginWithEmail
( page: Page, { email, password }: { email: string; password?: string }, )
packages/test-helpers/src/login.ts:5
↓ 10 callersFunctionshortUrl
(subpath = "")
packages/utils/src/absolute-url.ts:41
↓ 10 callersFunctiontoDate
(date: number)
apps/web/src/app/api/stripe/webhook/handlers/utils.ts:7
↓ 9 callersFunctionhasPollAdminAccess
(pollId: string, userId: string)
apps/web/src/features/poll/query.ts:3
↓ 9 callersFunctionlinkToApp
(path = "")
apps/landing/src/lib/linkToApp.ts:1
↓ 9 callersFunctionnextId
()
packages/database/prisma/seed.ts:18
↓ 9 callersFunctionuseDayjs
()
apps/web/src/utils/dayjs.tsx:144
↓ 8 callersFunctioncreateAppUrl
(subpath: string)
apps/landing/next.config.ts:10
↓ 8 callersFunctioncreateTestPoll
({ id, title, userId, spaceId, updatedAt, hasFutureOptions = false, participantActiveAt, comme
apps/web/tests/test-utils.ts:66
↓ 8 callersFunctionfixUnit
(unit)
apps/web/src/components/forms/poll-options-form/dayjs-localizer.ts:47
↓ 8 callersFunctiongetBrowserTimeZone
()
apps/web/src/utils/date-time-utils.ts:8
↓ 8 callersMethodsetItem
(key: string, value: string)
apps/web/src/utils/local-storage.ts:39
↓ 8 callersFunctionuseSpace
()
apps/web/src/features/space/client.tsx:12
↓ 7 callersFunctionadjustTimeZone
(date: Date)
apps/web/src/components/poll-context.tsx:148
↓ 7 callersFunctioncreateRateLimitMiddleware
( name: string, requests: number, duration: "1 m" | "1 h", )
apps/web/src/trpc/trpc.ts:134
↓ 7 callersFunctiondeleteAllMessages
()
packages/test-helpers/src/mailpit.ts:64
↓ 7 callersFunctiongetScheduledEvent
(eventId: string)
apps/web/src/app/api/event/[...route]/route.ts:15
↓ 7 callersFunctiongetValueByPath
( obj: O, path: string, )
apps/web/src/utils/get-value-by-path.ts:1
↓ 7 callersFunctionhandleSelect
(route: string)
apps/web/src/features/navigation/command-menu/command-menu.tsx:44
↓ 7 callersFunctionheaders
()
apps/web/next.config.ts:112
↓ 7 callersFunctionisFeatureEnabled
(feature: Feature)
apps/web/src/lib/feature-flags/server.ts:5
↓ 7 callersFunctionparseStartTime
( startTime: string, timeZone: string | undefined, duration: number, )
apps/web/src/app/api/private/utils/time-slots.ts:44
↓ 7 callersFunctionrandomToken
(bytes: number)
apps/web/src/features/api-keys/api-key.ts:31
↓ 7 callersFunctionshowPayWall
()
apps/web/src/features/billing/paywall-store.ts:15
↓ 6 callersFunctiongetActiveSpaceForUser
(userId: string)
apps/web/src/features/space/data.ts:112
↓ 6 callersFunctionsignOut
()
apps/web/src/lib/auth-client.ts:24
↓ 6 callersFunctionuseEditToken
()
apps/web/src/components/poll/mutations.ts:18
↓ 6 callersFunctionusePermissions
()
apps/web/src/contexts/permissions.tsx:29
↓ 5 callersFunctiondefineComparators
BEGIN localized date arithmetic methods with dayjs
apps/web/src/components/forms/poll-options-form/dayjs-localizer.ts:61
↓ 5 callersFunctiongetCityFromTimezoneId
(id: string)
apps/web/src/components/time-zone-picker/timezone-data.ts:7
↓ 5 callersFunctiongetCode
(email: string)
packages/test-helpers/src/email.ts:8
↓ 5 callersMethodgetItem
(key: string)
apps/web/src/utils/local-storage.ts:27
↓ 5 callersFunctiongetPrimaryColorVars
(primaryColor: string)
apps/web/src/features/branding/color.ts:4
↓ 5 callersMethodgoToPollPage
()
apps/web/tests/new-poll-page.ts:11
↓ 4 callersFunctionbuildBaseWhere
( spaceId: string, search?: string, member?: string, )
apps/web/src/features/scheduled-event/data.ts:253
↓ 4 callersFunctiondedupeTimeSlots
(slots: Array<TimeSlot>)
apps/web/src/app/api/private/utils/time-slots.ts:17
↓ 4 callersFunctiondefineAbilityFor
(user?: UserAbilityContext)
apps/web/src/features/user/ability.ts:23
↓ 4 callersFunctiondeleteImageFromS3
(imageKey: string)
apps/web/src/lib/storage/image-upload.ts:108
↓ 4 callersFunctionextractApiKeyPrefix
(rawKey: string)
apps/web/src/features/api-keys/api-key.ts:81
↓ 4 callersFunctionfilterParticipantsByVote
(participants: T[], optionId: string, voteType: VoteType)
apps/web/src/components/participants-provider.tsx:9
↓ 4 callersFunctionfromDBRole
(role: PrismaSpaceMemberRole)
apps/web/src/features/space/utils.ts:21
↓ 4 callersFunctiongetDuration
(startTime: dayjs.Dayjs, endTime: dayjs.Dayjs)
apps/web/src/utils/date-time-utils.ts:66
↓ 4 callersFunctiongetOptions
( lng = fallbackLng, ns: Namespace = defaultNS, )
apps/web/src/i18n/settings.ts:8
↓ 4 callersFunctiongetPasswordResetLink
(email: string)
packages/test-helpers/src/email.ts:17
↓ 4 callersFunctiongetRelativeLuminance
(r: number, g: number, b: number)
apps/web/src/utils/color.ts:20
↓ 4 callersFunctiongetS3Client
()
apps/web/src/lib/storage/s3.ts:5
↓ 4 callersFunctiongetTotalSeatsForSpace
(spaceId: string)
apps/web/src/features/space/utils.ts:62
↓ 4 callersFunctiongetUserSession
()
apps/web/src/features/user/data.ts:64
↓ 4 callersFunctionredirectIfLoggedIn
()
apps/web/src/lib/auth.ts:533
↓ 4 callersFunctionresolveUserId
( token: string | undefined, ctxUser: { id: string } | undefined, )
apps/web/src/trpc/routers/polls/utils.ts:26
↓ 4 callersFunctionscreenshotPath
(name: string)
packages/screenshots/capture/helpers.ts:1
↓ 4 callersFunctiontoCalendarEvent
(event: ScheduledEventRow)
apps/web/src/app/api/event/[...route]/route.ts:74
↓ 4 callersFunctiontoDBRole
(role: MemberRole)
apps/web/src/features/space/utils.ts:12
↓ 4 callersFunctionupdatePreferences
(newPreferences: Partial<Preferences>)
apps/web/src/contexts/preferences.tsx:65
↓ 4 callersFunctionuseFormField
()
packages/ui/src/form.tsx:36
↓ 4 callersFunctionuseIsFree
()
apps/web/src/features/billing/client.tsx:12
↓ 4 callersFunctionuseLocale
()
apps/web/src/lib/locale/client.tsx:44
↓ 4 callersFunctionuseRequiredContext
( context: React.Context<T | null>, errorMessage?: string, )
apps/web/src/components/use-required-context.ts:3
↓ 4 callersFunctionuseSidebar
()
packages/ui/src/sidebar.tsx:48
↓ 4 callersFunctionuseTheme
()
apps/web/src/features/theme/client.tsx:9
↓ 4 callersFunctionuseVotingForm
()
apps/web/src/components/poll/voting-form.tsx:40
↓ 4 callersFunctionwithPostHog
( handler: (req: NextRequest) => Promise<Response>, )
apps/web/src/utils/posthog.ts:5
↓ 3 callersFunctionadd
(date, adder, unit)
apps/web/src/components/forms/poll-options-form/dayjs-localizer.ts:148
↓ 3 callersFunctionbuildSafeRedirectUrl
({ destination, returnUrl, }: { destination: string; returnUrl?: string | null; })
apps/web/src/utils/redirect.ts:30
↓ 3 callersFunctioncanModifyParticipant
(participantId: string, userId: string)
apps/web/src/trpc/routers/polls/participants.ts:45
↓ 3 callersFunctioncreateCache
({ namespace, ttl, }: { namespace: string; ttl: Duration; })
apps/web/src/lib/cache/index.ts:53
↓ 3 callersFunctioncreateOptionsContextValue
( pollOptions: { id: string; startTime: Date; duration: number }[], targetTimeZone: string, sourceTimeZo
apps/web/src/components/poll-context.tsx:133
next →1–100 of 1,182, ranked by callers