MCPcopy Create free account

hub / github.com/InsForge/InsForge / functions

Functions3,036 in github.com/InsForge/InsForge

↓ 8 callersFunctionclampOffset
(raw: string)
backend/tests/unit/pagination.test.ts:16
↓ 8 callersMethodclearColumnTypeCache
( tableName?: string, schemaName: string = DEFAULT_DATABASE_SCHEMA )
backend/src/infra/database/database.manager.ts:121
↓ 8 callersFunctioncreateEnvVarDraft
(input?: Partial<Omit<EnvVarDraft, 'id'>>)
packages/dashboard/src/features/deployments/helpers.ts:15
↓ 8 callersFunctionderiveSigningKey
( secret: string, date: string, region: string, service: string )
backend/src/services/storage/s3-signature.ts:116
↓ 8 callersFunctionencodeRecordKey
(row: Record<string, unknown>, primaryKeyColumns: string[])
packages/dashboard/src/features/database/helpers.ts:100
↓ 8 callersFunctionerrorResponse
( res: Response, error: string, message: string, statusCode: number = 500, nextActions?: string )
backend/src/utils/response.ts:27
↓ 8 callersFunctionfilterRecord
Replicates the filtering logic from records.routes.ts for a single record.
backend/tests/unit/records-empty-string-stripping.test.ts:15
↓ 8 callersMethodfindOrCreateThirdPartyUser
* Find or create third-party user (main OAuth user handler) * Adapted from 3-table to 2-table structure
backend/src/services/auth/auth.service.ts:698
↓ 8 callersMethodformatMessages
* Format messages for OpenAI API with multimodal support
backend/src/services/ai/chat-completion.service.ts:78
↓ 8 callersMethodfromRazorpayTimestamp
(unixSeconds: number | null | undefined)
backend/src/services/payments/razorpay/webhook.service.ts:620
↓ 8 callersFunctiongetDatabaseSchemaInfo
( schemas: DatabaseSchemaInfo[] | undefined, schemaName: string )
packages/dashboard/src/features/database/helpers.ts:298
↓ 8 callersMethodgetMutationClient
()
backend/src/providers/payments/razorpay.provider.ts:561
↓ 8 callersFunctiongetPrimaryKeyColumns
(columns?: ColumnSchema[])
packages/dashboard/src/features/database/helpers.ts:48
↓ 8 callersFunctionisPrivateIp
(ip: string)
backend/src/services/email/smtp-config.service.ts:45
↓ 8 callersMethodlistCustomers
()
backend/src/providers/payments/stripe.provider.ts:137
↓ 8 callersFunctionloadAuthMiddleware
()
backend/tests/unit/auth-anon-key-middleware.test.ts:22
↓ 8 callersFunctionmakeFetchMock
(status = 204)
backend/tests/unit/telemetry.service.test.ts:43
↓ 8 callersFunctionmakeOAuthProviderMock
()
backend/tests/unit/auth-oauth-unsupported-provider.test.ts:49
↓ 8 callersFunctionnormalizeHeaders
(h: unknown)
packages/dashboard/src/features/functions/helpers.ts:5
↓ 8 callersMethodrestoreBackup
* Restores the database from a completed backup archive. * * The dump contains every schema, including system.database_backups itself, * so t
backend/src/services/database/database-backup.service.ts:237
↓ 8 callersMethodsanitizeQuery
(query: string)
backend/src/services/database/database-advance.service.ts:71
↓ 8 callersMethodupdateDeploymentStatus
* Update deployment status
backend/src/services/deployments/deployment.service.ts:954
↓ 8 callersFunctionuseProjectId
(options?: UseMetadataOptions)
packages/dashboard/src/lib/hooks/useMetadata.ts:79
↓ 8 callersFunctionuseUsers
(options: UseUsersOptions = {})
packages/dashboard/src/features/auth/hooks/useUsers.ts:12
↓ 7 callersMethodassertColumnExists
(metadata: TableColumnMetadata, columnName: string)
backend/src/services/database/admin-record.service.ts:533
↓ 7 callersFunctioncalculatePricePerMillion
(pricing: RawOpenRouterModel['pricing'])
backend/src/services/ai/helpers.ts:42
↓ 7 callersMethodcheckCode
* Type-check a single function's code with `deno check`. * Runs the transformed code (after legacy conversion) so it catches * require(), bad im
backend/src/providers/functions/deno-subhosting.provider.ts:403
↓ 7 callersFunctionconvertValueForColumn
( type: ColumnType | string, value: string | null | undefined )
packages/dashboard/src/lib/utils/utils.ts:21
↓ 7 callersMethodcreateCustomerPortalSession
( input: StripeCustomerPortalSessionCreateInput )
backend/src/providers/payments/stripe.provider.ts:150
↓ 7 callersMethodcreateFunction
* Create a new function * Saves to DB, then synchronously deploys if active + Subhosting configured. * Returns the function record and optional
backend/src/services/functions/function.service.ts:145
↓ 7 callersMethodcreateService
(input: CreateServiceInput)
backend/src/services/compute/services.service.ts:324
↓ 7 callersMethoddeleteRecords
( schemaName: string, tableName: string, primaryKeys: AdminTableRecordPrimaryKey[] )
backend/src/services/database/admin-record.service.ts:225
↓ 7 callersFunctionescapeSqlLikePattern
(text: string)
backend/src/utils/validations.ts:156
↓ 7 callersMethodexecuteRawSQL
( query: string, params: unknown[] = [], asRoot: boolean = false )
backend/src/services/database/database-advance.service.ts:83
↓ 7 callersFunctionformatBucketLabel
(label: string)
packages/dashboard/src/features/ai/pages/AIOverviewPage.tsx:73
↓ 7 callersFunctionformatDateTime
(value: string | null)
packages/dashboard/src/features/payments/helpers.ts:37
↓ 7 callersFunctionformatModelCredit
(value: number, compact = false)
packages/dashboard/src/features/ai/pages/AIOverviewPage.tsx:35
↓ 7 callersFunctionformatPriceAmount
(price: CatalogPrice)
packages/dashboard/src/features/payments/helpers.ts:98
↓ 7 callersMethodfrom_dict
Construct a Run from a raw API response dict, applying safe defaults.
examples/python-ml-experiment-tracker/tracker/models.py:44
↓ 7 callersMethodgenerateCsrfToken
* Generate CSRF token derived from refresh-session claims using HMAC.
backend/src/infra/security/token.manager.ts:237
↓ 7 callersFunctiongetAuthService
()
backend/tests/unit/auth-oauth-unsupported-provider.test.ts:98
↓ 7 callersMethodgetDeployment
* Get deployment status by deployment ID * GET /v13/deployments/:id
backend/src/providers/deployments/vercel.provider.ts:451
↓ 7 callersFunctiongetErrorMessage
(message: unknown, fallback: string)
backend/tests/unit/cloud-hosting-helpers.test.ts:21
↓ 7 callersMethodgetInstance
()
backend/src/services/payments/stripe/webhook.service.ts:46
↓ 7 callersMethodgetPool
()
backend/src/services/auth/oauth-config.service.ts:42
↓ 7 callersMethodgetPool
()
backend/src/services/realtime/realtime-channel.service.ts:30
↓ 7 callersMethodgetPool
()
backend/src/services/payments/razorpay/subscription.service.ts:86
↓ 7 callersMethodgetPresence
(roomName: string)
backend/src/services/realtime/realtime-presence.service.ts:104
↓ 7 callersMethodgetUserById
* Get user by ID (returns raw database record)
backend/src/services/auth/auth.service.ts:1197
↓ 7 callersFunctionisErrorObject
(err: unknown)
backend/src/utils/errors.ts:113
↓ 7 callersFunctionmakeBackup
(overrides: Record<string, unknown> = {})
packages/dashboard/src/features/database/hooks/__tests__/useDatabaseBackup.test.tsx:27
↓ 7 callersFunctionmockSuccessfulCreate
()
backend/tests/unit/function-security.test.ts:63
↓ 7 callersFunctionokText
(raw: string)
backend/tests/unit/compute/fly-provider.test.ts:328
↓ 7 callersFunctionparseClientType
(value: unknown)
backend/src/utils/utils.ts:129
↓ 7 callersMethodprepareForDeploy
(input: CreateServiceInput)
backend/src/services/compute/services.service.ts:444
↓ 7 callersFunctionreadMigration
()
backend/tests/unit/grant-internal-schema-select-defaults-migration.test.ts:12
↓ 7 callersFunctionreadMigration
()
backend/tests/unit/internal-runtime-defaults-migration.test.ts:11
↓ 7 callersFunctionreadMigrationSql
()
backend/tests/unit/payments-customers-migration.test.ts:12
↓ 7 callersMethodreadRecord
(value: unknown)
backend/src/services/payments/payment-customer.service.ts:540
↓ 7 callersMethodremember
(params: { scope: string; source?: string; transcript?: string; kind?: MemoryKind; title?:
backend/src/services/memory/memory.service.ts:267
↓ 7 callersMethodrequest
(path: string, options: RequestInit = {})
backend/src/providers/compute/fly.provider.ts:65
↓ 7 callersFunctionresetWriteEndpointLimitsToDefaults
()
backend/src/api/middlewares/rate-limiters.ts:310
↓ 7 callersFunctionsetRefreshTokenCookie
(res: Response, value: string)
backend/src/utils/cookies.ts:9
↓ 7 callersMethoduploadFile
* Upload a single file to Vercel * POST /v2/files
backend/src/providers/deployments/vercel.provider.ts:1014
↓ 7 callersMethoduploadFileStream
* Stream a single file to Vercel * POST /v2/files
backend/src/providers/deployments/vercel.provider.ts:1097
↓ 7 callersMethoduploadFiles
* Upload multiple files to Vercel with limited concurrency
backend/src/providers/deployments/vercel.provider.ts:1199
↓ 7 callersFunctionuseDashboardProject
()
packages/dashboard/src/lib/config/DashboardHostContext.tsx:73
↓ 7 callersFunctionuseMcpUsage
(options: UseMcpUsageOptions = {})
packages/dashboard/src/features/logs/hooks/useMcpUsage.ts:26
↓ 7 callersFunctionuseTablePreferences
( tableName: string | null, schemaName: string = 'public', availableColumns?: string[] )
packages/dashboard/src/features/database/hooks/useTablePreferences.ts:220
↓ 6 callersMethod_send_json_error
Send a JSON error response with the given HTTP status, error code, and message.
examples/python-ml-experiment-tracker/tracker/serve.py:132
↓ 6 callersFunctionbestEffortAudit
(params: Parameters<typeof auditService.log>[0])
backend/src/api/routes/compute/services.routes.ts:22
↓ 6 callersMethodbuildAdminRecordsPath
( tableName: string, schemaName: string, suffix: string = '', params?: URLSearchParams )
packages/dashboard/src/features/database/services/record.service.ts:13
↓ 6 callersFunctioncallRoute
( router: Router, overrides: { headers?: Record<string, string>; body?: Record<string, unknown> } )
backend/tests/unit/auth-create-user-route.test.ts:72
↓ 6 callersMethodclearCsrfToken
()
packages/dashboard/src/lib/api/client.ts:28
↓ 6 callersFunctioncreateAPIError
(status: number, message: string)
backend/tests/unit/openrouter-auth-errors.test.ts:20
↓ 6 callersFunctioncreateApp
()
backend/tests/unit/records-auth.test.ts:76
↓ 6 callersMethodcreateRecordingShare
(recordingId: string)
backend/src/providers/analytics/posthog.provider.ts:396
↓ 6 callersFunctionextractBearerToken
(authHeader: string | undefined)
backend/src/api/middlewares/auth.ts:32
↓ 6 callersMethodfetchAllPaginated
* Walk a Razorpay list endpoint to completion. Razorpay caps each page at 100 * records and exposes no total, so we page until a short page signals
backend/src/providers/payments/razorpay.provider.ts:569
↓ 6 callersFunctionfetchWithTimeout
* Fetch with timeout, retry for transient network errors (DNS/socket), and * a separate retry layer for HTTP 429 (rate-limited) responses with * exp
backend/src/providers/functions/deno-subhosting.provider.ts:67
↓ 6 callersFunctionformatCurrencyAmount
(amount: number | null, currency: string | null)
packages/dashboard/src/features/payments/helpers.ts:75
↓ 6 callersFunctionformatNumber
(n: number)
packages/dashboard/src/features/analytics/lib/format.ts:49
↓ 6 callersFunctiongenerateSecureToken
(bytes: number = 32)
backend/src/utils/utils.ts:112
↓ 6 callersMethodgetConnection
(environment: RazorpayEnvironment)
backend/src/services/payments/razorpay/config.service.ts:369
↓ 6 callersFunctiongetExportTableData
()
packages/dashboard/src/features/database/pages/SQLEditorPage.tsx:195
↓ 6 callersMethodgetInstance
* Singleton pattern for global socket manager access
backend/src/infra/socket/socket.manager.ts:41
↓ 6 callersMethodgetInstance
()
backend/src/services/metadata/metadata.service.ts:19
↓ 6 callersMethodgetInstance
()
backend/src/services/payments/razorpay/config.service.ts:65
↓ 6 callersFunctiongetMaxFileSize
()
backend/src/api/middlewares/upload.ts:17
↓ 6 callersMethodgetPool
()
backend/src/services/auth/custom-oauth-config.service.ts:49
↓ 6 callersMethodgetPool
()
backend/src/services/usage/usage.service.ts:30
↓ 6 callersMethodgetPool
()
backend/src/services/payments/razorpay/transaction.service.ts:83
↓ 6 callersMethodgetPool
()
backend/src/services/payments/stripe/checkout.service.ts:74
↓ 6 callersMethodgetPool
()
backend/src/services/payments/stripe/product.service.ts:43
↓ 6 callersFunctiongetProviderIdFromModelId
(modelId: string)
packages/dashboard/src/features/ai/helpers.ts:44
↓ 6 callersMethodgetUploadStrategy
( bucket: string, key: string, metadata: { contentType?: string; size?: number }, maxFileSizeB
backend/src/providers/storage/base.provider.ts:35
↓ 6 callersFunctionhasNoReservedInsForgeNotes
(notes: Record<string, string> | undefined)
packages/shared-schemas/src/payments-api.schema.ts:106
↓ 6 callersFunctionhasRunningBackup
(info: DashboardBackupInfo | null | undefined)
packages/dashboard/src/features/database/hooks/useDatabaseBackup.ts:20
↓ 6 callersMethodlistObjects
( ctx: UserContext | undefined, bucket: string, prefix: string | undefined, limit: number = DE
backend/src/services/storage/storage.service.ts:377
↓ 6 callersMethodlistPrices
()
backend/src/providers/payments/stripe.provider.ts:361
← previousnext →201–300 of 3,036, ranked by callers