MCPcopy Create free account

hub / github.com/boringstack-xyz/boringstack / functions

Functions1,777 in github.com/boringstack-xyz/boringstack

↓ 3 callersMethodclose
()
apps/ui/tests/setup.ts:33
↓ 3 callersFunctioncoerceRole
(raw: string)
apps/api/src/lib/acl/role-coercion.ts:19
↓ 3 callersFunctionconstantTimeEqual
(left: string, right: string)
apps/api/src/lib/crypto/aes-gcm.utils.ts:145
↓ 3 callersFunctioncreateAuthorizationURL
( provider: OAuthProvider, scopes: string[], options?: { linkUserId?: string } )
apps/api/src/lib/oauth/oauth.service.ts:20
↓ 3 callersFunctioncurrentTotpStep
()
apps/api/src/api/auth/services/mfa.utils.ts:19
↓ 3 callersMethoddisable
* Turn MFA off. Step-up auth via the current password; clears every * MFA artifact (secret, last step, recovery codes) and fires the * "MFA disa
apps/api/src/api/auth/services/mfa.service.ts:434
↓ 3 callersMethodenqueueEmailDelivery
(data: IEmailDeliveryJobData)
apps/api/src/queues/queue-manager.ts:110
↓ 3 callersMethodenqueueWebPushDelivery
(data: IWebPushDeliveryJobData)
apps/api/src/queues/queue-manager.ts:125
↓ 3 callersMethodensureConfiguredPlans
()
apps/api/src/api/billing/billing.service.ts:249
↓ 3 callersFunctionensurePlansForGetMe
()
apps/api/tests/api/users/users.service.test.ts:23
↓ 3 callersMethoderrorAlerts
()
apps/ui/e2e/pages/LoginPage.ts:40
↓ 3 callersMethodevaluatePrecompiledTemplate
* Revives a Handlebars-precompiled template string into a runtime spec. * `new Function("return " + code)()` is the documented Handlebars * patt
apps/api/src/lib/email/template.service.ts:86
↓ 3 callersFunctionexpectRejects
(promise: Promise<unknown>)
apps/api/tests/api/accounts/join-requests.service.test.ts:57
↓ 3 callersFunctionexpireFeatureOverridesJob
()
apps/api/src/queues/account-maintenance/account-maintenance.jobs.ts:22
↓ 3 callersFunctionextractResendHeaders
( headers: Record<string, string | undefined> )
apps/api/src/api/webhooks/resend.utils.ts:26
↓ 3 callersFunctionextractSendGridHeaders
( headers: Record<string, string | undefined> )
apps/api/src/api/webhooks/sendgrid.utils.ts:22
↓ 3 callersFunctionfail
(message: string)
scripts/spec-init.ts:49
↓ 3 callersFunctionfinish
(available: boolean)
apps/api/tests/helpers/valkey.ts:18
↓ 3 callersFunctionformatAction
(action: string)
apps/ui/src/features/accounts/AuditLog.utils.ts:31
↓ 3 callersFunctionformatExpiresAt
(iso: string)
apps/ui/src/features/accounts/components/InvitationsPage/InvitationsPage.utils.ts:15
↓ 3 callersFunctionformatRequestedAt
(iso: string)
apps/ui/src/features/accounts/components/JoinRequestsPage/JoinRequestsPage.utils.ts:14
↓ 3 callersFunctiongenerateRecoveryCodes
()
apps/api/src/api/auth/services/mfa.utils.ts:43
↓ 3 callersFunctiongenerateTotpForUser
( userId: string, offsetSteps = 0 )
apps/api/tests/api/auth/services/mfa.service.test.ts:28
↓ 3 callersMethodget
(eventType: string)
apps/api/src/lib/notifications/events/event-registry.ts:34
↓ 3 callersFunctiongetCredentials
(provider: OAuthProvider)
apps/api/src/lib/oauth/oauth.utils.ts:48
↓ 3 callersMethodgetPending
(accountId: string)
apps/api/src/api/accounts/ownership-transfers.service.ts:384
↓ 3 callersFunctiongetProp
(value: unknown, key: string)
apps/ui/src/lib/api/openapi.ts:43
↓ 3 callersFunctiongetProvider
(provider: OAuthProvider)
apps/api/src/lib/oauth/oauth.get-provider.ts:4
↓ 3 callersMethodgetQueueStats
* Snapshot of every BullMQ queue's job counts. Returns an empty array * when queues are disabled — admins still get a 200 with `queues: []` * ra
apps/api/src/api/admin/admin.service.ts:12
↓ 3 callersMethodgetStats
* Snapshot of every managed queue's job counts. Drives the admin * `/admin/queues` endpoint. Pure Valkey reads, safe from a request handler.
apps/api/src/queues/queue-manager.ts:177
↓ 3 callersFunctionhardDeleteSoftDeletedAccountsJob
()
apps/api/src/queues/account-maintenance/account-maintenance.jobs.ts:103
↓ 3 callersFunctionimportService
()
apps/ui/src/lib/auth/oauth.service.test.ts:30
↓ 3 callersMethodincrement
( key: string, duration?: number, requestTime?: number )
apps/api/src/lib/rate-limit/valkey-context.ts:97
↓ 3 callersMethodinit
(options: Omit<RateLimitOptions, "context">)
apps/api/src/lib/rate-limit/valkey-context.ts:72
↓ 3 callersFunctioninitGitRepo
(repo: string)
apps/api/tests/lint-meta/lint-meta.test.ts:1852
↓ 3 callersFunctioninsertTestUser
( suffix: string )
apps/api/tests/lib/notifications/channels/email.channel.test.ts:22
↓ 3 callersFunctionisReadinessCheckEntry
( value: unknown )
apps/api/tests/api/health/health.routes.test.ts:5
↓ 3 callersFunctionisValidEmail
(email: string)
apps/api/src/lib/email/email.utils.ts:22
↓ 3 callersFunctionisWebPushConfigured
(source: ICapabilityEnv)
apps/api/src/api/capabilities/capabilities.utils.ts:5
↓ 3 callersMethodlistForAccount
* Read-side: return the most recent audit entries scoped to a given * account. Filter matches either `targetAccountId = accountId` or * `resourc
apps/api/src/lib/audit-log/audit-log.service.ts:56
↓ 3 callersFunctionmakeDashboardSummary
( overrides: Partial<IDashboardSummary> = {} )
apps/ui/tests/factories/dashboard.factory.ts:8
↓ 3 callersFunctionmakeJob
(overrides: Partial<JobStub> = {})
apps/api/tests/lib/tracing/withQueueSpan.test.ts:16
↓ 3 callersFunctionmakeNotification
( overrides: Partial<INotification> = {} )
apps/ui/src/features/notifications/Notifications.list.queries.test.tsx:33
↓ 3 callersFunctionmakeOnSelectHandler
( onSelect: (accountId: string) => void )
apps/ui/src/features/accounts/components/AccountSwitcher/AccountSwitcher.utils.ts:8
↓ 3 callersFunctionmakeProps
( overrides: Partial<INotificationListItemProps> = {} )
apps/ui/src/features/notifications/components/NotificationListItem/NotificationListItem.hooks.test.ts:7
↓ 3 callersFunctionmakeUser
(overrides: Partial<IUser> = {})
apps/api/tests/api/users/users.utils.test.ts:6
↓ 3 callersFunctionmakeUser
(overrides: Partial<IUser> = {})
apps/api/tests/api/auth/auth.utils.test.ts:6
↓ 3 callersFunctionmakeWrapper
()
apps/ui/src/components/core/AppShell/AppShell.hooks.test.tsx:59
↓ 3 callersFunctionmakeWrapper
()
apps/ui/src/features/notifications/components/NotificationsPreferencesPage/NotificationsPreferencesPage.hooks.test.tsx:26
↓ 3 callersFunctionmakeWrapper
()
apps/ui/src/features/notifications/components/NotificationBell/NotificationBell.hooks.test.tsx:27
↓ 3 callersFunctionmakeWrapper
()
apps/ui/src/features/notifications/components/NotificationCenterPopover/NotificationCenterPopover.hooks.test.tsx:19
↓ 3 callersFunctionmakeWrapper
()
apps/ui/src/features/auth/Auth.password.mutations.test.tsx:19
↓ 3 callersFunctionmakeWrapper
()
apps/ui/src/features/accounts/Accounts.queries.test.tsx:19
↓ 3 callersFunctionmakeWrapper
()
apps/ui/src/features/accounts/JoinRequests.queries.test.tsx:19
↓ 3 callersFunctionmakeWrapper
()
apps/ui/src/features/accounts/JoinRequests.mutations.test.tsx:22
↓ 3 callersFunctionmakeWrapper
(initialUrl: string)
apps/ui/src/features/accounts/components/OwnershipTransferAcceptPage/OwnershipTransferAcceptPage.hooks.test.tsx:20
↓ 3 callersFunctionmakeWrapper
(me: IMe | null)
apps/ui/src/features/accounts/components/ProfilePage/ProfilePage.hooks.test.tsx:25
↓ 3 callersFunctionmakeWrapper
()
apps/ui/src/features/dashboard/components/ActivityFeed/ActivityFeed.hooks.test.tsx:18
↓ 3 callersMethodmemoKey
(userId: string, accountId: string)
apps/api/src/middleware/require-active-membership.memo.ts:28
↓ 3 callersFunctionmockOAuthCapabilities
(page: Page)
apps/ui/e2e/oauth.spec.ts:16
↓ 3 callersFunctionmountTestApp
()
apps/api/tests/api/notifications/notifications.push.routes.test.ts:20
↓ 3 callersFunctionnormalizeInvitationEmail
(email: string)
apps/api/src/api/accounts/invitations.utils.ts:14
↓ 3 callersFunctionparseMarkdownTableSection
(text, heading)
apps/docs/scripts/docs-catalog-lib.mjs:100
↓ 3 callersFunctionparsePackageJson
(text: string)
apps/api/scripts/lint-meta/parsers/package-json.ts:25
↓ 3 callersFunctionparseWorkflow
(text: string)
apps/ui/scripts/lint-meta/parsers/workflow.ts:111
↓ 3 callersMethodperformDummyVerify
* Constant-time dummy verify used to flatten the timing signal between * "user exists, wrong password" and "user does not exist."
apps/api/src/lib/password/password-utils.ts:62
↓ 3 callersFunctionpostWebhook
( app: ReturnType<typeof createApp>, body: string, headers: Record<string, string> )
apps/api/tests/api/webhooks/resend.routes.test.ts:33
↓ 3 callersFunctionpostWebhook
( app: ReturnType<typeof createApp>, body: string, headers: Record<string, string> )
apps/api/tests/api/webhooks/sendgrid.routes.test.ts:38
↓ 3 callersFunctionprecompileToString
(input: string)
apps/api/src/templates/email/build.ts:13
↓ 3 callersFunctionprovisionEnrolledUser
()
apps/ui/e2e/mfa.spec.ts:29
↓ 3 callersMethodpurgeExpired
* Removes expired dedup rows. Called by a repeatable BullMQ job in Phase 6 * so the table stays small. Returns the number of rows deleted for *
apps/api/src/lib/notifications/dedup.service.ts:54
↓ 3 callersFunctionreadScriptHeaderDescription
(root, scriptPath)
apps/docs/scripts/docs-catalog-lib.mjs:198
↓ 3 callersFunctionreadSystemPreference
()
apps/ui/src/lib/theme/theme.utils.ts:18
↓ 3 callersMethodrecordFailedAttempt
( challengeKey: string, current: IMfaChallengeCachePayload, userId: string )
apps/api/src/api/auth/services/mfa.service.ts:510
↓ 3 callersFunctionregisterAndLogin
(email: string)
apps/api/tests/api/users/users.routes.test.ts:60
↓ 3 callersFunctionregisterPartials
()
apps/api/src/templates/email/build.ts:40
↓ 3 callersFunctionrenderBell
(unreadCount?: number)
apps/ui/src/features/notifications/components/NotificationBell/NotificationBell.test.tsx:35
↓ 3 callersFunctionrenderPage
()
apps/ui/src/features/auth/components/SignUpPage/SignUpPage.test.tsx:20
↓ 3 callersFunctionrenderPage
()
apps/ui/src/features/dashboard/components/DashboardPage/DashboardPage.test.tsx:53
↓ 3 callersFunctionrenderStream
(client: QueryClient, enabled = true)
apps/ui/src/features/notifications/useNotificationStream.test.tsx:91
↓ 3 callersFunctionrequireAbility
( ability: AppAbility, action: Action, resource: AppSubject )
apps/api/src/lib/acl/ability.ts:76
↓ 3 callersFunctionresolveActiveMembership
( userId: string, accountId: string )
apps/api/src/middleware/require-active-membership.ts:25
↓ 3 callersFunctionresolveMissingCredential
( isProduction: boolean, provider: string, missingVar: string )
apps/api/src/lib/email/email.service.utils.ts:18
↓ 3 callersFunctionrestoreLists
(qc: QueryClient, snapshots: IListSnapshots)
apps/ui/src/features/notifications/Notifications.cache.ts:12
↓ 3 callersFunctionroutePart
(value: unknown)
apps/ui/src/features/auth/components/LoginPage/LoginPage.hooks.ts:30
↓ 3 callersMethodscopedUserFilters
(userId: string, accountId: string)
apps/api/src/api/dashboard/dashboard.service.ts:16
↓ 3 callersFunctionseedResetToken
( userId: string, expiresAt: string = RESET_TTL_FUTURE() )
apps/api/tests/api/auth/services/password-reset.service.test.ts:42
↓ 3 callersFunctionseedUser
(email = "users-svc@example.com")
apps/api/tests/api/users/users.service.test.ts:45
↓ 3 callersMethodshouldSkipStaleStripeEvent
( tx: BillingTransaction, accountId: string, details: IStripeWebhookDetails )
apps/api/src/api/billing/billing.service.ts:323
↓ 3 callersFunctionsingletonMap
( field: string, message: string )
apps/api/src/lib/errors/api-errors.factory.ts:17
↓ 3 callersMethodsizeForTests
Test-only helper. Current entry count, for sweep assertions.
apps/api/src/middleware/require-active-membership.memo.ts:80
↓ 3 callersFunctionslowOk
(name: string)
apps/api/tests/api/health/health.aggregate.test.ts:85
↓ 3 callersFunctionsnapshotLists
(qc: QueryClient)
apps/ui/src/features/notifications/Notifications.cache.ts:6
↓ 3 callersFunctionteamMemberIn
(accountId: string)
apps/ui/src/lib/acl/ability.test.ts:25
↓ 3 callersFunctiontoPublicPushSubscription
( row: IPushSubscriptionRow )
apps/api/src/api/notifications/notifications.push.utils.ts:26
↓ 3 callersFunctiontoStringRecord
(value: unknown)
apps/ui/scripts/lint-meta/parsers/package-json.ts:12
↓ 3 callersFunctiontoggleChannel
( rows: IPreferenceRow[], eventType: string, channel: string )
apps/ui/src/features/notifications/components/NotificationsPreferencesPage/NotificationsPreferencesPage.utils.ts:53
↓ 3 callersFunctionuniqueEmail
(prefix: string)
apps/api/tests/api/auth/auth.routes.test.ts:37
↓ 3 callersMethodupdateProfile
( userId: string, data: IUpdateUserData )
apps/api/src/api/users/users.service.ts:121
↓ 3 callersFunctionuseApproveJoinRequest
( accountId: string | undefined )
apps/ui/src/features/accounts/JoinRequests.mutations.ts:13
← previousnext →501–600 of 1,777, ranked by callers