MCPcopy Create free account

hub / github.com/lukevella/rallly / functions

Functions1,182 in github.com/lukevella/rallly

↓ 3 callersFunctioncreateRatelimit
(requests: number, duration: Duration)
apps/web/src/lib/rate-limit/index.ts:57
↓ 3 callersFunctioncreateSpaceDTO
(space: { id: string; ownerId: string; name: string; role: DBSpaceMemberRole; image?: string | null;
apps/web/src/features/space/data.ts:46
↓ 3 callersFunctiondiff
(a, b, unit = "day")
apps/web/src/components/forms/poll-options-form/dayjs-localizer.ts:174
↓ 3 callersFunctionformatDuration
(minutes: number, locale?: string)
apps/web/src/utils/date-time-utils.ts:46
↓ 3 callersFunctionformatEventDateTime
({ start, end, allDay, timeZone, inviteeTimeZone, }: FormatEventDateTimeOptions)
apps/web/src/features/scheduled-event/utils.ts:26
↓ 3 callersFunctionformatLocationText
(location: Location)
apps/web/src/features/location/utils.ts:3
↓ 3 callersFunctiongetAllPosts
(fields: string[] = [])
apps/landing/src/lib/api.ts:43
↓ 3 callersFunctiongetAlternateLanguages
(path: string)
apps/landing/src/app/sitemap.ts:9
↓ 3 callersFunctiongetCustomBrandingConfig
()
apps/web/src/features/branding/queries.ts:31
↓ 3 callersFunctiongetForegroundColor
(backgroundColor: string)
apps/web/src/utils/color.ts:61
↓ 3 callersFunctiongetLocale
()
apps/web/src/i18n/server/get-locale.ts:4
↓ 3 callersFunctiongetPathname
()
apps/web/src/lib/pathname.ts:6
↓ 3 callersFunctiongetPostBySlug
(slug: string, fields: string[] = [])
apps/landing/src/lib/api.ts:11
↓ 3 callersFunctiongetProPricing
()
packages/billing/src/lib/stripe.ts:10
↓ 3 callersFunctiongetSpaceSeatCount
(spaceId: string)
apps/web/src/features/space/data.ts:38
↓ 3 callersFunctiongetSpaceSubscription
(spaceId: string)
apps/web/src/features/billing/data.ts:4
↓ 3 callersFunctiongetUser
(id: string)
apps/web/src/features/user/data.ts:40
↓ 3 callersFunctionhandleOAuthError
(error: unknown)
apps/web/src/lib/oauth/providers/base.ts:23
↓ 3 callersFunctionhexToRgb
(hex: string)
apps/web/src/utils/color.ts:1
↓ 3 callersFunctionisInitialAdmin
(email: string)
apps/web/src/utils/is-initial-admin.ts:3
↓ 3 callersFunctiononSubmit
()
apps/web/src/app/[locale]/(space)/settings/security/components/setup-password-form.tsx:14
↓ 3 callersFunctiononSuccess
(opts)
apps/web/src/trpc/client.ts:8
↓ 3 callersFunctionparseConferencing
( raw: Prisma.JsonValue | null, context?: { scheduledEventId?: string }, )
apps/web/src/features/conferencing/data.ts:8
↓ 3 callersFunctionparseLocation
( raw: Prisma.JsonValue | null, context?: { scheduledEventId?: string }, )
apps/web/src/features/location/data.ts:8
↓ 3 callersFunctionregister
()
apps/web/src/instrumentation.ts:5
↓ 3 callersFunctionremoveModalAt
(index: number)
apps/web/src/components/modal/modal-provider.tsx:39
↓ 3 callersFunctionresolveStorageUrl
(key: string)
apps/web/src/utils/storage.ts:16
↓ 3 callersFunctionsendRawEmail
(options: SendRawEmailOptions)
packages/emails/src/send.tsx:114
↓ 3 callersFunctionstartOf
(date = null, unit)
apps/web/src/components/forms/poll-options-form/dayjs-localizer.ts:69
↓ 3 callersFunctionsyncSpaceTier
( tx: Prisma.TransactionClient, spaceId: string, )
apps/web/src/app/api/stripe/webhook/handlers/utils.ts:31
↓ 3 callersFunctiontoHex
(n: number)
apps/web/src/utils/color.ts:13
↓ 3 callersFunctionuseOptions
()
apps/web/src/components/poll-context.tsx:128
↓ 3 callersFunctionusePasswordValidationSchema
()
apps/web/src/features/password/schema.ts:9
↓ 3 callersFunctionusePoll
()
apps/web/src/contexts/poll.tsx:5
↓ 3 callersFunctionuseRole
()
apps/web/src/contexts/role.tsx:3
↓ 3 callersFunctionuseUpdatePollMutation
()
apps/web/src/components/poll/mutations.ts:68
↓ 2 callersFunctionOAuthError
( message: string, code?: string, details?: unknown, )
apps/web/src/lib/oauth/providers/base.ts:6
↓ 2 callersFunctionaddLocaleToPath
(pathname: string, locale: string)
apps/landing/src/i18n/middleware.ts:20
↓ 2 callersMethodaddParticipant
(name: string, email?: string)
apps/web/tests/poll-page.ts:63
↓ 2 callersFunctionadjustColorForContrast
( color: string, backgroundColor: string, minContrastRatio = 3.5, )
apps/web/src/utils/color.ts:78
↓ 2 callersFunctionapiResponseSchema
(dataSchema: T)
apps/web/src/features/licensing/schema.ts:17
↓ 2 callersFunctionassertRegistrationOpen
(eventId: string)
apps/web/src/features/scheduled-event/actions.ts:20
↓ 2 callersFunctionbuildCalendarFields
(event: ScheduledEventRow)
apps/web/src/app/api/event/[...route]/route.ts:45
↓ 2 callersFunctionbuildEventTypeFormSchema
( t: (key: string, opts: { defaultValue: string }) => string, )
apps/web/src/features/event-types/components/event-type-form.tsx:22
↓ 2 callersFunctioncalculateChecksum
(str: string)
apps/web/src/features/licensing/helpers/calculate-checksum.ts:6
↓ 2 callersFunctioncalculatePasswordStrength
(password: string)
apps/web/src/features/password/utils.ts:13
↓ 2 callersFunctioncaptureEmailHTML
(to: string)
packages/test-helpers/src/mailpit.ts:108
↓ 2 callersFunctioncaptureOne
( to: string, options: { wait?: number } = {}, )
packages/test-helpers/src/mailpit.ts:80
↓ 2 callersFunctionceil
(date, unit)
apps/web/src/components/forms/poll-options-form/dayjs-localizer.ts:167
↓ 2 callersFunctioncleanup
()
apps/web/tests/house-keeping.spec.ts:29
↓ 2 callersFunctioncomputeSignature
(payload: string)
apps/web/src/lib/storage/image-upload.ts:12
↓ 2 callersFunctionconnectToCalendar
( integrationId: string, options: ConnectOptions = {}, )
apps/web/src/features/calendars/client.tsx:15
↓ 2 callersFunctionconvertOptionToString
( option: { startTime: Date; duration: number }, timeZone: string | null, )
apps/web/src/app/[locale]/(optional-space)/poll/[urlId]/edit-options/page.tsx:21
↓ 2 callersMethodcopyInviteLink
()
apps/web/tests/poll-page.ts:42
↓ 2 callersFunctioncreateEventTypeDTO
( eventType: EventType & { host: Pick<User, "id" | "name" | "image"> }, )
apps/web/src/features/event-types/data.ts:10
↓ 2 callersFunctioncreateFile
(mimeType: string, quality: number, suffix = "")
apps/web/src/lib/image-processing.ts:95
↓ 2 callersFunctioncreateLegacySha256Hash
(apiKey: string, salt: string)
apps/web/src/features/api-keys/api-key.test.ts:123
↓ 2 callersFunctioncreateParticipantFullDTO
( participant: Participant & { user: { image: string | null } | null } & { votes: { optionId: string; ty
apps/web/src/trpc/routers/polls/participants.ts:31
↓ 2 callersFunctioncreatePoll
({ userId, title, description, location, timeZone, requireParticipantEmail, hideParticipants,
apps/web/src/features/poll/mutations.ts:23
↓ 2 callersFunctioncreateRsvp
({ eventId, name, email, status, inviteeId, }: { eventId: string; name: string; email: string;
apps/web/src/features/scheduled-event/mutations.ts:7
↓ 2 callersFunctioncreateScheduledEventDTO
(event: { id: string; title: string; description: string | null; location: Prisma.JsonValue | null;
apps/web/src/features/scheduled-event/data.ts:136
↓ 2 callersFunctioncreateSpace
({ name = "Personal", ownerId, tier = isSelfHosted ? "pro" : "hobby", }: { name?: string; ownerId: s
apps/web/src/features/space/mutations.ts:6
↓ 2 callersFunctioncreateStripePortalSessionHandler
(path = "")
apps/web/src/app/api/stripe/portal/helpers/create-portal-session.ts:10
↓ 2 callersFunctiondefineAbilityForSpace
(context?: SpaceAbilityContext)
apps/web/src/features/space/ability.ts:15
↓ 2 callersFunctiondefineAbilityForUser
( builder: AbilityBuilder<UserAbility>, user: UserAbilityContext, )
apps/web/src/features/user/ability.ts:44
↓ 2 callersFunctiondefineSpaceMemberRules
( builder: AbilityBuilder<MemberAbility>, { user, space }: MemberAbilityContext, )
apps/web/src/features/space/member/ability.ts:63
↓ 2 callersFunctiondismiss
()
packages/ui/src/dialog.tsx:158
↓ 2 callersFunctiondispatch
(options: DispatchOptions)
packages/emails/src/send.tsx:35
↓ 2 callersFunctioneq
(a, b, unit)
apps/web/src/components/forms/poll-options-form/dayjs-localizer.ts:88
↓ 2 callersFunctioneventTypeValuesToInput
( values: EventTypeFormValues, )
apps/web/src/features/event-types/components/event-type-form.tsx:121
↓ 2 callersFunctionextractDateFields
(icsContent: string)
apps/web/src/utils/ics.test.ts:42
↓ 2 callersFunctionformatDateWithoutTime
(date: Date)
apps/web/src/components/forms/poll-options-form/utils.ts:7
↓ 2 callersFunctiongetConferencingUri
(conferencing: Conferencing)
apps/web/src/features/conferencing/utils.ts:5
↓ 2 callersFunctiongetContrastRatio
( color1: { r: number; g: number; b: number }, color2: { r: number; g: number; b: number }, )
apps/web/src/utils/color.ts:28
↓ 2 callersFunctiongetCount
( votes: Array<{ type: string; count: number }>, type: string, )
apps/web/src/features/poll/data.ts:70
↓ 2 callersFunctiongetDateProps
(date: Date)
apps/web/src/utils/date-time-utils.ts:82
↓ 2 callersFunctiongetEventAcceptedCount
({ eventId }: { eventId: string })
apps/web/src/features/scheduled-event/data.ts:36
↓ 2 callersFunctiongetEventPhase
({ status, start, end, now, }: { status: ScheduledEventStatus; start: Date; end: Date; now: Da
apps/web/src/features/scheduled-event/registration.ts:9
↓ 2 callersFunctiongetExpandedSubscription
(subscriptionId: string)
apps/web/src/app/api/stripe/webhook/handlers/utils.ts:11
↓ 2 callersFunctiongetImageUploadUrl
({ keyPrefix, entityId, fileType, fileSize, }: GetImageUploadUrlParams)
apps/web/src/lib/storage/image-upload.ts:54
↓ 2 callersFunctiongetLocaleFromRequest
(req: NextRequest)
apps/web/src/lib/locale/server.ts:11
↓ 2 callersFunctiongetMember
(id: string)
apps/web/src/features/space/data.ts:68
↓ 2 callersFunctiongetNotificationRecipient
({ pollId, type, excludeUserId, }: { pollId: string; type: ActivityEventType; excludeUserId: strin
apps/web/src/features/notifications/queries.ts:37
↓ 2 callersFunctiongetPreferredLocaleFromHeaders
({ acceptLanguageHeader, }: { acceptLanguageHeader: string; })
packages/languages/src/get-preferred-locale.ts:5
↓ 2 callersFunctiongetPublicScheduledEvent
(id: string)
apps/web/src/features/scheduled-event/data.ts:10
↓ 2 callersFunctiongetRegistrationEnabled
()
apps/web/src/utils/get-registration-enabled.ts:6
↓ 2 callersFunctiongetSpaceBranding
(space: { showBranding: boolean; primaryColor: string | null; image: string | null; })
apps/web/src/emails/branding.ts:24
↓ 2 callersFunctiongetSubscriptionDetails
(subscription: Stripe.Subscription)
apps/web/src/app/api/stripe/webhook/handlers/utils.ts:53
↓ 2 callersFunctiongetUpcomingEvents
({ search, member, page = 1, pageSize = 20, spaceId, }: { search?: string; member?: string; pa
apps/web/src/features/scheduled-event/data.ts:275
↓ 2 callersFunctiongetUserCount
()
apps/web/src/features/user/queries.ts:3
↓ 2 callersFunctionhandleRoleChange
(newRole: MemberRole)
apps/web/src/app/[locale]/(space)/settings/members/components/member-dropdown-menu.tsx:46
↓ 2 callersFunctioninitI18next
({ lng, ns, }: { lng: string; ns?: Namespace; })
apps/web/src/i18n/i18n.ts:9
↓ 2 callersFunctionisEventFull
({ capacity, acceptedCount, }: { capacity: number | null; acceptedCount: number; })
apps/web/src/features/scheduled-event/registration.ts:32
↓ 2 callersFunctionisSubscriptionActive
(subscription: Stripe.Subscription)
apps/web/src/app/api/stripe/webhook/handlers/utils.ts:17
↓ 2 callersFunctionlte
(a, b, unit)
apps/web/src/components/forms/poll-options-form/dayjs-localizer.ts:112
↓ 2 callersFunctionmoderateContent
({ userId, content, trusted = false, }: { userId: string; content: Record<string, string>; trusted
apps/web/src/features/moderation/index.ts:43
↓ 2 callersFunctionnavigateToPage
(page: number)
apps/web/src/components/pagination.tsx:33
↓ 2 callersFunctionnormalizeLegacyIanaId
(id: string)
apps/web/src/utils/timezone-schema.ts:8
↓ 2 callersFunctionnormalizeVersion
(version: string)
apps/web/src/trpc/routers/system.ts:21
↓ 2 callersFunctionnormalizeVotes
( optionIds: string[], votes: ParticipantForm["votes"], )
apps/web/src/components/poll/mutations.ts:8
← previousnext →101–200 of 1,182, ranked by callers