Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Datakitpage/Datakit
/ functions
Functions
1,611 in github.com/Datakitpage/Datakit
⨍
Functions
1,611
◇
Types & classes
664
↳
Endpoints
2
↓ 5 callers
Method
authenticatedRequest
* Make an authenticated request with cookies
backend/integration_tests/utils/test-helpers.ts:54
↓ 5 callers
Method
checkPasswordStrengthWithPersonalInfo
* Check password strength with personal information validation
backend/api/src/auth/services/password.service.ts:22
↓ 5 callers
Method
closeDatabase
()
backend/integration_tests/setup/database-utils.ts:60
↓ 5 callers
Method
closeDuckDBInstance
* Safely closes a DuckDB instance
backend/api/src/postgres-proxy/utils/database.util.ts:139
↓ 5 callers
Function
convertDuckDBColumnTypes
(schemaResult: any)
frontend/src/lib/duckdb/ingestion/convertDuckDBColumnTypes.ts:3
↓ 5 callers
Method
createDailyUsage
(userId: string, operationsCount: number)
backend/integration_tests/fixtures/credit.fixtures.ts:128
↓ 5 callers
Method
createFreeSubscription
( userId: string, workspaceId?: string, )
backend/api/src/subscriptions/subscriptions.service.ts:18
↓ 5 callers
Method
createSubscriptionData
(overrides: Partial<CreateSubscriptionData> = {})
backend/integration_tests/fixtures/subscription.fixtures.ts:17
↓ 5 callers
Method
decrypt
(encryptedText: string)
backend/api/src/postgres-proxy/postgres-proxy.service.ts:82
↓ 5 callers
Method
deletePattern
* Deletes all keys matching a pattern
backend/api/src/postgres-proxy/utils/cache.util.ts:127
↓ 5 callers
Method
emitProgress
(progress: ModelDownloadProgress)
frontend/src/lib/ai/modelManager.ts:187
↓ 5 callers
Method
executeQuery
* Executes a query with timeout and error handling
backend/api/src/postgres-proxy/utils/database.util.ts:162
↓ 5 callers
Method
getDuckDBInstance
( connectionId: string, )
backend/api/src/postgres-proxy/postgres-proxy.service.ts:90
↓ 5 callers
Function
getObjectType
( connection: duckdb.AsyncDuckDBConnection, objectName: string )
frontend/src/lib/duckdb/ingestion/tables.ts:14
↓ 5 callers
Function
getPyodide
()
frontend/src/lib/python/init.ts:242
↓ 5 callers
Method
getUsageHistory
( @Request() req, @Query('limit') limit = 50, @Query('offset') offset = 0, )
backend/api/src/credits/credits.controller.ts:48
↓ 5 callers
Method
handleRequest
(err: any, user: any, info: any)
backend/api/src/auth/guards/test/local-auth.guard.spec.ts:15
↓ 5 callers
Function
monitorMemoryUsage
()
frontend/src/hooks/remote/huggingface/utils.ts:47
↓ 5 callers
Method
recordUsage
( userId: string, modelId: string, provider: string, inputTokens: number, outputTokens: nu
backend/api/src/credits/credits.service.ts:74
↓ 5 callers
Method
revokeToken
(token: string)
backend/api/src/auth/refresh-token.service.ts:92
↓ 5 callers
Method
validateRequest
( userId: string, model: string, messages: AIMessage[], )
backend/api/src/ai/ai.service.ts:57
↓ 5 callers
Method
validateUser
(email: string, password: string)
backend/api/src/auth/auth.service.ts:30
↓ 4 callers
Method
cleanupExpiredTokens
()
backend/api/src/auth/refresh-token.service.ts:121
↓ 4 callers
Function
createCorsOriginChecker
(allowedOrigins: string[])
backend/api/src/utils/cors.utils.ts:1
↓ 4 callers
Method
createDuckDBInstance
* Creates and initializes a new DuckDB instance with PostgreSQL extension
backend/api/src/postgres-proxy/utils/database.util.ts:24
↓ 4 callers
Method
createWorkspaceSubscription
( workspaceId: string, planType: SubscriptionPlan = SubscriptionPlan.FREE, )
backend/api/src/subscriptions/subscriptions.service.ts:37
↓ 4 callers
Function
detectColumnType
(values: any[])
frontend/src/hooks/query/useQueryResultsImport.ts:12
↓ 4 callers
Method
detectSourceType
* Detect data source type from file extension or content
frontend/src/lib/data/dataProcessingUtil.ts:13
↓ 4 callers
Method
expectValidationError
* Expect a validation error response
backend/integration_tests/utils/test-helpers.ts:226
↓ 4 callers
Function
generateColumnQuery
(schema: TableSchema, columnName: string)
frontend/src/components/tabs/query/SchemaBrowser.tsx:435
↓ 4 callers
Method
generateExpiredAccessToken
(userId: string, email: string)
backend/integration_tests/fixtures/auth.fixtures.ts:82
↓ 4 callers
Function
generateFileName
(baseName: string, extension: string, suffix?: string)
frontend/src/components/tabs/preview/inspector/utils/exportUtils.ts:88
↓ 4 callers
Method
generateStreamingCompletion
( userId: string, request: AIRequest, )
backend/api/src/ai/ai.service.ts:141
↓ 4 callers
Method
getAllTables
* Get all tables across all schemas for a connection
frontend/src/lib/api/postgresService.ts:169
↓ 4 callers
Function
getChartTypeIcon
()
frontend/src/components/tabs/preview/inspector/components/charts/MiniChart.tsx:33
↓ 4 callers
Method
getConnection
( @Request() req: any, @Param('connectionId') connectionId: string, )
backend/api/src/postgres-proxy/postgres-proxy.controller.ts:89
↓ 4 callers
Method
getFileSizeCategory
* Get file size category
frontend/src/lib/data/dataProcessingUtil.ts:149
↓ 4 callers
Method
getLoadedLocalModel
()
frontend/src/lib/ai/aiService.ts:219
↓ 4 callers
Method
getModel
()
frontend/src/lib/ai/providers/ollama.ts:489
↓ 4 callers
Method
getSchemas
(connectionId: string)
frontend/src/lib/api/postgresService.ts:59
↓ 4 callers
Function
getTableSchema
(tableName: string)
frontend/src/lib/python/init.ts:407
↓ 4 callers
Method
getUsageStats
(@Request() req)
backend/api/src/credits/credits.controller.ts:67
↓ 4 callers
Function
get_version
()
cli-python/setup.py:9
↓ 4 callers
Function
handleOpenAuthModal
(mode: 'login' | 'signup')
frontend/src/components/auth/UserMenu.tsx:79
↓ 4 callers
Method
handleRequest
(err: any, user: any, info: any)
backend/api/src/auth/guards/test/jwt-auth.guard.spec.ts:16
↓ 4 callers
Method
isModelLoaded
()
frontend/src/lib/ai/providers/webllm.ts:168
↓ 4 callers
Function
isNumericColumn
(columnType: string)
frontend/src/lib/duckdb/inspector/utils/validation.ts:11
↓ 4 callers
Method
loadLocalModel
(modelId: string, onProgress?: (progress: number) => void)
frontend/src/lib/ai/aiService.ts:206
↓ 4 callers
Method
resetMonthlyCredits
()
backend/api/src/subscriptions/subscriptions.service.ts:168
↓ 4 callers
Method
revokeAllUserTokens
(userId: string)
backend/api/src/auth/refresh-token.service.ts:96
↓ 4 callers
Method
saveDownloadedModels
(models: LocalModel[])
frontend/src/lib/ai/modelManager.ts:255
↓ 4 callers
Function
testCORSAccess
( url: string, timeoutMs: number = TIMEOUTS.CORS_TEST )
frontend/src/hooks/remote/huggingface/network.ts:42
↓ 4 callers
Method
toSafeObject
()
backend/api/src/postgres-proxy/entities/postgres-connection.entity.ts:92
↓ 4 callers
Function
toggleDatabase
(dbId: string)
frontend/src/components/tabs/query/SchemaBrowser.tsx:367
↓ 4 callers
Function
toggleFullScreenMode
(mode: 'editor' | 'results')
frontend/src/components/tabs/query/useWorkspaceUIState.ts:63
↓ 4 callers
Function
useAnalytics
()
frontend/src/hooks/useAnalytics.ts:10
↓ 4 callers
Function
useCellFormatting
( columnTypes: string[] = [], isDataMode: boolean = false, animationData?: { animationActive: boolea
frontend/src/components/data-grid/hooks/useCellFormatting.ts:4
↓ 4 callers
Method
useWorkspaceCredits
( workspaceId: string, amount: number, )
backend/api/src/subscriptions/subscriptions.service.ts:127
↓ 4 callers
Method
warmCache
* Warms up cache with common queries
backend/api/src/postgres-proxy/utils/cache.util.ts:331
↓ 3 callers
Function
analyzeQuery
( sql: string, postgresVirtualTables?: Map<string, PostgreSQLVirtualTable>, postgresActiveConnections?:
frontend/src/lib/duckdb/utils/queryRouter.ts:333
↓ 3 callers
Function
applyThemeColor
(hexColor: string)
frontend/src/utils/theme.ts:1
↓ 3 callers
Method
cleanup
* Cleanup expired entries
backend/api/src/postgres-proxy/utils/cache.util.ts:182
↓ 3 callers
Method
create
(createWaitlistDto: CreateWaitlistDto)
backend/api/src/waitlist/waitlist.service.ts:20
↓ 3 callers
Method
createCompleteUserScenario
* Creates a complete user scenario with all related entities
backend/integration_tests/fixtures/index.ts:27
↓ 3 callers
Method
createMultipleUsers
(count: number)
backend/integration_tests/fixtures/user.fixtures.ts:73
↓ 3 callers
Function
detectAvailableFormats
( datasetId: string, authToken?: string )
frontend/src/hooks/remote/huggingface/api.ts:244
↓ 3 callers
Method
discoverTables
( userId: string, connectionId: string, schemaName: string, options: GetSchemaTablesDto = {},
backend/api/src/postgres-proxy/postgres-proxy.service.ts:616
↓ 3 callers
Function
executePendingAction
()
frontend/src/hooks/notebooks/useNotebooksActions.ts:125
↓ 3 callers
Method
executeQuerySingle
* Executes a single row query
backend/api/src/postgres-proxy/utils/database.util.ts:196
↓ 3 callers
Method
extractTableReferences
* Extract all table references from a SQL query
frontend/src/lib/duckdb/utils/queryRouter.ts:98
↓ 3 callers
Function
fetchDirectly
( url: string, onProgress?: (loaded: number, total?: number) => void )
frontend/src/hooks/remote/huggingface/network.ts:79
↓ 3 callers
Function
fetchWithCORSFallback
( originalUrl: string, fileName: string, onProgress?: (loaded: number, total?: number) => void )
frontend/src/hooks/remote/huggingface/network.ts:180
↓ 3 callers
Method
findAll
()
backend/api/src/users/users.service.ts:36
↓ 3 callers
Function
find_free_port
Find a free port in the given range
cli-python/datakit_local/server.py:20
↓ 3 callers
Function
formatCellValue
(value: string, rowIndex: number, colIndex: number)
frontend/src/components/data-grid/DataPreviewGrid.tsx:113
↓ 3 callers
Method
generateCompletion
( messages: AIMessage[], options?: { temperature?: number; maxTokens?: number; strea
frontend/src/lib/ai/providers/anthropic.ts:47
↓ 3 callers
Method
generateRefreshToken
(userId: string, email: string)
backend/integration_tests/fixtures/auth.fixtures.ts:61
↓ 3 callers
Function
getColor
(index: number)
frontend/src/components/tabs/preview/inspector/components/charts/NivoCategoricalChart.tsx:111
↓ 3 callers
Function
getColumnTypeIcon
(type: string)
frontend/src/components/tabs/query/SchemaBrowser.tsx:467
↓ 3 callers
Function
getDatasetInfo
( datasetId: string, authToken?: string )
frontend/src/hooks/remote/huggingface/api.ts:335
↓ 3 callers
Function
getDatasetSplits
( datasetId: string, authToken?: string )
frontend/src/hooks/remote/huggingface/api.ts:92
↓ 3 callers
Function
getDotState
(index: number)
frontend/src/components/tabs/ai/StatusIndicator.tsx:20
↓ 3 callers
Function
getFileIcon
( sourceType: DataSourceType, remoteProvider?: string, isActive: boolean = false )
frontend/src/components/data-grid/FileTabs.tsx:48
↓ 3 callers
Method
getMonthlyCredits
(planType: SubscriptionPlan)
backend/api/src/subscriptions/subscriptions.service.ts:147
↓ 3 callers
Method
getNextResetDate
()
backend/api/src/subscriptions/subscriptions.service.ts:160
↓ 3 callers
Function
getObjectIcon
(type: "table" | "view")
frontend/src/components/tabs/query/SchemaBrowser.tsx:460
↓ 3 callers
Method
getOllamaModels
()
frontend/src/lib/ai/aiService.ts:244
↓ 3 callers
Method
getPasswordRequirements
* Get password requirements
frontend/src/lib/duckdb/utils/passwordValidator.ts:165
↓ 3 callers
Method
getSetupInstructions
()
frontend/src/lib/ai/corsProxy.ts:140
↓ 3 callers
Method
getTables
(connectionId: string, schemaName: string)
frontend/src/lib/api/postgresService.ts:71
↓ 3 callers
Method
getUserRole
(userId: string, workspaceId: string)
backend/api/src/workspaces/workspaces.service.ts:129
↓ 3 callers
Function
handleItemClick
(action: () => void)
frontend/src/components/data-grid/CellContextMenu.tsx:28
↓ 3 callers
Function
handleViewDetails
( columnName: string, type: 'nulls' | 'outliers' | 'duplicates' )
frontend/src/components/tabs/preview/inspector/InspectorPanel.tsx:323
↓ 3 callers
Method
interpolateTemplate
* Interpolate template variables in SQL or prompts
frontend/src/lib/columnActions/columnActionService.ts:319
↓ 3 callers
Function
isFileSystemAccessSupported
()
frontend/src/hooks/useFileImport.ts:12
↓ 3 callers
Method
isFileTooLarge
* Check if file is too large for browser processing
frontend/src/lib/data/dataProcessingUtil.ts:140
↓ 3 callers
Function
isSystemObject
(objectName: string)
frontend/src/lib/duckdb/ingestion/tables.ts:74
↓ 3 callers
Function
loadData
()
frontend/src/components/tabs/ai/LocalModelManager.tsx:42
↓ 3 callers
Function
logApiResponse
(url: string, response: any, error?: any)
frontend/src/lib/api/debugHelper.ts:7
↓ 3 callers
Function
mapDuckDBTypeToColumnType
(duckdbType: string)
frontend/src/hooks/remote/huggingface/importStrategies.ts:34
← previous
next →
101–200 of 1,611, ranked by callers