Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringstack-xyz/boringstack
/ functions
Functions
1,777 in github.com/boringstack-xyz/boringstack
⨍
Functions
1,777
◇
Types & classes
487
↓ 7 callers
Function
toRenderedRecord
(raw: unknown)
apps/api/src/api/notifications/notifications.utils.ts:63
↓ 7 callers
Function
useCookieConsentBanner
()
apps/ui/src/features/consent/CookieConsentBanner/CookieConsentBanner.hooks.ts:7
↓ 7 callers
Function
useWebPushCard
()
apps/ui/src/features/accounts/components/SettingsPage/WebPushCard.hooks.ts:22
↓ 7 callers
Function
verifyResendWebhook
( rawBody: string, headers: IResendVerifiedHeaders, options: IResendVerifyOptions )
apps/api/src/api/webhooks/resend.utils.ts:96
↓ 7 callers
Method
verifyTotpLogin
( challengeToken: string, code: string )
apps/api/src/api/auth/services/mfa.service.ts:193
↓ 6 callers
Function
allow
(reason: str = "")
tools/spec-loop/hooks/solo_spec_gate.py:136
↓ 6 callers
Function
allow
(reason?: string)
tools/spec-loop/hooks/gate.ts:177
↓ 6 callers
Method
approve
* Approving creates the active membership atomically with the * status flip. The acceptance is a single transactional batch so a * crash between
apps/api/src/api/accounts/join-requests.service.ts:124
↓ 6 callers
Function
buildAIProvider
()
apps/api/src/lib/ai/provider-factory.utils.ts:46
↓ 6 callers
Function
buildCacheService
()
apps/api/src/lib/cache/cache.service.utils.ts:18
↓ 6 callers
Method
buildKey
(key: string)
apps/api/src/lib/cache/providers/valkey.ts:22
↓ 6 callers
Function
call
( method: "fatal" | "error" | "warn" | "info" | "debug" | "trace", msg: string, ctx: EventCtx | un
apps/api/src/config/logger/logger.ts:85
↓ 6 callers
Function
checkNoDirectProcessEnv
( root: string, files: readonly string[] )
apps/api/scripts/lint-meta/rules/env/no-direct-process-env.ts:22
↓ 6 callers
Function
computeInvitationExpiresAt
()
apps/api/src/api/accounts/invitations.utils.ts:11
↓ 6 callers
Method
create
(userId: string)
apps/api/src/api/auth/services/session.service.ts:18
↓ 6 callers
Function
encryptString
(plaintext: string)
apps/api/src/lib/crypto/aes-gcm.utils.ts:56
↓ 6 callers
Function
enrollViaService
( userId: string )
apps/api/tests/api/auth/mfa.routes.test.ts:71
↓ 6 callers
Function
extractCookiePair
(setCookie: string | null, name: string)
apps/api/tests/api/auth/auth.routes.test.ts:93
↓ 6 callers
Function
extractTrustedClientIp
(input: IIpExtractionInput)
apps/api/src/config/security/security.ts:75
↓ 6 callers
Function
fetchJson
( url: string, init: RequestInit )
apps/api/src/lib/oauth/oauth.utils.ts:124
↓ 6 callers
Function
formatBadgeCount
(count: number)
apps/ui/src/features/notifications/components/NotificationBell/NotificationBell.utils.ts:3
↓ 6 callers
Function
formatPct
(value: number)
apps/api/scripts/quality/check-coverage.ts:82
↓ 6 callers
Function
insertTestUser
()
apps/api/tests/lib/audit-log/audit-log.service.test.ts:9
↓ 6 callers
Function
installFakeFetch
(response: Response)
apps/api/tests/lib/email/providers/cloudflare.test.ts:20
↓ 6 callers
Function
isMfaRequired
(value: unknown)
apps/api/tests/api/auth/mfa.routes.test.ts:42
↓ 6 callers
Function
isMfaRequiredEnvelope
( data: unknown )
apps/ui/src/features/auth/Auth.session.mutations.utils.ts:13
↓ 6 callers
Method
list
(input: { userId: string; status?: "unread" | "read" | "archived"; limit: number; cursor?: str
apps/api/src/api/notifications/notifications.service.ts:25
↓ 6 callers
Method
login
(data: ILoginInput)
apps/api/src/api/auth/services/auth.service.ts:162
↓ 6 callers
Method
loginAs
(email: string, password: string)
apps/ui/e2e/pages/LoginPage.ts:35
↓ 6 callers
Function
makeKeyPair
()
apps/api/tests/api/webhooks/sendgrid.utils.test.ts:23
↓ 6 callers
Function
makeWrapper
()
apps/ui/src/features/auth/Auth.session.mutations.test.tsx:19
↓ 6 callers
Method
permissiveFallback
* Return a "first request in window" shape so the caller treats the * request as allowed. We choose permissive over restrictive on * infrastruct
apps/api/src/lib/rate-limit/valkey-context.ts:232
↓ 6 callers
Method
readiness
()
apps/api/src/api/health/health.service.ts:7
↓ 6 callers
Method
resend
( accountId: string, invitationId: string, actorUserId: string )
apps/api/src/api/accounts/invitations.service.ts:109
↓ 6 callers
Function
resendEventToReason
( event: IResendEventBase )
apps/api/src/api/webhooks/resend.utils.ts:174
↓ 6 callers
Method
reset
(key?: string)
apps/api/src/lib/rate-limit/valkey-context.ts:173
↓ 6 callers
Function
resolveFreshMembership
( userId: string, accountId: string )
apps/api/src/middleware/require-active-membership.ts:48
↓ 6 callers
Method
revoke
(token: string)
apps/api/src/api/auth/services/session.service.ts:141
↓ 6 callers
Function
rollupStatus
(statuses: ReadinessStatus[])
apps/api/src/api/health/health.runner.ts:8
↓ 6 callers
Function
setupSupportedBrowser
(options: ISetupOptions = {})
apps/ui/src/hooks/useWebPush.hooks.test.tsx:61
↓ 6 callers
Method
softDelete
* Soft-deletes the account by setting `deletedAt`. A background * job hard-deletes the row after the configured grace window (the * `app.account
apps/api/src/api/accounts/accounts.service.ts:211
↓ 6 callers
Function
toFloat
( raw: string | undefined, fallback: number, name?: string )
apps/api/src/config/env/validate.ts:79
↓ 6 callers
Function
toJoinRequest
( row: typeof accountJoinRequests.$inferSelect )
apps/api/src/api/accounts/join-requests.utils.ts:51
↓ 6 callers
Function
toPublicNotification
( row: INotificationRow )
apps/api/src/api/notifications/notifications.utils.ts:78
↓ 6 callers
Function
toPublicUserProfile
(user: IUser)
apps/api/src/api/users/users.utils.ts:3
↓ 6 callers
Function
uniqueEmail
(prefix: string)
apps/ui/e2e/fixtures/helpers.ts:21
↓ 6 callers
Function
useInvitationsPage
()
apps/ui/src/features/accounts/components/InvitationsPage/InvitationsPage.hooks.ts:25
↓ 6 callers
Function
useTheme
()
apps/ui/src/lib/theme/useTheme.ts:9
↓ 6 callers
Function
verifySendGridWebhook
( rawBody: string, headers: ISendGridVerifiedHeaders, options: ISendGridVerifyOptions )
apps/api/src/api/webhooks/sendgrid.utils.ts:46
↓ 6 callers
Function
wrapper
()
apps/ui/src/features/dashboard/Dashboard.queries.test.tsx:32
↓ 5 callers
Function
applyResendEvent
( event: IResendEventBase )
apps/api/src/api/webhooks/resend.utils.ts:212
↓ 5 callers
Function
baseSubscribeInput
(userId: string)
apps/api/tests/api/notifications/notifications.push.service.test.ts:32
↓ 5 callers
Function
buildApp
()
apps/api/tests/middleware/request-logger.test.ts:22
↓ 5 callers
Function
buildApp
()
apps/api/tests/middleware/require-platform-admin.test.ts:14
↓ 5 callers
Function
buildEmailService
()
apps/api/src/lib/email/email.service.utils.ts:49
↓ 5 callers
Function
buildEvent
(type: string)
apps/api/tests/lib/notifications/events/event-registry.test.ts:10
↓ 5 callers
Function
buildStreamUrl
()
apps/ui/src/features/notifications/Notifications.stream-utils.ts:13
↓ 5 callers
Function
catchError
(fn: () => unknown)
apps/api/tests/api/billing/billing.utils.test.ts:18
↓ 5 callers
Function
channelHeaderKey
(channel: string)
apps/ui/src/features/notifications/components/NotificationsPreferencesPage/NotificationsPreferencesPage.utils.ts:4
↓ 5 callers
Method
chat
(options: IAIChatOptions)
apps/api/src/lib/ai/providers/noop/noop.ts:17
↓ 5 callers
Function
checkAuditLogReadAccountScoped
( root: string, sourceFiles: readonly string[] )
apps/api/scripts/lint-meta/rules/source-text/audit-log-read-account-scoped.ts:21
↓ 5 callers
Function
checkEnginePinParity
(root: string)
apps/ui/scripts/lint-meta/rules/ci/engine-pin-parity.ts:242
↓ 5 callers
Function
checkExternalClientTimeouts
( sourceFiles: readonly string[] )
apps/api/scripts/lint-meta/rules/source-text/external-client-timeout.ts:103
↓ 5 callers
Function
checkNoSilentErrorSwallow
( root: string, files: readonly string[] )
apps/ui/scripts/lint-meta/rules/queries/no-silent-error-swallow.ts:62
↓ 5 callers
Function
checkPackageOverrideParity
(appsDir: string)
apps/api/scripts/lint-meta/rules/supply-chain/package-override-parity.ts:213
↓ 5 callers
Function
checkPrePushParity
(root: string)
apps/api/scripts/lint-meta/rules/ci/pre-push-ci-parity.ts:63
↓ 5 callers
Function
checkTofuBootstrapHardening
(root: string)
apps/api/scripts/lint-meta/rules/ci/tofu-bootstrap-hardening.ts:121
↓ 5 callers
Function
checkTofuBootstrapHardening
(root: string)
apps/ui/scripts/lint-meta/rules/ci/tofu-bootstrap-hardening.ts:121
↓ 5 callers
Function
checkTouchedTests
(baseRef: string, root: string)
apps/api/scripts/lint-meta/rules/testing/touch-tests-too.ts:17
↓ 5 callers
Function
checkoutSessionCompletedEvent
( id: string, session: { customer: string; metadata?: Record<string, string> }, eventCreated?: number )
apps/api/tests/helpers/stripe-webhook-fixtures.ts:42
↓ 5 callers
Function
clearMembershipCacheForTests
()
apps/api/src/middleware/require-active-membership.ts:8
↓ 5 callers
Method
complete
(token: string, newPassword: string)
apps/api/src/api/auth/services/password-reset.service.ts:137
↓ 5 callers
Method
dispatch
(ctx: IChannelDispatchContext)
apps/api/src/lib/notifications/channels/sse.channel.ts:40
↓ 5 callers
Function
enforceLimit
( feature: FeatureKey, currentCount: number, limit: number )
apps/api/src/lib/acl/enforce-limit.ts:11
↓ 5 callers
Function
expectRejects
(promise: Promise<unknown>)
apps/api/tests/api/accounts/ownership-transfers.service.test.ts:19
↓ 5 callers
Function
expirationToIso
( value: number | null | undefined )
apps/api/src/api/notifications/notifications.push.utils.ts:11
↓ 5 callers
Function
extractText
(blocks: IAnthropicContentBlock[])
apps/api/src/lib/ai/providers/anthropic/anthropic.utils.ts:40
↓ 5 callers
Function
filterToKnownFeatureKeys
( rows: readonly T[] )
apps/api/src/api/users/users.acl-utils.ts:17
↓ 5 callers
Function
formatActor
(entry: IAuditLogEntry, fallback: string)
apps/ui/src/features/accounts/AuditLog.utils.ts:8
↓ 5 callers
Method
getClient
()
apps/api/src/lib/cache/providers/valkey.ts:26
↓ 5 callers
Function
getHealthClient
()
apps/api/src/api/health/checks/valkey.check.client.ts:16
↓ 5 callers
Method
getMe
(userId: string, accountId: string)
apps/api/src/api/users/users.service.ts:52
↓ 5 callers
Method
getMembershipsForUser
(userId: string)
apps/api/src/api/accounts/accounts.service.ts:104
↓ 5 callers
Function
groupByEventType
( preferences: INotificationPreference[] )
apps/ui/src/features/notifications/components/NotificationsPreferencesPage/NotificationsPreferencesPage.utils.ts:16
↓ 5 callers
Function
insertTestUser
(suffix: string)
apps/api/tests/api/notifications/notifications.push.service.test.ts:15
↓ 5 callers
Function
isLiveOwnershipTransfer
( row: typeof accountOwnershipTransfers.$inferSelect )
apps/api/src/api/accounts/ownership-transfers.utils.ts:44
↓ 5 callers
Function
isRole
(raw: string)
apps/api/src/lib/acl/role-coercion.ts:5
↓ 5 callers
Method
listForUser
(userId: string)
apps/api/src/api/notifications/notifications.push.service.ts:131
↓ 5 callers
Method
listPending
(accountId: string)
apps/api/src/api/accounts/invitations.service.ts:210
↓ 5 callers
Function
loginCookie
( app: ReturnType<typeof createApp>, email: string, password: string )
apps/api/tests/api/billing/billing.routes.test.ts:47
↓ 5 callers
Function
makeChannel
( name: "in-app" | "email" | "sse" )
apps/api/tests/lib/notifications/channels/channel-registry.test.ts:7
↓ 5 callers
Function
makeMembership
(accountId: string)
apps/api/tests/middleware/require-active-membership.memo.test.ts:9
↓ 5 callers
Function
makeNotification
( overrides: Partial<INotification> = {} )
apps/ui/src/features/notifications/Notifications.mutations.test.tsx:40
↓ 5 callers
Function
makeQueueStub
( name: string, counts: Record<string, number> = {} )
apps/api/tests/queues/queue-manager.test.ts:41
↓ 5 callers
Function
makeRow
( overrides: Partial<INotificationTestRow> = {} )
apps/api/tests/api/notifications/notifications.utils.test.ts:29
↓ 5 callers
Function
makeSubscription
(endpoint: string)
apps/ui/src/hooks/useWebPush.hooks.test.tsx:37
↓ 5 callers
Function
makeWorkerStub
()
apps/api/tests/queues/queue-manager.test.ts:72
↓ 5 callers
Function
makeWrapper
()
apps/ui/src/features/auth/Auth.signup.mutations.test.tsx:23
↓ 5 callers
Function
makeWrapper
()
apps/ui/src/features/accounts/components/InvitationsPage/InvitationsPage.hooks.test.tsx:25
↓ 5 callers
Function
mirrorProviderSuppression
( recipient: string, provider: EmailSuppressionProvider, detail: string )
apps/api/src/lib/email/providers/suppression.helpers.ts:40
← previous
next →
201–300 of 1,777, ranked by callers