Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InsForge/InsForge
/ functions
Functions
3,036 in github.com/InsForge/InsForge
⨍
Functions
3,036
◇
Types & classes
796
↳
Endpoints
3
↓ 681 callers
Method
query
* Query audit logs with filters and return both records and total count
backend/src/services/logs/audit.service.ts:77
↓ 515 callers
Method
getInstance
()
backend/src/services/logs/log.service.ts:29
↓ 325 callers
Method
push
(col: string, val: unknown)
backend/src/services/auth/custom-oauth-config.service.ts:250
↓ 309 callers
Method
get
(id: string)
packages/dashboard/src/features/compute/services/compute.service.ts:27
↓ 231 callers
Function
successResponse
(res: Response, data: T, statusCode: number = 200)
backend/src/utils/response.ts:22
↓ 230 callers
Function
cn
(...inputs: ClassValue[])
packages/ui/src/lib/utils.ts:4
↓ 180 callers
Method
request
( endpoint: string, options: RequestInit & { returnFullResponse?: boolean; skipRefresh?: b
packages/dashboard/src/lib/api/client.ts:54
↓ 137 callers
Method
withAccessToken
(headers: Record<string, string> = {})
packages/dashboard/src/lib/api/client.ts:159
↓ 109 callers
Method
toISOString
(date: unknown)
backend/src/services/schedules/schedule.service.ts:134
↓ 98 callers
Method
send
* Send message to a single webhook URL with retry logic
backend/src/infra/realtime/webhook-sender.ts:30
↓ 97 callers
Function
analyzeQuery
(query: string)
backend/src/utils/sql-parser.ts:86
↓ 66 callers
Function
sendS3Error
( res: Response, code: S3ErrorCode, message: string, opts?: { resource?: string; requestId?: string }
backend/src/api/routes/s3-gateway/errors.ts:47
↓ 65 callers
Function
loadConfig
()
backend/src/infra/config/app.config.ts:134
↓ 58 callers
Method
validateRedirectUrl
* Validates a redirect URL against the server's configured allowed redirect URLs. * * Supports Supabase-compatible glob patterns: * - `https:
backend/src/services/auth/auth-config.service.ts:399
↓ 55 callers
Method
log
* Create a new audit log entry
backend/src/services/logs/audit.service.ts:33
↓ 55 callers
Function
useToast
()
packages/dashboard/src/lib/hooks/useToast.tsx:228
↓ 51 callers
Method
delete
(id: string)
backend/src/services/storage/s3-access-key.service.ts:133
↓ 44 callers
Method
update
(id: string, input: UpdateChannelRequest)
backend/src/services/realtime/realtime-channel.service.ts:117
↓ 43 callers
Method
getPool
()
backend/src/services/storage/storage.service.ts:65
↓ 42 callers
Function
parseZodSchema
( schema: TSchema, value: unknown )
backend/src/utils/zod.ts:24
↓ 40 callers
Function
stubAllowedUrls
* Helper: stub `getAuthConfig` to return the given allowedRedirectUrls. * Uses `mockResolvedValue` so the same stub persists across multiple calls *
backend/tests/unit/auth-config.service.test.ts:41
↓ 39 callers
Function
getStripeObjectId
(value: unknown)
backend/src/services/payments/helpers.ts:73
↓ 37 callers
Function
checkSqlExecutionGuards
(query: string)
backend/src/utils/sql-parser.ts:129
↓ 36 callers
Method
getInstance
()
backend/src/services/auth/auth.service.ts:98
↓ 35 callers
Method
getPool
()
backend/src/services/database/database-table.service.ts:104
↓ 34 callers
Method
sendWithTemplate
* Send email using predefined template * @param email - Recipient email address * @param name - Recipient name * @param template - Template t
backend/src/providers/email/base.provider.ts:21
↓ 33 callers
Function
toISOStringOrNull
(value: Date | string | null | undefined)
backend/src/utils/dates.ts:5
↓ 31 callers
Function
getPaymentEnvironment
(params: unknown)
backend/src/services/payments/helpers.ts:34
↓ 31 callers
Function
normalizeRazorpayError
(error: unknown)
backend/src/providers/payments/razorpay-errors.ts:44
↓ 30 callers
Method
send
* Send an email via SMTP with error handling and transport cleanup.
backend/src/providers/email/smtp.provider.ts:78
↓ 29 callers
Function
dispatchOp
(req: Req)
backend/src/api/routes/s3-gateway/dispatch.ts:53
↓ 29 callers
Method
url
(path: string)
backend/src/providers/webscraper/apify.provider.ts:82
↓ 29 callers
Function
useDashboardHost
()
packages/dashboard/src/lib/config/DashboardHostContext.tsx:65
↓ 28 callers
Function
make
(method: string, pathPlusQuery: string, headers: Record<string, string> = {})
backend/tests/unit/s3-gateway-dispatch.test.ts:4
↓ 26 callers
Function
toISOString
(value: unknown)
backend/src/services/email/smtp-config.service.ts:64
↓ 25 callers
Method
create
(input: CreateS3AccessKeyRequest)
backend/src/services/storage/s3-access-key.service.ts:63
↓ 25 callers
Function
getApiBaseUrl
()
backend/src/utils/environment.ts:25
↓ 25 callers
Function
getS3Bucket
(req: S3GatewayRequest)
backend/src/api/routes/s3-gateway/request.ts:19
↓ 24 callers
Method
getSecretByKey
* Get a decrypted secret by key
backend/src/services/secrets/secret.service.ts:115
↓ 23 callers
Method
broadcastToRoom
* Broadcast to specific room
backend/src/infra/socket/socket.manager.ts:526
↓ 23 callers
Method
getConfigByProvider
* Get OAuth configuration by provider name
backend/src/services/auth/oauth-config.service.ts:98
↓ 23 callers
Function
makeProvider
(parentAppKey?: string)
backend/tests/unit/storage-s3-fallback.test.ts:57
↓ 23 callers
Function
unsetEnvKeys
(...keys: string[])
backend/tests/unit/app.config.test.ts:43
↓ 23 callers
Function
withUserContext
( pool: Pool, ctx: UserContext, fn: (client: PoolClient) => Promise<T>, settings: Record<string, strin
backend/src/services/database/user-context.service.ts:25
↓ 22 callers
Function
fromStripeTimestamp
(value: number | null | undefined)
backend/src/services/payments/helpers.ts:108
↓ 22 callers
Function
normalizeDatabaseSchemaName
(schemaName: unknown)
backend/src/services/database/helpers.ts:17
↓ 21 callers
Function
asUser
(userId: string)
backend/tests/integration/rls.test.ts:11
↓ 21 callers
Method
getPool
()
backend/src/services/auth/auth.service.ts:105
↓ 21 callers
Function
isCloudEnvironment
()
backend/src/utils/environment.ts:9
↓ 21 callers
Function
setActiveTab
(tabId: string)
packages/dashboard/src/features/database/contexts/SQLEditorContext.tsx:156
↓ 21 callers
Method
text
(s: unknown)
backend/src/services/metadata/metadata.service.ts:71
↓ 20 callers
Method
verifyAnonKey
* Verify an opaque anon key against the active key and any rotated keys * still inside their grace period. Cache-backed: this runs on every * an
backend/src/services/secrets/secret.service.ts:639
↓ 19 callers
Method
bucketExists
(bucket: string, db: Pool | PoolClient = this.getPool())
backend/src/services/storage/storage.service.ts:901
↓ 19 callers
Method
encrypt
* Encrypt a value using AES-256-GCM
backend/src/infra/security/encryption.manager.ts:32
↓ 19 callers
Method
handleStripeWebhook
( environment: StripeEnvironment, rawBody: Buffer, signature: string )
backend/src/services/payments/stripe/webhook.service.ts:62
↓ 19 callers
Function
normalizeStripeError
(error: unknown)
backend/src/providers/payments/stripe-errors.ts:34
↓ 19 callers
Method
register
( email: string, password: string, name?: string, autoConfirm?: boolean )
packages/dashboard/src/features/auth/services/user.service.ts:42
↓ 19 callers
Function
toXml
(root: Record<string, unknown>)
backend/src/api/routes/s3-gateway/xml.ts:9
↓ 18 callers
Function
confirm
(confirmOptions: ConfirmOptions)
packages/dashboard/src/lib/hooks/useConfirm.ts:19
↓ 18 callers
Function
expectStripeRuntimeDelete
( queryMock: typeof mockPool.query, tableName: string, environment: string )
backend/tests/unit/stripe-services.test.ts:97
↓ 18 callers
Method
getCredentials
* Get Vercel credentials based on environment
backend/src/providers/deployments/vercel.provider.ts:243
↓ 18 callers
Method
isConfigured
()
backend/src/providers/compute/compute.provider.ts:68
↓ 18 callers
Function
loadSecretService
()
backend/tests/unit/secret-anon-key.test.ts:44
↓ 17 callers
Method
createCheckoutSession
( input: StripeCheckoutSessionCreateInput )
backend/src/providers/payments/stripe.provider.ts:168
↓ 17 callers
Method
getPool
()
backend/src/services/compute/services.service.ts:265
↓ 16 callers
Method
clear
()
backend/src/services/realtime/realtime-presence.service.ts:115
↓ 16 callers
Function
formatValueForDisplay
(value: ConvertedValue, type?: ColumnType)
packages/dashboard/src/lib/utils/utils.ts:91
↓ 16 callers
Method
getS3Key
(bucket: string, key: string)
backend/src/providers/storage/s3.provider.ts:103
↓ 15 callers
Function
column
(overrides: Partial<ColumnSchema>)
packages/dashboard/src/features/database/__tests__/helpers.test.ts:16
↓ 15 callers
Method
generateOAuthUrl
* Generate OAuth authorization URL * @param state - Optional state parameter for CSRF protection * @returns Authorization URL
backend/src/providers/oauth/base.provider.ts:13
↓ 15 callers
Function
getBillingSubjectFromProviderAttributes
( attributes: Record<string, string> | null | undefined )
backend/src/services/payments/helpers.ts:52
↓ 15 callers
Method
getDownloadStrategy
* Generate a download URL. The optional `version` is a cache-bust stamp * (etag/uploaded_at-ms) that providers may incorporate into the URL where
backend/src/providers/storage/base.provider.ts:51
↓ 15 callers
Function
getErrorMessage
(message: unknown, fallback: string)
frontend/src/cloud-hosting/useCloudHosting.ts:212
↓ 15 callers
Method
getPool
()
backend/src/services/secrets/secret.service.ts:55
↓ 15 callers
Method
getPool
()
backend/src/services/deployments/deployment.service.ts:88
↓ 15 callers
Function
getS3Key
(req: S3GatewayRequest)
backend/src/api/routes/s3-gateway/request.ts:27
↓ 15 callers
Method
getService
(id: string)
backend/src/services/compute/services.service.ts:284
↓ 14 callers
Method
close
()
backend/src/providers/logs/base.provider.ts:30
↓ 14 callers
Function
convertSqlTypeToColumnType
(sqlType: string)
backend/src/utils/utils.ts:33
↓ 14 callers
Method
createRazorpayProvider
(environment: RazorpayEnvironment)
backend/src/services/payments/razorpay/config.service.ts:352
↓ 14 callers
Method
generateRefreshToken
* Generate refresh token for secure session management
backend/src/infra/security/token.manager.ts:89
↓ 14 callers
Method
getAuthConfig
* Get authentication configuration * Returns the singleton configuration row with all columns
backend/src/services/auth/auth-config.service.ts:87
↓ 14 callers
Function
makeMockClient
* Records every query call so the test can assert ordering and arguments.
backend/tests/unit/user-context.service.test.ts:11
↓ 14 callers
Function
parseTrustProxySetting
(value = process.env.TRUST_PROXY)
backend/src/utils/trust-proxy.ts:5
↓ 14 callers
Method
quoteIdentifier
(identifier: string)
backend/src/services/database/database-table.service.ts:792
↓ 14 callers
Function
resolvePostgrestSchema
( method: string, query: Record<string, unknown>, headers: ProxyHeaderBag )
backend/src/services/database/helpers.ts:67
↓ 14 callers
Function
useConfirm
()
packages/dashboard/src/lib/hooks/useConfirm.ts:11
↓ 14 callers
Function
usePageSize
(scope: string)
packages/dashboard/src/lib/hooks/usePageSize.ts:20
↓ 13 callers
Method
createApp
(params: { name: string; network: string; org: string })
backend/src/providers/compute/compute.provider.ts:69
↓ 13 callers
Method
delete
Revoke an access key by id. Invalidates the server-side LRU cache.
packages/dashboard/src/features/storage/services/s3-access-key.service.ts:38
↓ 13 callers
Function
formatTime
(timestamp: string)
packages/dashboard/src/lib/utils/utils.ts:171
↓ 13 callers
Method
fromRazorpayTimestamp
(unixSeconds: number | null | undefined)
backend/src/services/payments/razorpay/transaction.service.ts:710
↓ 13 callers
Function
getExportFilename
(baseName: string, options: ExportOptions = {})
packages/dashboard/src/lib/utils/data-export.ts:119
↓ 13 callers
Method
getLogsBySource
( sourceName: string, limit?: number, beforeTimestamp?: string )
backend/src/providers/logs/base.provider.ts:8
↓ 13 callers
Method
getPool
()
backend/src/services/functions/function.service.ts:41
↓ 13 callers
Function
isCloudHostingBackend
(backendUrl: string)
backend/tests/unit/cloud-hosting-helpers.test.ts:12
↓ 13 callers
Function
logsResponse
( entries: Array<{ timestamp: string; level: string; message: string; region?: string }>, nextCursor: stri
backend/tests/unit/deno-app-logs.test.ts:108
↓ 13 callers
Method
transform
(chunk: Buffer, _encoding: BufferEncoding, callback: TransformCallback)
backend/src/services/deployments/deployment.service.ts:859
↓ 13 callers
Method
verifyRefreshToken
* Verify refresh token and return payload * Ensures the token is a valid refresh token (not an access token)
backend/src/infra/security/token.manager.ts:120
↓ 13 callers
Function
withAdminContext
( client: PoolClient, fn: () => Promise<T>, transactionLocal: boolean = false, onCleanupError?: (error
backend/src/services/database/user-context.service.ts:90
next →
1–100 of 3,036, ranked by callers