MCPcopy Create free account

hub / github.com/lightdash/lightdash / functions

Functions15,420 in github.com/lightdash/lightdash

↓ 10 callersFunctionbuildService
(repository: string)
packages/backend/src/services/CiService/CiService.test.ts:55
↓ 10 callersFunctioncarriedUpgradeFloor
( overrides: UpgradeOverridesFile | null, version: string, )
scripts/upgrade-overrides.ts:122
↓ 10 callersMethodcheckAgentAccess
* Checks if a user has access to an AI agent * Returns true if: * 1. The user can manage the AiAgent (admin access) * 2. The agent has
packages/backend/src/ee/services/AiAgentService/AiAgentService.ts:1082
↓ 10 callersMethodcheckReviewAccess
( user: SessionUser, organizationUuid: string, )
packages/backend/src/ee/services/AiAgentAdminService.ts:419
↓ 10 callersFunctionclassifyToolStep
({ name, input, }: AgentToolCall)
packages/backend/src/ee/services/AiWritebackService/utils.ts:402
↓ 10 callersFunctioncontent
(msg: { content: unknown })
packages/backend/src/ee/services/AiAgentService/sqlApprovalReconstruction.test.ts:18
↓ 10 callersMethodcreateMcpServer
( user: SessionUser, projectUuid: string, body: ApiCreateAiMcpServer, )
packages/backend/src/ee/services/AiAgentService/AiAgentService.ts:3066
↓ 10 callersMethodcreateServer
* Creates a new McpServer instance with all handlers registered. * Required for SDK 1.26.0+ stateful mode where each session needs its own server
packages/backend/src/ee/services/McpService/McpService.ts:3014
↓ 10 callersFunctioncreateShareUrl
(data: CreateShareUrl)
packages/frontend/src/hooks/useShare.ts:24
↓ 10 callersFunctionderivePoolIdFromEnv
( env: NodeJS.ProcessEnv = process.env, )
packages/backend/src/scheduler/SchedulerWorkerHealth.ts:13
↓ 10 callersFunctiondetectMigrations
(changes: GitChange[])
scripts/gen-release-safety.ts:128
↓ 10 callersMethodenforceNextUserSignalGrounding
* Next-turn-derived signals require a real next user turn. When there is * none, strip them, and demote the finding when nothing else supports th
packages/backend/src/ee/services/AiAgentReviewClassifierService.ts:775
↓ 10 callersFunctionerofs
()
packages/backend/src/ee/services/ai/repoFs/mountingRepoFileSystem.ts:94
↓ 10 callersFunctionerofs
()
packages/backend/src/ee/services/ai/repoFs/repoFileSystem.ts:43
↓ 10 callersFunctionexplore
( name: string, options: { groups?: string[]; groupLabel?: string; label?: string } = {}, )
packages/frontend/src/components/Explorer/ExploreSideBar/exploreTree.test.ts:8
↓ 10 callersFunctionfilterAggregationCustomMetrics
( cms: TransformedCustomMetric[] | null | undefined, )
packages/common/src/ee/AiAgent/schemas/customMetrics.ts:222
↓ 10 callersMethodfindColumnByName
(modelName: string, columnName: string)
packages/common/src/dbt/DbtSchemaEditor/DbtSchemaEditor.ts:107
↓ 10 callersMethodfindSessionUserByUUID
* Returns the user with the default organization * Used in old methods to get the organizationUuid from the userUuid * You should use findSe
packages/backend/src/models/UserModel.ts:1108
↓ 10 callersFunctionformatSql
( sql: string, warehouseType?: WarehouseTypes, )
packages/common/src/utils/sqlDialect.ts:40
↓ 10 callersFunctionformatTooltipValue
(value: string)
packages/common/src/visualizations/helpers/styles/tooltipStyles.ts:49
↓ 10 callersMethodgetAsyncQueryResults
({ account, projectUuid, queryUuid, page = 1, pageSize, }: GetAsyn
packages/backend/src/services/AsyncQueryService/AsyncQueryService.ts:871
↓ 10 callersFunctiongetCartesianAxisFormatterConfig
({ axisItem, longestLabelWidth, rotate, defaultNameGap, show, parameters, timezone
packages/common/src/visualizations/helpers/getCartesianAxisFormatterConfig.ts:23
↓ 10 callersFunctiongetChartAndDashboardBlocks
({ title, name, description, message, imageUrl, ctaUrl, footerMarkdown, includ
packages/backend/src/clients/Slack/SlackMessageBlocks.ts:126
↓ 10 callersFunctiongetColumnTimezone
( credentials: CreateWarehouseCredentials | WarehouseCredentials, )
packages/common/src/types/projects.ts:559
↓ 10 callersFunctiongetDateGroupLabel
(axisItem: ItemsMap[string])
packages/common/src/index.ts:657
↓ 10 callersFunctiongetFullTextSearchRankCalcSql
({ database, variables, fullTextSearchOperator = 'AND', }: { database: Knex; variables: Re
packages/backend/src/models/SearchModel/utils/search.ts:28
↓ 10 callersMethodgetGroup
(groupUuid: string)
packages/backend/src/models/GroupsModel.ts:367
↓ 10 callersFunctiongetGroupProjectAccessSetupConfig
()
packages/backend/src/config/parseConfig.ts:581
↓ 10 callersFunctiongetIntervalSyntax
( adapterType: SupportedDbtAdapter, column: string, columnWithInterval: string, operator: '='
packages/backend/src/utils/QueryBuilder/MetricQueryBuilder.ts:194
↓ 10 callersFunctiongetLatestSupportDbtVersion
()
packages/common/src/types/projects.ts:770
↓ 10 callersFunctiongetLightdashMonacoTheme
(colorScheme: ColorScheme)
packages/frontend/src/features/sqlRunner/utils/monaco.ts:78
↓ 10 callersFunctiongetLtreePathFromSlug
(slug: string)
packages/common/src/utils/slugs.ts:25
↓ 10 callersFunctiongetMetrics
(explore: Explore)
packages/common/src/utils/fields.ts:121
↓ 10 callersMethodgetMonacoEditorText
()
packages/e2e/cypress/support/commands.ts:123
↓ 10 callersMethodgetOrganizationDesignService
()
packages/backend/src/services/ServiceRepository.ts:589
↓ 10 callersFunctiongetRawValue
(row: ResultRow, fieldId: string)
packages/e2e/cypress/e2e/api/sumDistinctWithFanout.cy.ts:59
↓ 10 callersFunctiongetReviewLane
(item: AiAgentReviewItemSummary)
packages/frontend/src/ee/features/aiCopilot/components/Admin/reviewLane.ts:41
↓ 10 callersMethodgetSavedSqlModel
()
packages/backend/src/models/ModelRepository.ts:744
↓ 10 callersMethodgetSchedulerQueryTags
* Reads scheduler/job context from the request-scoped ExecutionContext * (populated by SchedulerTask handlers when a scheduled job is running)
packages/backend/src/services/AsyncQueryService/AsyncQueryService.ts:3190
↓ 10 callersFunctiongetSchedulerResourceTypeAndId
( scheduler: Scheduler | CreateSchedulerAndTargets, )
packages/common/src/types/scheduler.ts:386
↓ 10 callersMethodgetSchedulersWithTargets
( schedulers: SelectScheduler[], )
packages/backend/src/models/SchedulerModel/index.ts:403
↓ 10 callersFunctiongetSystemRoles
()
packages/common/src/authorization/roleToScopeMapping.ts:287
↓ 10 callersMethodgetUnfurlService
()
packages/backend/src/services/ServiceRepository.ts:1037
↓ 10 callersFunctiongetUserAttributesSetupConfig
()
packages/backend/src/config/parseConfig.ts:513
↓ 10 callersMethodgetValidationService
()
packages/backend/src/services/ServiceRepository.ts:1110
↓ 10 callersFunctionhasMatchingConditionalRules
( field: ItemsMap[string], value: unknown, minMaxMap: ConditionalFormattingMinMaxMap, config:
packages/common/src/utils/conditionalFormatting.ts:124
↓ 10 callersFunctionhasSavedFiltersOverrides
( overrides: DashboardFilters | undefined, )
packages/frontend/src/hooks/useSavedDashboardFiltersOverrides.ts:39
↓ 10 callersFunctionhasUserAttribute
( userAttributes: UserAttributeValueMap, attributeName: string, value: string, )
packages/backend/src/services/UserAttributesService/UserAttributeUtils.ts:95
↓ 10 callersFunctionignoreIndentation
(sql: string)
packages/backend/src/utils/QueryBuilder/utils.test.ts:518
↓ 10 callersFunctionisChartScheduler
( data: Scheduler | CreateSchedulerAndTargets, )
packages/common/src/types/scheduler.ts:382
↓ 10 callersFunctionisConditionalFormattingConfigWithColorRange
( config: ConditionalFormattingConfig, )
packages/common/src/types/conditionalFormatting.ts:86
↓ 10 callersFunctionisCreateSchedulerGoogleChatTarget
( target: | Pick<SchedulerSlackTarget, 'channel'> | Pick<SchedulerEmailTarget, 'recipient'
packages/common/src/types/scheduler.ts:479
↓ 10 callersFunctionisCreateSchedulerMsTeamsTarget
( target: | Pick<SchedulerSlackTarget, 'channel'> | Pick<SchedulerEmailTarget, 'recipient'
packages/common/src/types/scheduler.ts:471
↓ 10 callersFunctionisDateItem
( item: | Field | AdditionalMetric | TableCalculation | CustomSqlDimension
packages/common/src/utils/item.ts:143
↓ 10 callersMethodisFeatureEnabled
(user: { userUuid: string; organizationUuid: string; })
packages/backend/src/ee/services/EmbedService/EmbedService.ts:397
↓ 10 callersFunctionisOrgAssignableScope
(scopeName: string)
packages/common/src/authorization/scopes.ts:984
↓ 10 callersMethodisPositiveThresholdAlert
( thresholds: ThresholdOptions[], results: Record<string, AnyType>[], )
packages/backend/src/scheduler/SchedulerTask.ts:3226
↓ 10 callersFunctionlabel
(overrides: Partial<ScoreboardLabel> = {})
packages/backend/src/ee/repl/scripts/reviewClassifierScoreboard.test.ts:11
↓ 10 callersFunctionlanguageBoolean
( language: SnippetLanguage, value?: boolean, )
packages/frontend/src/ee/features/embed/SettingsEmbed/EmbedCodeSnippet.tsx:45
↓ 10 callersFunctionmakeController
()
packages/backend/src/controllers/geoJsonProxyController.test.ts:21
↓ 10 callersFunctionmakeDimension
( table: string, name: string, type: FilterableDimension['type'] = DimensionType.STRING, )
packages/frontend/src/ee/features/embed/EmbedDashboard/utils.test.ts:13
↓ 10 callersFunctionmakeEvent
(eventType: string, payload = {})
packages/backend/src/ee/services/AiAgentAdminService.test.ts:1374
↓ 10 callersFunctionmakeField
( fieldId: string, table: string, )
packages/frontend/src/components/common/Filters/utils/getAutocompleteFilterGroup.test.ts:43
↓ 10 callersFunctionmakeService
(overrides: { project?: unknown; projectSummary?: unknown; installationId?: string | undefined;
packages/backend/src/ee/services/ProjectContextService/ProjectContextService.test.ts:87
↓ 10 callersFunctionmakeTables
({ dimensions, metrics, }: { dimensions: CompiledDimension[]; metrics: CompiledMetric[]; })
packages/common/src/ee/preAggregates/metricEligibility.test.ts:57
↓ 10 callersFunctionmakeTimeDimension
( name: string, timeInterval: TimeFrames | undefined, overrides?: { type?: DimensionType;
packages/frontend/src/hooks/echarts/timezoneShift.test.ts:24
↓ 10 callersMethodmarkListenLost
()
packages/backend/src/scheduler/SchedulerWorkerHealth.ts:64
↓ 10 callersFunctionmarketingSource
()
packages/backend/src/ee/services/AiWritebackService/AiWritebackService.test.ts:507
↓ 10 callersFunctiononUpdate
(props)
packages/frontend/src/components/common/SuggestionList/generateSuggestion.ts:76
↓ 10 callersFunctionownExpandContractFloor
(input: { migrations: MigrationsResult | null; sqlLint?: SqlLintSummary | null; aiReview?: AiRevie
scripts/gen-release-safety.ts:248
↓ 10 callersMethodparseRoleId
(roleId: string)
packages/backend/src/ee/services/ScimService/ScimService.ts:1856
↓ 10 callersFunctionplanReviewWriteback
( item: AiAgentReviewItemSummary, ymlPathByModel: Map<string, string> = new Map(), )
packages/backend/src/ee/services/ai/reviewWriteback/buildReviewWritebackPrompt.ts:149
↓ 10 callersMethodread
Read a UTF-8 text file.
packages/backend/src/ee/services/SandboxRuntime/types.ts:43
↓ 10 callersFunctionrespond
(response: { result?: unknown; error?: string; })
packages/frontend/src/features/apps/hooks/useAppSdkBridge.ts:559
↓ 10 callersMethodsave
( projectUuid: string, encodedSecret: Buffer, userUuid: string, dashboardUuids
packages/backend/src/ee/models/EmbedModel.ts:103
↓ 10 callersFunctionsleep
(ms: number)
packages/common/src/utils/sleep.ts:1
↓ 10 callersMethodsoftDelete
( user: SessionUser, uuid: string, options?: SoftDeleteOptions, )
packages/backend/src/services/SoftDeletableService.ts:31
↓ 10 callersFunctionsource
(onTiming?: RepoFsTimingCallback)
packages/backend/src/ee/services/ai/repoFs/gitlabRepoSource.test.ts:23
↓ 10 callersMethodtrackSpace
(uuid: string)
packages/api-tests/helpers/test-isolation.ts:34
↓ 10 callersMethodtrackVersionFailed
( payload: AppGeneratePipelineJobPayload, failureStage: | 'sandbox' |
packages/backend/src/ee/services/AppGenerateService/AppGenerateService.ts:1161
↓ 10 callersFunctiontransformSankeyData
( rows: ResultRow[], fields: SankeyFields, { nodeLayout }: { nodeLayout: SankeyNodeLayout }, )
packages/frontend/src/hooks/sankeyTransform.ts:299
↓ 10 callersFunctiontranslateSlackError
( error: unknown, )
packages/common/src/utils/slack.ts:102
↓ 10 callersFunctionupdateSettings
( projectUuid: string, body: { enabled: boolean; schedule: ManagedAgentScheduleOption }, )
packages/frontend/src/ee/features/managedAgent/ManagedAgentSetupModal.tsx:16
↓ 10 callersFunctionuseGetSlack
()
packages/frontend/src/hooks/slack/useSlack.ts:24
↓ 10 callersFunctionuseInfiniteQueryResults
( projectUuid?: string, queryUuid?: string, chartName?: string, )
packages/frontend/src/hooks/useQueryResults.ts:298
↓ 10 callersFunctionvalidateFieldEntityType
( explore: Explore, fieldIds: string[], expectedEntityType: 'dimension' | 'metric', customMetr
packages/backend/src/ee/services/ai/utils/validators.ts:685
↓ 10 callersFunctionvalidateSelectedTabs
( selectedTabs: string[] | null, dashboardTiles: DashboardTile[], )
packages/common/src/utils/dashboard.ts:43
↓ 9 callersFunctionadopt
(prUrl: string)
packages/backend/src/ee/services/AiWritebackService/providers/GithubProvider.test.ts:53
↓ 9 callersFunctionattempt
(callId: string, url: string)
packages/backend/src/ee/services/ai/utils/getSlackBlocks.test.ts:326
↓ 9 callersFunctionauthenticateServiceAccount
( req, res, next, )
packages/backend/src/ee/authentication/middlewares.ts:119
↓ 9 callersFunctionbuild
(state: SavedChartState)
packages/query-sdk/src/savedChart.ts:69
↓ 9 callersFunctionbuildLiquidContext
( parameterValuesMap: Record<string, ParameterValue>, fieldsContext?: FieldsContext, escapeString?
packages/common/src/templating/liquidSql.ts:83
↓ 9 callersFunctionbuildPopAdditionalMetric
({ metric, timeDimensionId, granularity, periodOffset, }: { metric: Pick< Metric,
packages/common/src/types/periodOverPeriodComparison.ts:145
↓ 9 callersFunctionbuildService
()
packages/backend/src/ee/services/AppGenerateService/AppGenerateService.appCode.test.ts:57
↓ 9 callersFunctionbuildService
(overrides: { toolCalls: unknown[]; toolResults: unknown[]; })
packages/backend/src/ee/services/AiAgentService/sqlRunnerLink.test.ts:14
↓ 9 callersFunctionbuildWith
(context: TestScopeContext, scopes: string[])
packages/common/src/authorization/scopeAbilityBuilder.test.ts:2474
↓ 9 callersMethodcleanup
(client: ApiClient)
packages/api-tests/helpers/test-isolation.ts:38
↓ 9 callersFunctioncomputeHexbins
( points: ScatterPoint[], resolution: number, )
packages/frontend/src/components/SimpleMap/hexbin/hexbinUtils.ts:294
↓ 9 callersFunctioncomputeLimitedRowCount
( serverTotal: number, rowLimit: RowLimit | undefined, )
packages/frontend/src/utils/sliceRows.ts:19
↓ 9 callersFunctioncontextFile
( relPath: string, content: string | Buffer, )
packages/backend/src/ee/services/AppGenerateService/appContext.ts:6
← previousnext →801–900 of 15,420, ranked by callers