Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blockmatic/basilic
/ functions
Functions
1,050 in github.com/blockmatic/basilic
⨍
Functions
1,050
◇
Types & classes
63
↓ 1 callers
Function
buildSavePayload
( state: { name: string | null; username: string | null }, user: { name?: string | null; username?: string
apps/web/app/(dashboard)/settings/(profile)/profile-section.tsx:37
↓ 1 callers
Function
buildTokenExchangeError
(err: unknown)
apps/api/src/routes/auth/oauth/google/exchange-helpers.ts:13
↓ 1 callers
Function
buildUrl
(options)
packages/core/src/gen/client/utils.gen.ts:171
↓ 1 callers
Function
buildUserInfoError
(err: unknown)
apps/api/src/routes/auth/oauth/google/exchange-helpers.ts:28
↓ 1 callers
Function
buildUserInfoSpec
(user: { name: string | null email: string | null image: string | null username: string | null creat
apps/api/src/routes/ai/account-info-tool.ts:11
↓ 1 callers
Function
canAttemptRefresh
( errorStatus: number, options: CoreClientOptions, isRefreshEndpoint: boolean, )
packages/core/src/client.ts:73
↓ 1 callers
Function
check
()
apps/api/scripts/run-e2e-local.mjs:37
↓ 1 callers
Function
check
()
apps/web/scripts/run-e2e-local.mjs:37
↓ 1 callers
Function
checkAuthStatus
(request: NextRequest)
apps/web/proxy.ts:18
↓ 1 callers
Function
checkBrewAvailable
()
scripts/setup-osv-scanner.mjs:62
↓ 1 callers
Function
checkBrewAvailable
()
scripts/setup-gitleaks.mjs:62
↓ 1 callers
Function
checkDockerCompose
()
scripts/setup-database.mjs:298
↓ 1 callers
Function
checkForExistence
( options: Pick<RequestOptions, "auth" | "query"> & { headers: Headers; }, name?: string, )
packages/core/src/gen/client/utils.gen.ts:114
↓ 1 callers
Function
checkToolExists
(toolName)
scripts/ensure-tool.mjs:55
↓ 1 callers
Function
checkToolExists
(toolName)
scripts/scan-secrets-staged.mjs:6
↓ 1 callers
Function
checkToolExists
(toolName)
scripts/scan-osv.mjs:6
↓ 1 callers
Function
clearAuthCookiesOnResponse
(response: { cookies: { set: (name: string, value: string, opts?: object) => void } })
apps/web/lib/auth/auth-server.ts:40
↓ 1 callers
Function
clearSessionPool
()
apps/api/test/utils/auth-helper.ts:23
↓ 1 callers
Function
collectCommandSpecs
(obj, pathPrefix = [], acc = [])
packages/cli/scripts/generate-cli.mjs:56
↓ 1 callers
Function
collectOperationIds
(obj, acc = new Set())
packages/core/scripts/generate-wrapper.mjs:75
↓ 1 callers
Function
create
({ emailService, type, payload, options, }: { emailService: ReturnType<typeof createEmailService> }
packages/notif/src/index.ts:70
↓ 1 callers
Function
createAccountInfoTool
(userId: string)
apps/api/src/routes/ai/account-info-tool.ts:41
↓ 1 callers
Function
createApiKey
( _app: TestApp, userId: string, name = 'Test Key', )
apps/api/test/utils/auth-helper.ts:27
↓ 1 callers
Function
createBraveSearchTool
(apiKey: string, log: FastifyBaseLogger)
apps/api/src/routes/ai/brave-search.ts:8
↓ 1 callers
Function
createClient
(config: Config = {})
packages/core/src/gen/client/client.gen.ts:27
↓ 1 callers
Function
createInterceptors
()
packages/core/src/gen/client/utils.gen.ts:302
↓ 1 callers
Function
createMockClient
()
packages/react/src/hooks/use-link-email.test.tsx:8
↓ 1 callers
Function
createNotifications
()
packages/notif/src/index.ts:224
↓ 1 callers
Function
createReactApiConfig
(options: ReactApiConfig)
packages/react/src/setup.ts:84
↓ 1 callers
Function
createSseClient
({ onRequest, onSseError, onSseEvent, responseTransformer, responseValidator, sseDefaultRetryDelay
packages/core/src/gen/core/serverSentEvents.gen.ts:89
↓ 1 callers
Function
createVerificationTable
()
apps/api/scripts/create-verification-table.ts:10
↓ 1 callers
Function
createWrapper
(client: ReturnType<typeof createMockClient>)
packages/react/src/hooks/use-link-email.test.tsx:20
↓ 1 callers
Function
decodeSession
(token: string | null)
packages/react/src/hooks/use-session.ts:17
↓ 1 callers
Function
decryptPasskeyTokens
(record: PasskeyCallback)
apps/api/src/db/passkey-callback.ts:14
↓ 1 callers
Function
defaultPathSerializer
({ path, url: _url }: PathSerializer)
packages/core/src/gen/core/utils.gen.ts:18
↓ 1 callers
Function
detectSuspiciousActivity
(request: FastifyRequest)
apps/api/src/lib/security.ts:48
↓ 1 callers
Function
discriminate
(body: { token?: string email?: string verificationId?: string })
apps/api/src/routes/account/email/change/verify.ts:37
↓ 1 callers
Function
doRefresh
( options: CoreClientOptions, client: ReturnType<typeof createHeyApiClient>, )
packages/core/src/client.ts:59
↓ 1 callers
Function
encryptTotpSecret
(secret: string)
apps/api/src/lib/totp.ts:45
↓ 1 callers
Function
enrichError
(response: Awaited<ReturnType<typeof sendMagicLinkOnce>>)
apps/web/e2e/auth-helpers.ts:25
↓ 1 callers
Function
ensureApiKey
()
packages/cli/src/cli.ts:33
↓ 1 callers
Function
errorToString
(err: unknown)
apps/api/src/routes/ai/upstream-error.ts:3
↓ 1 callers
Function
extractModuleFromRoute
* Extracts module name from route path * Examples: /users/123 → 'user-service', /payments → 'payment-service'
apps/api/src/plugins/error-handler.ts:21
↓ 1 callers
Method
extractTokenFromUrls
(html: string)
apps/api/test/utils/fake-email.ts:132
↓ 1 callers
Function
fetchGoogleTokens
(input: { code: string codeVerifier: string redirectUri: string clientId: string clientSecret: strin
apps/api/src/lib/oauth-google.ts:26
↓ 1 callers
Function
fetchGoogleUserInfo
(accessToken: string)
apps/api/src/lib/oauth-google.ts:75
↓ 1 callers
Function
fetchHeadlines
()
apps/web/app/(dashboard)/(news)/page.tsx:8
↓ 1 callers
Function
fetchMarkets
()
apps/web/app/(dashboard)/markets/page.tsx:8
↓ 1 callers
Function
fetchTwitterOAuthData
(input: { code: string codeVerifier: string redirectUri: string twitterClientId: string twitterClien
apps/api/src/lib/oauth-twitter.ts:142
↓ 1 callers
Function
filterTransports
(arr: string[] | null)
apps/api/src/lib/passkey-auth.ts:10
↓ 1 callers
Function
findOrCreateUserForMagicLink
( db: Awaited<ReturnType<typeof getDb>>, email: string, )
apps/api/src/routes/auth/magiclink/request.ts:18
↓ 1 callers
Function
formatDate
(dateString: string)
packages/email/emails/login-notification.tsx:38
↓ 1 callers
Function
formatDate
(iso: string)
apps/web/app/(dashboard)/settings/security/passkeys-card.tsx:36
↓ 1 callers
Function
formatTransactionDate
(date: string)
packages/email/emails/transactions.tsx:14
↓ 1 callers
Function
generate
( options: Options<GenerateData, ThrowOnError>, )
packages/core/src/gen/sdk.gen.ts:571
↓ 1 callers
Function
generateClientTypeLines
(obj, indent = 0)
packages/core/scripts/generate-wrapper.mjs:108
↓ 1 callers
Function
generateCodeChallenge
(verifier: string)
apps/api/src/routes/auth/oauth/twitter/link-authorize-url.ts:22
↓ 1 callers
Function
generateCodeChallenge
(verifier: string)
apps/api/src/routes/auth/oauth/twitter/authorize-url.ts:27
↓ 1 callers
Function
generateCodeChallenge
(verifier: string)
apps/api/src/routes/auth/oauth/google/link-authorize-url.ts:30
↓ 1 callers
Function
generateCodeChallenge
(verifier: string)
apps/api/src/routes/auth/oauth/google/authorize-url.ts:27
↓ 1 callers
Function
generateCodeVerifier
()
apps/api/src/routes/auth/oauth/twitter/link-authorize-url.ts:18
↓ 1 callers
Function
generateCodeVerifier
()
apps/api/src/routes/auth/oauth/twitter/authorize-url.ts:23
↓ 1 callers
Function
generateCodeVerifier
()
apps/api/src/routes/auth/oauth/google/link-authorize-url.ts:26
↓ 1 callers
Function
generateCodeVerifier
()
apps/api/src/routes/auth/oauth/google/authorize-url.ts:23
↓ 1 callers
Function
generateFunnyUsername
()
apps/web/app/(dashboard)/settings/(profile)/profile-section.tsx:31
↓ 1 callers
Function
generateNestedObject
(obj, indent = 0)
packages/core/scripts/generate-wrapper.mjs:58
↓ 1 callers
Function
generateOpenAPI
()
apps/api/scripts/generate-openapi.ts:93
↓ 1 callers
Function
generateTestUsername
(email: string)
apps/api/src/lib/username.ts:34
↓ 1 callers
Function
generateTotpCode
(secret: string)
apps/api/src/lib/totp.ts:26
↓ 1 callers
Function
generateTotpSecret
()
apps/api/src/lib/totp.ts:6
↓ 1 callers
Function
generateTotpUri
({ secret, issuer, label, }: { secret: string issuer: string label: string })
apps/api/src/lib/totp.ts:10
↓ 1 callers
Function
getActiveValue
(pathname: string)
apps/web/app/(dashboard)/settings/security/security-tabs.tsx:22
↓ 1 callers
Function
getAlchemyRpcUrl
(chainId: number | string, apiKey: string)
packages/utils/src/web3/alchemy.ts:49
↓ 1 callers
Function
getApiUrl
()
apps/web/next.config.mjs:22
↓ 1 callers
Function
getArchitecture
()
scripts/setup-osv-scanner.mjs:106
↓ 1 callers
Function
getArchitecture
()
scripts/setup-gitleaks.mjs:98
↓ 1 callers
Function
getAuthToken
( auth: Auth, callback: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken, )
packages/core/src/gen/core/auth.gen.ts:22
↓ 1 callers
Function
getButtonInjectionScript
()
apps/api/src/routes/reference/template-scripts.ts:1
↓ 1 callers
Function
getCanonicalAddress
({ chain, address, }: { chain: Web3Chain address: string })
apps/api/src/lib/web3-verify.ts:63
↓ 1 callers
Function
getConfig
()
packages/core/src/gen/client/client.gen.ts:30
↓ 1 callers
Function
getConfigDir
()
packages/cli/src/config.ts:10
↓ 1 callers
Function
getDevMenuHint
()
apps/mobile/src/app/index.tsx:12
↓ 1 callers
Function
getEmailDarkModeCSS
()
packages/email/components/theme.tsx:28
↓ 1 callers
Function
getInitScript
(opts: { apiUrl: string openApiUrl: string callbackUrl: string jwtToken: string | null verificationI
apps/api/src/routes/reference/template-scripts.ts:94
↓ 1 callers
Function
getInitials
(name: string | null, email: string | null)
apps/web/components/assistant/user-info-catalog.tsx:26
↓ 1 callers
Function
getLatestVersion
(repo)
scripts/setup-database.mjs:133
↓ 1 callers
Function
getLatestVersion
(repo)
scripts/setup-osv-scanner.mjs:80
↓ 1 callers
Function
getLatestVersion
(repo)
scripts/setup-gitleaks.mjs:80
↓ 1 callers
Function
getMDXComponents
(components?: MDXComponents)
apps/docu/mdx-components.tsx:9
↓ 1 callers
Function
getMaxAgeFromRefreshToken
(refreshToken: string)
apps/web/lib/auth/auth-server.ts:20
↓ 1 callers
Function
getMergedTools
(userId: string, log: import('fastify').FastifyBaseLogger)
apps/api/src/routes/ai/account-info-tool.ts:64
↓ 1 callers
Function
getNested
( client: object, path: readonly string[], )
packages/cli/src/run-command.ts:11
↓ 1 callers
Function
getNotificationTypeByType
(typeString: string)
packages/notif/src/notification-types.ts:39
↓ 1 callers
Function
getOrCreateCommand
(parent: Command, pathSegment: string)
packages/cli/src/cli.ts:119
↓ 1 callers
Function
getParams
(operation)
packages/cli/scripts/generate-cli.mjs:66
↓ 1 callers
Function
getParseAs
( contentType: string | null, )
packages/core/src/gen/client/utils.gen.ts:73
↓ 1 callers
Function
getPgErrorCode
(err: unknown)
apps/api/src/lib/db-errors.ts:2
↓ 1 callers
Function
getPlatform
()
scripts/ensure-tool.mjs:69
↓ 1 callers
Function
getPlatform
()
scripts/setup-osv-scanner.mjs:54
↓ 1 callers
Function
getPlatform
()
scripts/setup-gitleaks.mjs:54
← previous
next →
201–300 of 1,050, ranked by callers