MCPcopy Create free account

hub / github.com/lightdash/lightdash / functions

Functions15,420 in github.com/lightdash/lightdash

↓ 15 callersFunctionmakeDimension
( overrides: Partial<CompiledDimension> & Pick<CompiledDimension, 'name'>, )
packages/common/src/ee/preAggregates/dimensionEligibility.test.ts:14
↓ 15 callersFunctionmergeExistingAndExpectedSeries
({ expectedSeriesMap, existingSeries, sortedByPivot, }: MergeExistingAndExpectedSeriesArgs)
packages/frontend/src/hooks/cartesianChartConfig/utils.ts:198
↓ 15 callersFunctionrenderPrComment
(marker: Marker, opts: RenderOpts = {})
scripts/release-safety-pr-comment.ts:74
↓ 15 callersFunctionrow
( overrides: Partial<ScoreboardReplayRow> = {}, )
packages/backend/src/ee/repl/scripts/reviewClassifierScoreboard.test.ts:23
↓ 15 callersFunctionsetSchedulerJobLogContext
( args: { jobId?: string; schedulerUuid?: string; schedulerName?: string;
packages/backend/src/scheduler/SchedulerTask.ts:279
↓ 15 callersFunctionsetup
()
packages/backend/src/ee/services/AiWritebackService/AiWritebackService.test.ts:165
↓ 15 callersFunctionshouldShiftItemTimezone
( item: Item | AdditionalMetric | undefined, )
packages/common/src/utils/formatting.ts:237
↓ 15 callersFunctiontest
(name: string, fn: () => void)
scripts/sql-migration-lint.test.ts:14
↓ 15 callersFunctiontoIsoWithProjectOffset
( rawValue: unknown, timezone: string | undefined, )
packages/common/src/utils/formatting.ts:214
↓ 15 callersFunctionunavailableWritebackEligibility
( reason: AiAgentReviewItemWritebackBlockedReason, strategy: AiAgentReviewItemWritebackStrategy | null
packages/backend/src/ee/services/AiAgentAdminService.ts:165
↓ 15 callersMethodupsertCredential
(args: { serverUuid: string; scope: AiMcpCredentialScope; credentials: AiMcpCredential
packages/backend/src/ee/models/AiAgentModel.ts:1405
↓ 15 callersFunctionuseAbilityContext
()
packages/frontend/src/providers/Ability/useAbilityContext.ts:4
↓ 15 callersFunctionuseIsTruncated
( selector?: string, )
packages/frontend/src/hooks/useIsTruncated/index.tsx:9
↓ 15 callersFunctionuseMetricQueryDataContext
( failSilently?: S, )
packages/frontend/src/components/MetricQueryData/useMetricQueryDataContext.ts:4
↓ 15 callersFunctionuseTimeAgo
( dateOrString: Date | string, interval: number = 10000, )
packages/frontend/src/hooks/useTimeAgo.ts:5
↓ 14 callersFunctionaddDashboardFiltersToMetricQuery
( metricQuery: MetricQuery, dashboardFilters: DashboardFilters, explore?: Explore, )
packages/common/src/utils/filters.ts:1285
↓ 14 callersFunctionaddUuidCondition
( context: ScopeContext, modifiers?: | { inheritsFromOrgOrProject: true } | { userUuid
packages/common/src/authorization/scopes.ts:13
↓ 14 callersMethodaddVersion
( dashboardUuid: string, version: DashboardVersionedFields, user: Pick<SessionUser, 'u
packages/backend/src/models/DashboardModel/DashboardModel.ts:1600
↓ 14 callersMethodassembleSqlParts
(parts: Array<string | undefined>)
packages/backend/src/utils/QueryBuilder/MetricQueryBuilder.ts:461
↓ 14 callersFunctionbase
( overrides: Partial<AiAgentReviewItemSummary>, )
packages/frontend/src/ee/features/aiCopilot/components/Admin/reviewLane.test.ts:11
↓ 14 callersFunctionbaseMarker
(over: Partial<Marker> = {})
scripts/release-safety-pr-comment.test.ts:20
↓ 14 callersFunctionbuildPivotRowTotalKey
( indexEntries: Array<[fieldId: string, raw: unknown]>, )
packages/common/src/pivot/pivotQueryResults.ts:66
↓ 14 callersMethodbuildScopedResponse
( context: McpProtocolContext, toolResult: string, structuredContent?: Record<string,
packages/backend/src/ee/services/McpService/McpService.ts:407
↓ 14 callersFunctionchange
(status: string, p: string)
scripts/gen-release-safety.test.ts:32
↓ 14 callersFunctionchartPayload
(name: string, limit = 500)
packages/api-tests/tests/savedChartGet.test.ts:31
↓ 14 callersMethodconvertRowToCsv
( row: Record<string, AnyType>, itemMap: ItemsMap, onlyRaw: boolean, sortedFie
packages/backend/src/services/CsvService/CsvService.ts:234
↓ 14 callersFunctionconvertToAiHints
( aiHint: string | string[] | undefined, )
packages/common/src/types/dbt.ts:580
↓ 14 callersFunctioncreateChart
( body: Record<string, unknown>, )
packages/api-tests/tests/savedChartGet.test.ts:126
↓ 14 callersFunctioncreateConditionalFormattingRuleWithValues
()
packages/common/src/utils/conditionalFormatting.ts:38
↓ 14 callersFunctioncreateMockQueryHistory
( status: QueryHistoryStatus, error: string | null = null, res
packages/backend/src/services/AsyncQueryService/AsyncQueryService.test.ts:1768
↓ 14 callersMethodcreatePersistentUrl
(data: { s3Key: string; fileType: string; organizationUuid: string; projectUui
packages/backend/src/services/PersistentDownloadFileService/PersistentDownloadFileService.ts:38
↓ 14 callersFunctiondoesFilterApplyToTile
( filterRule: DashboardFilterRule, tile: DashboardTile, filterableFieldsByTileUuid: | Reco
packages/frontend/src/features/dashboardFilters/FilterConfiguration/utils/index.ts:84
↓ 14 callersFunctionescapeRegExp
(value: string)
packages/backend/src/ee/services/AiWritebackService/utils.ts:237
↓ 14 callersFunctionfetchWithAuth
( path: string, init: RequestInit = {}, )
packages/api-tests/tests/oauthLogin.test.ts:104
↓ 14 callersFunctionfilterJsonExamples
( ...examples: Record<string, unknown>[] )
packages/common/src/ee/AiAgent/schemas/filters/filterDescriptionUtils.ts:10
↓ 14 callersFunctionformatFieldLabel
( fieldId: string, fieldsMap: ItemsMap, )
packages/common/src/ee/AiAgent/chartConfig/shared/formatFieldLabel.ts:4
↓ 14 callersFunctiongetApiUrl
(hostDomain: string, endpoint: string)
packages/backend/src/clients/gitlab/Gitlab.ts:59
↓ 14 callersFunctiongetArrayFromCommaSeparatedList
(envVar: string)
packages/backend/src/config/parseConfig.ts:163
↓ 14 callersFunctiongetDateDimension
(dimensionId: string)
packages/common/src/utils/timeFrames.ts:1133
↓ 14 callersMethodgetEmailClient
()
packages/backend/src/clients/ClientRepository.ts:132
↓ 14 callersFunctiongetItemsFromFilterGroup
( filterGroup: FilterGroup | undefined, )
packages/common/src/utils/filters.ts:101
↓ 14 callersFunctiongetMomentDateWithCustomStartOfWeek
( startOfWeek: WeekDay | null | undefined, inp?: moment.MomentInput, )
packages/common/src/utils/time.ts:20
↓ 14 callersMethodgetNullSafeEqualJoinSql
(left: string, right: string)
packages/warehouses/src/warehouseClients/ClickhouseWarehouseClient.ts:213
↓ 14 callersMethodgetNullsFirstLast
* Returns the SQL NULLS FIRST/LAST clause based on the nullsFirst flag. * @param nullsFirst Whether to sort nulls first (undefined means no claus
packages/backend/src/utils/QueryBuilder/PivotQueryBuilder.ts:239
↓ 14 callersFunctiongetOidcRedirectURL
(isSuccess: boolean)
packages/backend/src/controllers/authentication/middlewares.ts:254
↓ 14 callersFunctiongetProjectId
(owner: string, repo: string)
packages/backend/src/clients/gitlab/Gitlab.ts:56
↓ 14 callersMethodgetS3Client
()
packages/backend/src/ee/services/AppGenerateService/AppGenerateService.ts:569
↓ 14 callersFunctiongetServices
(app: App)
packages/backend/src/vitest.setup.integration.ts:223
↓ 14 callersMethodgetSlackClient
()
packages/backend/src/clients/ClientRepository.ts:185
↓ 14 callersMethodgetSpaceService
()
packages/backend/src/services/ServiceRepository.ts:1014
↓ 14 callersMethodgetWarehouseCredentialsForProject
( projectUuid: string, )
packages/backend/src/models/ProjectModel/ProjectModel.ts:2348
↓ 14 callersFunctionhandleChange
(date: Date | null | Date[])
packages/frontend/src/components/common/Filters/FilterInputs/FilterYearPicker.tsx:25
↓ 14 callersFunctionisFilterableField
( field: Dimension | ItemsMap[string], )
packages/common/src/types/field.ts:1050
↓ 14 callersFunctionisHexCodeColor
(color: string)
packages/common/src/utils/colors.ts:10
↓ 14 callersFunctionjwtAuthMiddleware
( req: Request, res: Response, next: NextFunction, )
packages/backend/src/middlewares/jwtAuthMiddleware/jwtAuthMiddleware.ts:65
↓ 14 callersMethodlogout
()
packages/e2e/cypress/support/commands.ts:63
↓ 14 callersFunctionmakeCartesian
(overrides: { xField?: string; yField?: string[]; flipAxes?: boolean; })
packages/frontend/src/hooks/echarts/timezoneShift.test.ts:70
↓ 14 callersFunctionmkPoint
( lat: number, lon: number, value: number | null = null, )
packages/frontend/src/components/SimpleMap/hexbin/hexbinUtils.test.ts:11
↓ 14 callersFunctionpadDatasetForContinuousAxis
( data: Record<string, unknown>[], continuousRange: string[], xFieldId: string, )
packages/frontend/src/hooks/echarts/useEchartsCartesianConfig.ts:1530
↓ 14 callersFunctionpeg$parseUNDERSCORE
()
packages/common/src/types/filterGrammar.parser.ts:2896
↓ 14 callersFunctionrenderBooleanFilterSql
( dimensionSql: string, filter: FilterRule<FilterOperator, unknown>, )
packages/common/src/compiler/filtersCompiler.ts:703
↓ 14 callersFunctionresolveTileDateZoom
({ config, tileUuid, runtimeGranularities, globalGranularity, defaultXAxisFieldId, }: Reso
packages/common/src/utils/dateZoom.ts:288
↓ 14 callersFunctiontest
(name: string, fn: () => void)
scripts/release-safety-pr-comment.test.ts:11
↓ 14 callersFunctiontimestamp
()
sandboxes/data-apps/test-generate.ts:107
↓ 14 callersFunctiontruncate
(value: string, max: number)
packages/backend/src/ee/services/ai/utils/truncation.ts:3
↓ 14 callersFunctionwarehouseSqlBuilderFromType
( adapterType: string | SupportedDbtAdapter, ...args: ConstructorParameters<typeof WarehouseBaseSqlBui
packages/warehouses/src/warehouseSqlBuilderFromType.ts:16
↓ 14 callersMethodwrapAsCte
(name: string, parts: Array<string | undefined>)
packages/backend/src/utils/QueryBuilder/MetricQueryBuilder.ts:3005
↓ 13 callersFunctioncompileMatcher
( pattern: string, )
packages/backend/src/ee/services/ai/tools/grepFieldsIndex.ts:187
↓ 13 callersMethodcompileMetric
( metric: Metric, tables: Record<string, Table>, availableParameters: string[], )
packages/common/src/compiler/exploreCompiler.ts:963
↓ 13 callersFunctionconvertCustomFormatToFormatExpression
( format: CustomFormat, )
packages/common/src/utils/formatting.ts:1058
↓ 13 callersFunctionconvertNestableListToTree
( items: NestableItem[], )
packages/frontend/src/components/common/Tree/utils.ts:4
↓ 13 callersFunctioncreateRenameFactory
({ from, to, fromReference, toReference, isPrefix, fromFieldName, toFieldName, }:
packages/backend/src/services/RenameService/rename.ts:42
↓ 13 callersFunctioncreateServiceAccountToken
( admin: ApiClient, scopes: ServiceAccountScope[], { descriptionPrefix = 'api-test',
packages/api-tests/tests/serviceAccounts.test.ts:19
↓ 13 callersFunctiondispatchFetchMessage
(payload: Record<string, unknown>)
packages/frontend/src/features/apps/hooks/useAppSdkBridge.test.ts:61
↓ 13 callersFunctionfindMetricInflationWarnings
({ tables, possibleJoins, baseTable, joinedTables, metrics, }: FindMetricInflationWarnings
packages/backend/src/utils/QueryBuilder/utils.ts:1230
↓ 13 callersFunctionformat
(row, fieldId)
packages/query-sdk/src/apiTransport.ts:733
↓ 13 callersFunctiongetAiAgentPageBase
(projectUuid: string)
packages/frontend/src/ee/features/aiCopilot/hooks/aiAgentRouting.ts:8
↓ 13 callersMethodgetCredential
( serverUuid: string, scope: AiMcpCredentialScope, { userUuid,
packages/backend/src/ee/models/AiAgentModel.ts:1370
↓ 13 callersFunctiongetDashboardFilterRulesForTables
( availableFieldIds: string[], rules: DashboardFilterRule[], )
packages/common/src/utils/filters.ts:874
↓ 13 callersMethodgetDbtManifest
()
packages/backend/src/types.ts:63
↓ 13 callersMethodgetFeatureFlagService
()
packages/backend/src/services/ServiceRepository.ts:1311
↓ 13 callersFunctiongetFieldValuesMetricQuery
({ projectUuid, table, initialFieldId, search, limit, maxLimit, filters, explo
packages/backend/src/services/ProjectService/fieldValuesQueryBuilder.ts:46
↓ 13 callersMethodgetFileStorageClient
()
packages/backend/src/clients/ClientRepository.ts:162
↓ 13 callersFunctiongetFormattedValueCell
( info: CellContext<ResultRow, { value: ResultValue }>, parameters?: ParametersValuesMap, options?
packages/frontend/src/hooks/useColumns.tsx:394
↓ 13 callersMethodgetHealthState
( user: SessionUser | undefined, options: { skipMigrationCheck: boolean } = { skip
packages/backend/src/services/HealthService/HealthService.ts:51
↓ 13 callersFunctiongetInputMode
(text: string)
packages/frontend/src/features/tableCalculation/components/FormulaForm/inputMode.ts:3
↓ 13 callersMethodgetPoolId
()
packages/backend/src/scheduler/SchedulerWorkerHealth.ts:48
↓ 13 callersFunctiongetReactGridLayoutConfig
( tile: DashboardTile, isEditMode = false, cols = 36, )
packages/frontend/src/features/dashboardTabs/gridUtils.ts:51
↓ 13 callersMethodgetReviewItemActivity
* The per-PR activity feed for a review finding: stored lifecycle events * plus a derived in-flight state (never stored) for the accented live ro
packages/backend/src/ee/services/AiAgentAdminService.ts:2068
↓ 13 callersMethodgetSavedSqlService
()
packages/backend/src/services/ServiceRepository.ts:1239
↓ 13 callersMethodgetSettings
( user: SessionUser, projectUuid: string, )
packages/backend/src/ee/services/ManagedAgentService/ManagedAgentService.ts:835
↓ 13 callersMethodgetUserQueryTags
(account: Account)
packages/backend/src/services/ProjectService/ProjectService.ts:9811
↓ 13 callersMethodgetValueColumnFieldName
* Gets the field name with aggregation suffix for value columns. * @param reference - The field reference * @param aggregation - The aggrega
packages/backend/src/utils/QueryBuilder/PivotQueryBuilder.ts:496
↓ 13 callersFunctiongroupBy
(rows: Row<TData>[], columnId: string)
packages/frontend/src/components/common/Table/getGroupedRowModelLightdash.ts:17
↓ 13 callersFunctionisDashboardFieldTarget
( target: unknown, )
packages/common/src/types/filter.ts:174
↓ 13 callersFunctionisMalformedEmptyDashboardFilter
(filter: { operator: FilterOperator; values?: unknown[] | null; disabled?: boolean; includeNul
packages/common/src/utils/filters.ts:222
↓ 13 callersFunctionisPivotFunction
(type: TableCalculationFunctionType)
packages/common/src/utils/tableCalculationFunctions.ts:632
↓ 13 callersFunctionisResourceViewItemChart
( item: ResourceViewItem, )
packages/common/src/types/resourceViewItem.ts:124
↓ 13 callersFunctionisResourceViewSpaceItem
( item: ResourceViewItem, )
packages/common/src/types/resourceViewItem.ts:133
↓ 13 callersFunctionisRowFunction
(type: TableCalculationFunctionType)
packages/common/src/utils/tableCalculationFunctions.ts:644
← previousnext →501–600 of 15,420, ranked by callers