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
↓ 5 callers
Function
mockMe
( canInvite: boolean, role: "owner" | "admin" | "member" | "viewer" = "owner" )
apps/ui/src/features/accounts/components/InvitationsPage/InvitationsPage.hooks.test.tsx:39
↓ 5 callers
Function
narrowNotificationStatus
(raw: string)
apps/api/src/api/notifications/notifications.utils.ts:18
↓ 5 callers
Function
noopOrFailClosed
( provider: string, missingVar: string )
apps/api/src/lib/email/email.service.utils.ts:38
↓ 5 callers
Function
parseBody
( response: APIResponse, schema: TSchema )
apps/ui/e2e/fixtures/parse.ts:13
↓ 5 callers
Function
parseStreamMessage
( raw: string )
apps/ui/src/features/notifications/Notifications.stream-utils.ts:45
↓ 5 callers
Method
publish
(channel: string, message: string)
apps/api/src/lib/notifications/pubsub/valkey-pubsub.ts:25
↓ 5 callers
Function
redactSensitiveInfo
(url: string)
apps/api/src/middleware/request-logger.utils.ts:3
↓ 5 callers
Function
registerAndLogin
( app: ReturnType<typeof createApp>, email: string )
apps/api/tests/api/dashboard/dashboard.routes.test.ts:59
↓ 5 callers
Function
registerAndVerify
( user: ITestUser, firstName = "E2E", lastName = "User" )
apps/ui/e2e/fixtures/helpers.ts:28
↓ 5 callers
Method
render
* Render a precompiled email template. * * @example * const html = templates.render("auth/confirm-your-email", { * subject: "Confirm
apps/api/src/lib/email/template.service.ts:248
↓ 5 callers
Function
renderAt
(url: string)
apps/ui/src/features/auth/components/VerifyEmailPage/VerifyEmailPage.test.tsx:33
↓ 5 callers
Function
renderWithError
(error: unknown)
apps/ui/src/app/router/RouteErrorBoundary.test.tsx:40
↓ 5 callers
Method
resolveEnabledChannels
* Resolves which of the candidate channels should fire for a given * (user, eventType). Channels with an explicit `enabled=false` * preference e
apps/api/src/lib/notifications/preferences/preferences.service.ts:89
↓ 5 callers
Function
resolveErrorMessage
( status: VerifyEmailStatus, errorMessage: string | null, t: (key: string) => string )
apps/ui/src/features/auth/components/VerifyEmailPage/VerifyEmailPage.utils.ts:9
↓ 5 callers
Function
resolveErrorMessage
( status: InvitationAcceptStatus, errorMessage: string | null, t: (key: string) => string )
apps/ui/src/features/accounts/components/InvitationAcceptPage/InvitationAcceptPage.utils.ts:3
↓ 5 callers
Function
resolveOAuthErrorMessage
( error: string, t: (key: string) => string )
apps/ui/src/lib/auth/oauth.errors.ts:3
↓ 5 callers
Function
runChecks
( checks: IReadinessCheck[] )
apps/api/src/api/health/health.runner.ts:26
↓ 5 callers
Function
signResendBody
( body: string, svixId: string, timestamp: string )
apps/api/tests/api/webhooks/resend.utils.test.ts:23
↓ 5 callers
Function
signSendGridBody
( body: string, timestamp: string, privateKey: KeyObject )
apps/api/tests/api/webhooks/sendgrid.utils.test.ts:34
↓ 5 callers
Function
stripBackticks
(value)
apps/docs/scripts/docs-catalog-lib.mjs:133
↓ 5 callers
Function
successBody
(id: string)
apps/api/tests/lib/email/providers/cloudflare.test.ts:10
↓ 5 callers
Function
toAnthropicMessages
( options: IAIChatOptions )
apps/api/src/lib/ai/providers/anthropic/anthropic.utils.ts:28
↓ 5 callers
Function
toCsv
(raw: string | undefined)
apps/api/src/config/env/validate.ts:109
↓ 5 callers
Function
toOwnershipTransfer
( row: typeof accountOwnershipTransfers.$inferSelect )
apps/api/src/api/accounts/ownership-transfers.utils.ts:51
↓ 5 callers
Method
tryClaim
* Returns `true` when the dedup row was newly inserted (caller should * dispatch), `false` when an existing row collided (caller should skip).
apps/api/src/lib/notifications/dedup.service.ts:24
↓ 5 callers
Function
useAccountSwitcher
()
apps/ui/src/features/accounts/components/AccountSwitcher/AccountSwitcher.hooks.ts:8
↓ 5 callers
Function
useAppSidebar
(props: IAppSidebarProps)
apps/ui/src/components/core/AppSidebar/AppSidebar.hooks.ts:28
↓ 5 callers
Function
useBillingPage
()
apps/ui/src/features/billing/components/BillingPage/BillingPage.hooks.ts:56
↓ 5 callers
Function
useDashboardSummary
()
apps/ui/src/features/dashboard/Dashboard.queries.ts:63
↓ 5 callers
Function
useDashboardWelcome
( props: IDashboardWelcomeProps )
apps/ui/src/features/dashboard/components/DashboardWelcome/DashboardWelcome.hooks.ts:9
↓ 5 callers
Function
useNotificationsPage
()
apps/ui/src/features/notifications/components/NotificationsPage/NotificationsPage.hooks.ts:14
↓ 5 callers
Function
useSettingsPage
()
apps/ui/src/features/accounts/components/SettingsPage/SettingsPage.hooks.ts:83
↓ 5 callers
Function
useThemeToggle
(props: IThemeToggleProps)
apps/ui/src/components/core/ThemeToggle/ThemeToggle.hooks.ts:7
↓ 5 callers
Method
verifyRecoveryLogin
( challengeToken: string, code: string )
apps/api/src/api/auth/services/mfa.service.ts:285
↓ 5 callers
Method
verifySetup
* Complete enrollment. Validates the first TOTP code against the * staged secret, persists the encrypted secret + hashed recovery codes * to Pos
apps/api/src/api/auth/services/mfa.service.ts:105
↓ 5 callers
Function
withList
(seed: ISeed)
apps/ui/src/features/notifications/components/NotificationsPage/NotificationsPage.stories.tsx:67
↓ 5 callers
Function
writeEnginePinFixture
( root: string, options: { engines?: { bun?: string }; dockerBun: string; workflowBu
apps/api/tests/lint-meta/lint-meta.test.ts:1505
↓ 4 callers
Function
acquireCache
()
apps/api/tests/lib/cache/providers/valkey.test.ts:8
↓ 4 callers
Function
applyStatusToCache
( cache: IInfiniteCache | undefined, id: string, nextStatus: INotification["status"] )
apps/ui/src/features/notifications/Notifications.utils.ts:30
↓ 4 callers
Function
applyTheme
(theme: ThemeName)
apps/ui/src/lib/theme/theme.utils.ts:35
↓ 4 callers
Function
authedContext
( user: ITestUser )
apps/ui/e2e/fixtures/helpers.ts:66
↓ 4 callers
Function
bail
(message: string)
apps/ui/scripts/codegen/new-component.ts:15
↓ 4 callers
Function
baseMe
( overrides: Record<string, unknown> )
apps/ui/src/app/router/ProtectedRoute.test.tsx:43
↓ 4 callers
Function
baseView
(overrides: Record<string, unknown> = {})
apps/ui/src/features/accounts/components/AuditLogPage/AuditLogPage.test.tsx:15
↓ 4 callers
Method
buildAuthorizationURL
( creds: IOAuthCredentials, state: string, scopes: string[] )
apps/api/src/lib/oauth/providers/github.ts:91
↓ 4 callers
Function
buildProbeApp
()
apps/api/tests/middleware/require-active-membership.test.ts:75
↓ 4 callers
Function
buildRedirectURI
(provider: OAuthProvider)
apps/api/src/lib/oauth/oauth.utils.ts:40
↓ 4 callers
Function
buildTotp
(secretBase32: string, label: string)
apps/api/src/api/auth/services/mfa.utils.ts:28
↓ 4 callers
Function
checkEnvSchemaDrift
(root: string)
apps/api/scripts/lint-meta/rules/env/env-cascade-drift.ts:8
↓ 4 callers
Function
checkLogicFilesHaveTests
(root: string)
apps/api/scripts/lint-meta/rules/testing/logic-files-require-test-sibling.ts:36
↓ 4 callers
Function
checkNoCrossRepoImports
( root: string, files: readonly string[] )
apps/ui/scripts/lint-meta/rules/source-text/no-cross-repo-import.ts:30
↓ 4 callers
Function
checkNoDirectImportMetaEnv
( root: string, files: readonly string[] )
apps/ui/scripts/lint-meta/rules/env/no-direct-import-meta-env.ts:15
↓ 4 callers
Function
checkPrePushParity
(root: string)
apps/ui/scripts/lint-meta/rules/ci/pre-push-ci-parity.ts:63
↓ 4 callers
Function
checkPrePushScannerParity
( root: string, workflowFiles: readonly string[] )
apps/api/scripts/lint-meta/rules/ci/security-scanner-version-parity.ts:105
↓ 4 callers
Function
checkSharedToolVersionParity
(appsDir: string)
apps/api/scripts/lint-meta/rules/supply-chain/shared-tool-version-parity.ts:99
↓ 4 callers
Function
checkWorkflowServiceImageDigestPin
(file: string)
apps/api/scripts/lint-meta/rules/ci/github-actions-service-image-digest-pin.ts:16
↓ 4 callers
Function
checkWorkflowServiceImageDigestPin
(file: string)
apps/ui/scripts/lint-meta/rules/ci/github-actions-service-image-digest-pin.ts:16
↓ 4 callers
Function
clientPathMatches
( clientUrl: string, targetPath: string, origin: string )
apps/ui/src/lib/web-push/sw-url-sanitize.ts:39
↓ 4 callers
Function
countUnread
(pages: INotificationPage[] | undefined)
apps/ui/src/features/notifications/Notifications.utils.ts:12
↓ 4 callers
Function
customerSubscriptionUpdatedEvent
( id: string, subscription: { id: string; customer: string; status: Stripe.Subscription.Status
apps/api/tests/helpers/stripe-webhook-fixtures.ts:50
↓ 4 callers
Method
debug
(payload: ILogEvent)
apps/ui/src/lib/logger/logger.types.ts:13
↓ 4 callers
Function
displayName
(user: IUser)
apps/ui/src/lib/users/display-name.ts:7
↓ 4 callers
Function
emptyToUndefined
(value: unknown)
apps/ui/src/lib/env/env.loader.ts:17
↓ 4 callers
Function
ensureDir
(path: string)
scripts/spec-init.ts:54
↓ 4 callers
Function
entry
(overrides: Partial<IAuditLogEntry>)
apps/ui/src/features/accounts/AuditLog.utils.test.ts:6
↓ 4 callers
Function
expectStatus
(res, expected, label)
apps/api/scripts/loadtest/api-golden-path.js:57
↓ 4 callers
Function
flattenPages
( pages: INotificationPage[] | undefined )
apps/ui/src/features/notifications/components/NotificationsPage/NotificationsPage.utils.ts:6
↓ 4 callers
Function
formatBytes
(bytes: number)
apps/ui/vite.config.ts:21
↓ 4 callers
Method
getActiveMembership
( userId: string, accountId: string )
apps/api/src/api/accounts/accounts.service.ts:121
↓ 4 callers
Method
getById
(id: string)
apps/api/src/api/users/users.service.ts:23
↓ 4 callers
Method
getSubscription
(accountId: string)
apps/api/src/api/billing/billing.service.ts:103
↓ 4 callers
Method
grantPlan
* Admin-granted plan. Source is recorded so the operator can * distinguish from Stripe-driven plans. Honours the partial unique * "one current p
apps/api/src/api/admin/admin-billing.service.ts:109
↓ 4 callers
Function
isAborted
()
apps/api/src/api/notifications/notifications.sse.ts:49
↓ 4 callers
Function
isFeatureKey
(raw: string)
apps/api/src/api/users/users.acl-utils.ts:7
↓ 4 callers
Function
isJsonObject
(value: unknown)
apps/api/tests/lib/notifications/channels/sse.channel.test.ts:56
↓ 4 callers
Function
isLoginUserEnvelope
(data: unknown)
apps/ui/src/features/auth/Auth.session.mutations.utils.ts:23
↓ 4 callers
Function
isReadinessFatal
(report: IReadinessReport)
apps/api/src/api/health/health.runner.ts:38
↓ 4 callers
Method
isSuppressed
(email: string)
apps/api/src/lib/email/suppression.service.ts:109
↓ 4 callers
Function
latency
()
apps/api/src/api/health/checks/ai.check.ts:18
↓ 4 callers
Function
logStartup
(hostname: string, port: number)
apps/api/src/config/logger/logger.utils.ts:5
↓ 4 callers
Function
makeBootstrap
(root: string, mainTf: string)
apps/api/tests/lint-meta/lint-meta.test.ts:1284
↓ 4 callers
Function
makeBootstrap
(root: string, mainTf: string)
apps/ui/tests/lint-meta/lint-meta.test.ts:742
↓ 4 callers
Function
makeCache
(items: INotification[])
apps/ui/src/features/notifications/Notifications.utils.test.ts:28
↓ 4 callers
Function
makeIdHandler
( fn: (id: string) => void )
apps/ui/src/features/accounts/components/InvitationsPage/InvitationsPage.utils.ts:7
↓ 4 callers
Function
makeWrapper
( me: IMe | null, billingEnabled: boolean )
apps/ui/src/components/core/AppSidebar/AppSidebar.hooks.test.tsx:27
↓ 4 callers
Function
makeWrapper
()
apps/ui/src/features/notifications/Notifications.mutations.test.tsx:26
↓ 4 callers
Function
makeWrapper
()
apps/ui/src/features/notifications/components/NotificationsPage/NotificationsPage.hooks.test.tsx:19
↓ 4 callers
Function
makeWrapper
()
apps/ui/src/features/auth/Auth.mfa.management.mutations.test.tsx:24
↓ 4 callers
Function
makeWrapper
()
apps/ui/src/features/accounts/Accounts.mutations.test.tsx:19
↓ 4 callers
Function
makeWrapper
()
apps/ui/src/features/accounts/Invitations.mutations.test.tsx:23
↓ 4 callers
Function
makeWrapper
()
apps/ui/src/features/accounts/Memberships.mutations.test.tsx:19
↓ 4 callers
Function
makeWrapper
()
apps/ui/src/features/accounts/components/AccountSwitcher/AccountSwitcher.hooks.test.tsx:19
↓ 4 callers
Function
makeWrapper
( me: IMe | null, capabilities: { features: { billing: { enabled: boolean }; notifications
apps/ui/src/features/billing/components/BillingPage/BillingPage.hooks.test.tsx:42
↓ 4 callers
Function
ok
(message: string)
scripts/spec-init.ts:41
↓ 4 callers
Function
prependNotificationToCache
( cache: IInfiniteCache | undefined, notification: INotification )
apps/ui/src/features/notifications/Notifications.utils.ts:78
↓ 4 callers
Function
previewBody
(body: string)
apps/ui/src/features/notifications/components/NotificationListItem/NotificationListItem.utils.ts:3
↓ 4 callers
Function
printPunchList
(kind: string, name: string)
apps/api/scripts/codegen/acl-scaffold/punch-list.ts:6
↓ 4 callers
Method
read
( userId: string, accountId: string, nowMs: number )
apps/api/src/middleware/require-active-membership.memo.ts:32
↓ 4 callers
Function
readStoredTheme
()
apps/ui/src/lib/theme/theme.utils.ts:12
↓ 4 callers
Method
registerAll
(events: readonly IRegisteredEvent[])
apps/api/src/lib/notifications/events/event-registry.ts:28
← previous
next →
301–400 of 1,777, ranked by callers