MCPcopy Create free account

hub / github.com/lightdash/lightdash / functions

Functions15,420 in github.com/lightdash/lightdash

↓ 5 callersFunctionselectThreadSqlModeRaw
(threadUuid: string)
packages/frontend/src/ee/features/aiCopilot/store/aiAgentThreadModeSlice.ts:47
↓ 5 callersMethodsend
(url: string, init: RequestInit)
packages/backend/src/ee/services/SandboxRuntime/AzureContainerAppsSandboxProvider.ts:182
↓ 5 callersMethodsend
Send a request, re-minting the bearer once on a 401/403 and retrying.
packages/backend/src/ee/services/SandboxRuntime/AzureSandboxExecChannel.ts:124
↓ 5 callersMethodsendPasswordRecoveryEmail
(link: PasswordResetLink)
packages/backend/src/clients/EmailClient/EmailClient.ts:364
↓ 5 callersMethodserviceAccountSelectQuery
* Returns the SELECT shape used by all read paths. Joins * `organization_memberships` to surface the SA's optional org-level * custom role a
packages/backend/src/ee/models/ServiceAccountModel.ts:85
↓ 5 callersMethodsetOAuthServer
(server: AnyType)
packages/backend/src/services/OAuthService/OAuthService.test.ts:11
↓ 5 callersFunctionsetProjectCommand
( name?: string, uuid?: string, )
packages/cli/src/handlers/setProject.ts:15
↓ 5 callersMethodsetSchedulerEnabled
( user: SessionUser, schedulerUuid: string, enabled: boolean, )
packages/backend/src/services/SchedulerService/SchedulerService.ts:847
↓ 5 callersMethodslackAiPrompt
(payload: SlackPromptJobPayload)
packages/backend/src/ee/scheduler/SchedulerClient.ts:38
↓ 5 callersFunctionsortDayOfWeekName
( dimension: Dimension, startOfWeek: WeekDay | null | undefined, fieldQuoteChar: string, desce
packages/backend/src/utils/QueryBuilder/utils.ts:425
↓ 5 callersMethodsorts
Add sorts
packages/query-sdk/src/query.ts:110
↓ 5 callersFunctionstartOfWeek
(date: Date, firstDayOfWeek: DayOfWeek)
packages/frontend/src/components/common/Filters/utils/filterDateUtils.ts:27
↓ 5 callersMethodstatEntry
* Type + size of a path from the in-memory index, or null if absent. Size is * the blob size for files and 0 for directories; reads no file conte
packages/backend/src/ee/services/ai/repoFs/RepoFs.ts:189
↓ 5 callersMethodsuspend
* End-of-turn suspend. Native-pause backends pause in place; object-store * backends snapshot the workspace then destroy the container (the snaps
packages/backend/src/ee/services/SandboxRuntime/SandboxManager.ts:154
↓ 5 callersMethodsuspendByUuid
* Suspend a sandbox by its stable id alone — for callers (cancel, * soft-delete) that hold no live handle. Connects to the recorded container
packages/backend/src/ee/services/SandboxRuntime/SandboxManager.ts:188
↓ 5 callersMethodsyncVerification
({ user, projectUuid, organizationUuid, contentType, contentUuid,
packages/backend/src/services/CoderService/CoderService.ts:1210
↓ 5 callersFunctiontest
(name: string, fn: () => void)
scripts/rest-api-diff.test.ts:15
↓ 5 callersFunctiontoPullRequestReviewContext
({ fingerprint, reviewStatus, reviewItemTitle, primaryRootCause, sourceFindingUuid, so
packages/backend/src/models/PullRequestsModel.ts:87
↓ 5 callersFunctiontoSortedSelectItems
* Sort fields alphabetically by label and convert to Select items.
packages/frontend/src/features/funnelBuilder/components/FunnelFieldsTab.tsx:31
↓ 5 callersMethodtrackActionCreated
( actor: SessionUser, runUuid: string, action: ManagedAgentAction, )
packages/backend/src/ee/services/ManagedAgentService/ManagedAgentService.ts:1332
↓ 5 callersFunctiontrackWhichTimeBasedMetricFiltersToOverride
( metricQueryDimensionFilters: FilterGroup | undefined, dashboardFilterRule: DashboardFilterRule,
packages/common/src/utils/filters.ts:1204
↓ 5 callersFunctiontreePage
( entries: Array<{ type: string; path: string }>, nextPage: string, )
packages/backend/src/clients/gitlab/Gitlab.test.ts:13
↓ 5 callersMethodtryGetFromDatabase
( args: FeatureFlagLogicArgs, )
packages/backend/src/models/FeatureFlagModel/FeatureFlagModel.ts:114
↓ 5 callersMethodupdate
( user: SessionUser, savedChartUuid: string, data: UpdateSavedChart, )
packages/backend/src/services/SavedChartsService/SavedChartService.ts:749
↓ 5 callersMethodupdate
( organizationUuid: string, designUuid: string, data: { name?: string;
packages/backend/src/models/OrganizationDesignModel.ts:122
↓ 5 callersMethodupdate
( savedChartUuid: string, data: UpdateSavedChart, )
packages/backend/src/models/SavedChartModel.ts:770
↓ 5 callersMethodupdate
( queryUuid: string, projectUuid: string, update: DbQueryHistoryUpdate, accoun
packages/backend/src/models/QueryHistoryModel/QueryHistoryModel.ts:182
↓ 5 callersMethodupdate
( account: RegisteredAccount, projectUuid: string, connectionUuid: string, dat
packages/backend/src/ee/services/ExternalConnectionService/ExternalConnectionService.ts:271
↓ 5 callersMethodupdateChartFieldUsage
( projectUuid: string, chartExplore: Explore | ExploreError, chartFields: ChartFieldUp
packages/backend/src/services/SavedChartsService/SavedChartService.ts:521
↓ 5 callersMethodupdateEvalRunResult
( evalRunUuid: string, resultUuid: string, error: Error | string, )
packages/backend/src/ee/services/AiAgentService/AiAgentService.ts:12608
↓ 5 callersMethodupdateGroup
( account: Account, organizationUuid: string, groupUuid: string, patchOp: Scim
packages/backend/src/ee/services/ScimService/ScimService.ts:1591
↓ 5 callersMethodupdateSlackResponseTs
(data: UpdateSlackResponseTs)
packages/backend/src/ee/models/AiAgentModel.ts:4757
↓ 5 callersMethodupdateStatusToError
( queryUuid: string, projectUuid: string, error: string, account: Pick<Account
packages/backend/src/models/QueryHistoryModel/QueryHistoryModel.ts:249
↓ 5 callersMethodupdateVersionStatusIfInProgress
* Update version status only if it is currently in progress. * Returns true if the update was applied, false if the version was * already in
packages/backend/src/models/AppModel.ts:106
↓ 5 callersMethoduploadImage
( image: Buffer, imageId: string, expiresIn?: number, )
packages/backend/src/clients/FileStorage/FileStorageClient.ts:15
↓ 5 callersMethodupsertDataApps
* Promote the data apps referenced by a dashboard's DATA_APP tiles into the * upstream project, then remap each tile's `appUuid` to the freshly p
packages/backend/src/services/PromoteService/PromoteService.ts:1137
↓ 5 callersMethodupsertOrganizationUserRoleAssignment
* Assign a system role or an organization-level custom role to a user at * the organization level.
packages/backend/src/services/RolesService/RolesService.ts:455
↓ 5 callersMethodurl
(path: string, params?: Record<string, string>)
packages/backend/src/ee/services/SandboxRuntime/AzureSandboxExecChannel.ts:105
↓ 5 callersFunctionusage
(n: number)
packages/backend/src/ee/services/AppGenerateService/ClaudeStreamProcessor.test.ts:156
↓ 5 callersFunctionuseActiveProject
()
packages/frontend/src/hooks/useActiveProject.ts:16
↓ 5 callersFunctionuseAmbientAiEnabled
()
packages/frontend/src/ee/features/ambientAi/hooks/useAmbientAiEnabled.ts:9
↓ 5 callersFunctionuseAppPreviewToken
( projectUuid: string | undefined, appUuid: string | undefined, version: number | undefined, )
packages/frontend/src/features/apps/hooks/useAppPreviewToken.ts:17
↓ 5 callersFunctionuseAsyncClipboard
( asyncOperation: () => Promise<string | undefined>, )
packages/frontend/src/hooks/useAsyncClipboard.ts:11
↓ 5 callersFunctionuseColumns
()
packages/frontend/src/hooks/useColumns.tsx:475
↓ 5 callersFunctionuseCreateMutation
( projectUuid?: string, options?: { onSuccess?: (space: Space) => void; }, )
packages/frontend/src/hooks/useSpaces.ts:197
↓ 5 callersFunctionuseFavoriteMutation
(projectUuid: string | undefined)
packages/frontend/src/hooks/favorites/useFavoriteMutation.ts:21
↓ 5 callersFunctionuseGetApp
( projectUuid: string | undefined, appUuid: string | undefined, )
packages/frontend/src/features/apps/hooks/useGetApp.ts:28
↓ 5 callersFunctionuseImpersonation
()
packages/frontend/src/hooks/user/useImpersonation.ts:76
↓ 5 callersFunctionuseInfiniteOrganizationUsers
( { searchInput, includeGroups, pageSize, projectUuid, googleOidcO
packages/frontend/src/hooks/useOrganizationUsers.ts:117
↓ 5 callersFunctionuseIsGitProject
(projectUuid: string)
packages/frontend/src/components/Explorer/WriteBackModal/hooks.ts:100
↓ 5 callersFunctionuseLauncherDock
(projectUuid: string | undefined)
packages/frontend/src/ee/features/aiCopilot/components/Launcher/useLauncherDock.ts:7
↓ 5 callersFunctionuseOrganizationGroups
( { searchInput, includeMembers, }: { searchInput?: string; includeMem
packages/frontend/src/hooks/useOrganizationGroups.ts:45
↓ 5 callersFunctionuseOrganizationSettings
()
packages/frontend/src/hooks/organization/useOrganizationSettings.ts:26
↓ 5 callersFunctionuseParameters
( projectUuid: string | undefined, parameterReferences: string[] | undefined, useQueryOptions?: Us
packages/frontend/src/hooks/parameters/useParameters.ts:27
↓ 5 callersFunctionuseProjectColorPalette
( projectUuid: string | undefined, context: ProjectColorPaletteContext = {}, options: { enabled?:
packages/frontend/src/hooks/appearance/useProjectColorPalette.ts:33
↓ 5 callersFunctionuseResizeObserver
()
packages/frontend/src/hooks/useResizeObserver/index.ts:20
↓ 5 callersFunctionuseScheduler
( uuid: string | null, useQueryOptions?: UseQueryOptions<SchedulerAndTargets, ApiError>, )
packages/frontend/src/features/scheduler/hooks/useScheduler.ts:219
↓ 5 callersFunctionuseUpdateDashboard
( id: string | undefined, projectUuid: string | undefined, showRedirectButton: boolean = false,
packages/frontend/src/hooks/dashboard/useDashboard.ts:406
↓ 5 callersFunctionuseUpdateOrganizationSettings
()
packages/frontend/src/hooks/organization/useOrganizationSettings.ts:32
↓ 5 callersFunctionuseValidationUserAbility
(projectUuid?: string)
packages/frontend/src/hooks/validation/useValidation.ts:283
↓ 5 callersFunctionvalidateEmail
(email: string)
packages/common/src/index.ts:374
↓ 5 callersMethodvalidateEmailDomains
(domains: string[])
packages/backend/src/services/OrganizationSsoService/OrganizationSsoService.ts:172
↓ 5 callersFunctionvalidateMetricDimensionFilterPlacement
( explore: Explore, customMetrics: CustomMetricBaseTransformed[] | null, tableCalculations: TableC
packages/backend/src/ee/services/ai/utils/validators.ts:454
↓ 5 callersFunctionvalidateParameterReferences
( tableName: string, parameterReferences: string[], availableParameters: string[], )
packages/common/src/compiler/parameters.ts:74
↓ 5 callersFunctionvalidateSortFieldsAreSelected
( sorts: ToolSortField[], selectedDimensions: string[], selectedMetrics: string[], customMetri
packages/backend/src/ee/services/ai/utils/validators.ts:633
↓ 5 callersFunctionvalueIsNaN
(value: unknown)
packages/common/src/utils/formatting.ts:397
↓ 5 callersFunctionvisit
(nodes: ExploreNodeMap)
packages/frontend/src/components/Explorer/ExploreSideBar/exploreTree.ts:167
↓ 5 callersFunctionwarehouseTypeToSkillKey
( warehouseType: WarehouseTypes | null, )
packages/backend/src/ee/services/AiWritebackService/skills.ts:19
↓ 5 callersMethodwithSession
* Dispatches to the appropriate session strategy: * - Direct database (non-:memory: databasePath): connects to the MotherDuck path * - Resou
packages/warehouses/src/warehouseClients/DuckdbWarehouseClient.ts:1235
↓ 5 callersFunctionwrite
(chunk, encoding, callback)
packages/backend/src/services/CsvService/CsvService.test.ts:474
↓ 5 callersMethodwriteExternalConnectionSamples
* For each linked external connection, write a self-contained API-doc JSON * to /tmp/external-data/{alias}.json in the sandbox and return a promp
packages/backend/src/ee/services/AppGenerateService/AppGenerateService.ts:1530
↓ 4 callersMethod_parseDbIdentity
( identity: DbOpenIdIdentity & Pick<DbUser, 'user_uuid'>, )
packages/backend/src/models/OpenIdIdentitiesModel.ts:29
↓ 4 callersMethod_resolveWarehouseClientCredentials
(args: T, userUuid: string, organizationUuid: string)
packages/backend/src/services/ProjectService/ProjectService.ts:1188
↓ 4 callersFunctionactiveTabKey
(dashboardUuid: string)
packages/frontend/src/hooks/dashboard/useDashboardStorage.ts:14
↓ 4 callersMethodaddChartViewEvent
( chartUuid: string, userUuid: string | null, )
packages/backend/src/models/AnalyticsModel.ts:84
↓ 4 callersMethodaddCustomDimension
( customDimension: CustomDimension, warehouseClient: WarehouseClient, )
packages/common/src/dbt/DbtSchemaEditor/DbtSchemaEditor.ts:266
↓ 4 callersMethodaddCustomDimensions
( customDimensionsToAdd: CustomDimension[], warehouseClient: WarehouseClient, )
packages/common/src/dbt/DbtSchemaEditor/DbtSchemaEditor.ts:256
↓ 4 callersMethodaddCustomMetrics
(customMetricsToAdd: AdditionalMetric[])
packages/common/src/dbt/DbtSchemaEditor/DbtSchemaEditor.ts:223
↓ 4 callersFunctionaddSuffixIfPrefix
(value: string, isPrefix: boolean)
packages/backend/src/services/RenameService/rename.ts:780
↓ 4 callersFunctionaddUser
( { organizationId, organizationUuid, }: { organizationId:
packages/backend/src/database/seeds/development/01_initial_user.ts:67
↓ 4 callersMethodappendAgentStream
({ organizationUuid, channelId, threadTs, messageTs, chunks, }: {
packages/backend/src/clients/Slack/SlackClient.ts:1224
↓ 4 callersFunctionapplyHighlight
(queryUuid: string | null)
packages/query-sdk/src/lineage.ts:50
↓ 4 callersFunctionapplyRoundedCornersToStackData
( series: EChartsSeries[], rows: Record<string, unknown>[], { radius = 4, isHorizo
packages/common/src/visualizations/helpers/styles/barChartStyles.ts:256
↓ 4 callersFunctionapplyServiceAccountAbilities
({ organizationUuid, userUuid, builder, scopes, }: ServiceAccountAbilitiesArgs & { scopes:
packages/common/src/authorization/serviceAccountAbility.ts:454
↓ 4 callersFunctionarg
(name: string)
scripts/ai-migration-review.ts:464
↓ 4 callersFunctionasInternals
(service: AsyncQueryService)
packages/backend/src/services/AsyncQueryService/AsyncQueryService.test.ts:2120
↓ 4 callersMethodassertActorCanManageProject
( actor: SessionUser, projectUuid: string, )
packages/backend/src/ee/services/ManagedAgentService/ManagedAgentService.ts:383
↓ 4 callersFunctionassertBoundedInt
( value: number | undefined, name: string, max: number, )
packages/backend/src/ee/services/ExternalConnectionService/externalConnectionConfigValidation.ts:88
↓ 4 callersMethodassertCanManageOrganization
(account: RegisteredAccount)
packages/backend/src/services/OrganizationDomainVerificationService/OrganizationDomainVerificationService.ts:89
↓ 4 callersMethodassertCanViewProject
( user: SessionUser, projectUuid: string, )
packages/backend/src/ee/services/ManagedAgentService/ManagedAgentService.ts:799
↓ 4 callersFunctionassertEquivalent
( rules: Parameters<typeof collapseAbilityRules>[0], )
packages/common/src/authorization/collapseAbilityRules.test.ts:262
↓ 4 callersMethodassertFeatureEnabled
* Domain verification gates the per-organization SSO settings, so it shares * the same feature flag.
packages/backend/src/services/OrganizationDomainVerificationService/OrganizationDomainVerificationService.ts:72
↓ 4 callersMethodassertFileIsGoogleSheet
(refreshToken: string, fileId: string)
packages/backend/src/clients/Google/GoogleDriveClient.ts:199
↓ 4 callersFunctionassertNoBlockingFilters
( metricQuery: MetricQuery, errorMessage: string, )
packages/backend/src/services/AsyncQueryService/getTotalsQueryFromSource.ts:111
↓ 4 callersMethodassertProjectOwnership
( entityProjectUuid: string, expectedProjectUuid: string, entityType: string,
packages/backend/src/ee/services/ManagedAgentService/ManagedAgentService.ts:215
↓ 4 callersFunctionassertSafeApiKeyHeaderName
(name: string)
packages/backend/src/ee/services/ExternalConnectionService/proxyValidation.ts:227
↓ 4 callersMethodassertSourceCodeAccess
* Org membership + view:SourceCode gate shared by every read-only source * access path, independent of git provider. Returns the project (so call
packages/backend/src/ee/services/AiWritebackService/AiWritebackService.ts:486
↓ 4 callersMethodattachLatestRunToSchedulers
( schedulers: KnexPaginatedData<SchedulerAndTargets[]>, )
packages/backend/src/models/SchedulerModel/index.ts:2308
↓ 4 callersFunctionbase64SvgToBase64Image
( originalBase64: string, width: number, type: 'jpeg' | 'png' = 'png', isBackgroundTransparent
packages/frontend/src/components/common/ChartDownload/chartDownloadUtils.ts:24
↓ 4 callersFunctionbaseReadyQueryHistory
( overrides: Partial<QueryHistory>, )
packages/backend/src/services/AsyncQueryService/AsyncQueryService.test.ts:2128
← previousnext →2,101–2,200 of 15,420, ranked by callers