MCPcopy Create free account

hub / github.com/InsForge/InsForge / functions

Functions3,036 in github.com/InsForge/InsForge

↓ 681 callersMethodquery
* Query audit logs with filters and return both records and total count
backend/src/services/logs/audit.service.ts:77
↓ 515 callersMethodgetInstance
()
backend/src/services/logs/log.service.ts:29
↓ 325 callersMethodpush
(col: string, val: unknown)
backend/src/services/auth/custom-oauth-config.service.ts:250
↓ 309 callersMethodget
(id: string)
packages/dashboard/src/features/compute/services/compute.service.ts:27
↓ 231 callersFunctionsuccessResponse
(res: Response, data: T, statusCode: number = 200)
backend/src/utils/response.ts:22
↓ 230 callersFunctioncn
(...inputs: ClassValue[])
packages/ui/src/lib/utils.ts:4
↓ 180 callersMethodrequest
( endpoint: string, options: RequestInit & { returnFullResponse?: boolean; skipRefresh?: b
packages/dashboard/src/lib/api/client.ts:54
↓ 137 callersMethodwithAccessToken
(headers: Record<string, string> = {})
packages/dashboard/src/lib/api/client.ts:159
↓ 109 callersMethodtoISOString
(date: unknown)
backend/src/services/schedules/schedule.service.ts:134
↓ 98 callersMethodsend
* Send message to a single webhook URL with retry logic
backend/src/infra/realtime/webhook-sender.ts:30
↓ 97 callersFunctionanalyzeQuery
(query: string)
backend/src/utils/sql-parser.ts:86
↓ 66 callersFunctionsendS3Error
( res: Response, code: S3ErrorCode, message: string, opts?: { resource?: string; requestId?: string }
backend/src/api/routes/s3-gateway/errors.ts:47
↓ 65 callersFunctionloadConfig
()
backend/src/infra/config/app.config.ts:134
↓ 58 callersMethodvalidateRedirectUrl
* 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 callersMethodlog
* Create a new audit log entry
backend/src/services/logs/audit.service.ts:33
↓ 55 callersFunctionuseToast
()
packages/dashboard/src/lib/hooks/useToast.tsx:228
↓ 51 callersMethoddelete
(id: string)
backend/src/services/storage/s3-access-key.service.ts:133
↓ 44 callersMethodupdate
(id: string, input: UpdateChannelRequest)
backend/src/services/realtime/realtime-channel.service.ts:117
↓ 43 callersMethodgetPool
()
backend/src/services/storage/storage.service.ts:65
↓ 42 callersFunctionparseZodSchema
( schema: TSchema, value: unknown )
backend/src/utils/zod.ts:24
↓ 40 callersFunctionstubAllowedUrls
* 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 callersFunctiongetStripeObjectId
(value: unknown)
backend/src/services/payments/helpers.ts:73
↓ 37 callersFunctioncheckSqlExecutionGuards
(query: string)
backend/src/utils/sql-parser.ts:129
↓ 36 callersMethodgetInstance
()
backend/src/services/auth/auth.service.ts:98
↓ 35 callersMethodgetPool
()
backend/src/services/database/database-table.service.ts:104
↓ 34 callersMethodsendWithTemplate
* 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 callersFunctiontoISOStringOrNull
(value: Date | string | null | undefined)
backend/src/utils/dates.ts:5
↓ 31 callersFunctiongetPaymentEnvironment
(params: unknown)
backend/src/services/payments/helpers.ts:34
↓ 31 callersFunctionnormalizeRazorpayError
(error: unknown)
backend/src/providers/payments/razorpay-errors.ts:44
↓ 30 callersMethodsend
* Send an email via SMTP with error handling and transport cleanup.
backend/src/providers/email/smtp.provider.ts:78
↓ 29 callersFunctiondispatchOp
(req: Req)
backend/src/api/routes/s3-gateway/dispatch.ts:53
↓ 29 callersMethodurl
(path: string)
backend/src/providers/webscraper/apify.provider.ts:82
↓ 29 callersFunctionuseDashboardHost
()
packages/dashboard/src/lib/config/DashboardHostContext.tsx:65
↓ 28 callersFunctionmake
(method: string, pathPlusQuery: string, headers: Record<string, string> = {})
backend/tests/unit/s3-gateway-dispatch.test.ts:4
↓ 26 callersFunctiontoISOString
(value: unknown)
backend/src/services/email/smtp-config.service.ts:64
↓ 25 callersMethodcreate
(input: CreateS3AccessKeyRequest)
backend/src/services/storage/s3-access-key.service.ts:63
↓ 25 callersFunctiongetApiBaseUrl
()
backend/src/utils/environment.ts:25
↓ 25 callersFunctiongetS3Bucket
(req: S3GatewayRequest)
backend/src/api/routes/s3-gateway/request.ts:19
↓ 24 callersMethodgetSecretByKey
* Get a decrypted secret by key
backend/src/services/secrets/secret.service.ts:115
↓ 23 callersMethodbroadcastToRoom
* Broadcast to specific room
backend/src/infra/socket/socket.manager.ts:526
↓ 23 callersMethodgetConfigByProvider
* Get OAuth configuration by provider name
backend/src/services/auth/oauth-config.service.ts:98
↓ 23 callersFunctionmakeProvider
(parentAppKey?: string)
backend/tests/unit/storage-s3-fallback.test.ts:57
↓ 23 callersFunctionunsetEnvKeys
(...keys: string[])
backend/tests/unit/app.config.test.ts:43
↓ 23 callersFunctionwithUserContext
( pool: Pool, ctx: UserContext, fn: (client: PoolClient) => Promise<T>, settings: Record<string, strin
backend/src/services/database/user-context.service.ts:25
↓ 22 callersFunctionfromStripeTimestamp
(value: number | null | undefined)
backend/src/services/payments/helpers.ts:108
↓ 22 callersFunctionnormalizeDatabaseSchemaName
(schemaName: unknown)
backend/src/services/database/helpers.ts:17
↓ 21 callersFunctionasUser
(userId: string)
backend/tests/integration/rls.test.ts:11
↓ 21 callersMethodgetPool
()
backend/src/services/auth/auth.service.ts:105
↓ 21 callersFunctionisCloudEnvironment
()
backend/src/utils/environment.ts:9
↓ 21 callersFunctionsetActiveTab
(tabId: string)
packages/dashboard/src/features/database/contexts/SQLEditorContext.tsx:156
↓ 21 callersMethodtext
(s: unknown)
backend/src/services/metadata/metadata.service.ts:71
↓ 20 callersMethodverifyAnonKey
* 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 callersMethodbucketExists
(bucket: string, db: Pool | PoolClient = this.getPool())
backend/src/services/storage/storage.service.ts:901
↓ 19 callersMethodencrypt
* Encrypt a value using AES-256-GCM
backend/src/infra/security/encryption.manager.ts:32
↓ 19 callersMethodhandleStripeWebhook
( environment: StripeEnvironment, rawBody: Buffer, signature: string )
backend/src/services/payments/stripe/webhook.service.ts:62
↓ 19 callersFunctionnormalizeStripeError
(error: unknown)
backend/src/providers/payments/stripe-errors.ts:34
↓ 19 callersMethodregister
( email: string, password: string, name?: string, autoConfirm?: boolean )
packages/dashboard/src/features/auth/services/user.service.ts:42
↓ 19 callersFunctiontoXml
(root: Record<string, unknown>)
backend/src/api/routes/s3-gateway/xml.ts:9
↓ 18 callersFunctionconfirm
(confirmOptions: ConfirmOptions)
packages/dashboard/src/lib/hooks/useConfirm.ts:19
↓ 18 callersFunctionexpectStripeRuntimeDelete
( queryMock: typeof mockPool.query, tableName: string, environment: string )
backend/tests/unit/stripe-services.test.ts:97
↓ 18 callersMethodgetCredentials
* Get Vercel credentials based on environment
backend/src/providers/deployments/vercel.provider.ts:243
↓ 18 callersMethodisConfigured
()
backend/src/providers/compute/compute.provider.ts:68
↓ 18 callersFunctionloadSecretService
()
backend/tests/unit/secret-anon-key.test.ts:44
↓ 17 callersMethodcreateCheckoutSession
( input: StripeCheckoutSessionCreateInput )
backend/src/providers/payments/stripe.provider.ts:168
↓ 17 callersMethodgetPool
()
backend/src/services/compute/services.service.ts:265
↓ 16 callersMethodclear
()
backend/src/services/realtime/realtime-presence.service.ts:115
↓ 16 callersFunctionformatValueForDisplay
(value: ConvertedValue, type?: ColumnType)
packages/dashboard/src/lib/utils/utils.ts:91
↓ 16 callersMethodgetS3Key
(bucket: string, key: string)
backend/src/providers/storage/s3.provider.ts:103
↓ 15 callersFunctioncolumn
(overrides: Partial<ColumnSchema>)
packages/dashboard/src/features/database/__tests__/helpers.test.ts:16
↓ 15 callersMethodgenerateOAuthUrl
* Generate OAuth authorization URL * @param state - Optional state parameter for CSRF protection * @returns Authorization URL
backend/src/providers/oauth/base.provider.ts:13
↓ 15 callersFunctiongetBillingSubjectFromProviderAttributes
( attributes: Record<string, string> | null | undefined )
backend/src/services/payments/helpers.ts:52
↓ 15 callersMethodgetDownloadStrategy
* 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 callersFunctiongetErrorMessage
(message: unknown, fallback: string)
frontend/src/cloud-hosting/useCloudHosting.ts:212
↓ 15 callersMethodgetPool
()
backend/src/services/secrets/secret.service.ts:55
↓ 15 callersMethodgetPool
()
backend/src/services/deployments/deployment.service.ts:88
↓ 15 callersFunctiongetS3Key
(req: S3GatewayRequest)
backend/src/api/routes/s3-gateway/request.ts:27
↓ 15 callersMethodgetService
(id: string)
backend/src/services/compute/services.service.ts:284
↓ 14 callersMethodclose
()
backend/src/providers/logs/base.provider.ts:30
↓ 14 callersFunctionconvertSqlTypeToColumnType
(sqlType: string)
backend/src/utils/utils.ts:33
↓ 14 callersMethodcreateRazorpayProvider
(environment: RazorpayEnvironment)
backend/src/services/payments/razorpay/config.service.ts:352
↓ 14 callersMethodgenerateRefreshToken
* Generate refresh token for secure session management
backend/src/infra/security/token.manager.ts:89
↓ 14 callersMethodgetAuthConfig
* Get authentication configuration * Returns the singleton configuration row with all columns
backend/src/services/auth/auth-config.service.ts:87
↓ 14 callersFunctionmakeMockClient
* Records every query call so the test can assert ordering and arguments.
backend/tests/unit/user-context.service.test.ts:11
↓ 14 callersFunctionparseTrustProxySetting
(value = process.env.TRUST_PROXY)
backend/src/utils/trust-proxy.ts:5
↓ 14 callersMethodquoteIdentifier
(identifier: string)
backend/src/services/database/database-table.service.ts:792
↓ 14 callersFunctionresolvePostgrestSchema
( method: string, query: Record<string, unknown>, headers: ProxyHeaderBag )
backend/src/services/database/helpers.ts:67
↓ 14 callersFunctionuseConfirm
()
packages/dashboard/src/lib/hooks/useConfirm.ts:11
↓ 14 callersFunctionusePageSize
(scope: string)
packages/dashboard/src/lib/hooks/usePageSize.ts:20
↓ 13 callersMethodcreateApp
(params: { name: string; network: string; org: string })
backend/src/providers/compute/compute.provider.ts:69
↓ 13 callersMethoddelete
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 callersFunctionformatTime
(timestamp: string)
packages/dashboard/src/lib/utils/utils.ts:171
↓ 13 callersMethodfromRazorpayTimestamp
(unixSeconds: number | null | undefined)
backend/src/services/payments/razorpay/transaction.service.ts:710
↓ 13 callersFunctiongetExportFilename
(baseName: string, options: ExportOptions = {})
packages/dashboard/src/lib/utils/data-export.ts:119
↓ 13 callersMethodgetLogsBySource
( sourceName: string, limit?: number, beforeTimestamp?: string )
backend/src/providers/logs/base.provider.ts:8
↓ 13 callersMethodgetPool
()
backend/src/services/functions/function.service.ts:41
↓ 13 callersFunctionisCloudHostingBackend
(backendUrl: string)
backend/tests/unit/cloud-hosting-helpers.test.ts:12
↓ 13 callersFunctionlogsResponse
( entries: Array<{ timestamp: string; level: string; message: string; region?: string }>, nextCursor: stri
backend/tests/unit/deno-app-logs.test.ts:108
↓ 13 callersMethodtransform
(chunk: Buffer, _encoding: BufferEncoding, callback: TransformCallback)
backend/src/services/deployments/deployment.service.ts:859
↓ 13 callersMethodverifyRefreshToken
* 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 callersFunctionwithAdminContext
( 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