MCPcopy Create free account

hub / github.com/Openpanel-dev/openpanel / functions

Functions3,945 in github.com/Openpanel-dev/openpanel

↓ 19 callersFunctionuseChartStable
()
apps/start/src/components/charts/chart-context.tsx:319
↓ 18 callersFunctioncapturedSql
()
packages/mcp/src/tools/analytics/profiles.test.ts:50
↓ 18 callersFunctionconvertClickhouseDateToJs
(date: string)
packages/db/src/clickhouse/client.ts:405
↓ 18 callersFunctionexplain
(sql: string)
packages/db/src/services/chart-sql.test.ts:46
↓ 18 callersFunctiongetDevice
(ua: string, model?: string)
packages/common/server/parser-user-agent.ts:306
↓ 18 callersMethodgetPosition
(e)
apps/public/public/op1-replay.js:24
↓ 18 callersFunctionhandleSubmit
(e: React.FormEvent)
apps/start/src/routes/_login.verify.tsx:46
↓ 18 callersMethodmarkDirty
()
apps/public/public/op1-replay.js:17
↓ 18 callersFunctionparseUserAgent
( ua?: string | null, overrides?: Record<string, unknown>, )
packages/common/server/parser-user-agent.ts:243
↓ 17 callersMethodconsumer
()
apps/public/public/op1-replay.js:18
↓ 17 callersFunctioncreateTable
({ name: tableName, columns, indices = [], engine = 'MergeTree()', orderBy = ['tuple()'], partitio
packages/db/src/clickhouse/migration.ts:68
↓ 17 callersFunctionevent
(overrides: Partial<IChartEvent> = {})
packages/db/src/services/chart-sql.test.ts:34
↓ 17 callersMethodevery
(e)
apps/public/public/op1-replay.js:23
↓ 17 callersFunctionfetch
(plan: Plan)
packages/db/src/engine/fetch.ts:13
↓ 17 callersFunctiongetChartSql
({ event, breakdowns: initialBreakdowns, interval, startDate, endDate, projectId, timezone, }: I
packages/db/src/services/chart.service.ts:383
↓ 17 callersFunctiongetPageMetadata
({ url, title, description, image, }: { url: string; title: string; description: string; image
apps/public/src/lib/metadata.ts:25
↓ 17 callersFunctionpollUntil
( fn: () => Promise<T>, { timeoutMs = 30_000, intervalMs = 750 } = {} )
apps/api/e2e/lib.ts:50
↓ 17 callersFunctionuseAppContext
()
apps/start/src/hooks/use-app-context.ts:3
↓ 17 callersFunctionuseYAxisProps
(options?: { hide?: boolean; tickFormatter?: (value: number) => string; width?: number; })
apps/start/src/components/report-chart/common/axis.tsx:24
↓ 16 callersFunctiona
(d)
apps/public/public/op1-replay.js:59
↓ 16 callersFunctionauthenticateToken
( token: string | undefined, )
packages/mcp/src/auth.ts:36
↓ 16 callersFunctiongetPreviousMetric
( current: number, previous: number | null | undefined, )
packages/common/src/get-previous-metric.ts:7
↓ 16 callersMethodpath
(e)
apps/public/public/op1-replay.js:23
↓ 16 callersFunctionresolveDates
( projectId: string, data: DateRangeInput )
apps/api/src/controllers/insights.controller.ts:99
↓ 16 callersMethodtoProxy
()
apps/public/public/op1-replay.js:18
↓ 16 callersMethodtransform
(transformations: Record<string, (item: T) => any>)
packages/db/src/clickhouse/query-builder.ts:543
↓ 15 callersFunctionX
(s,e,t,r)
apps/public/public/op1-replay.js:59
↓ 15 callersFunctionZ
(s,e,t=document)
apps/public/public/op1-replay.js:57
↓ 15 callersFunctionbuildLookupMap
( results: T[], getKey: (row: T) => string, getCount: (row: T) => number = (row) => Number((row as any).
packages/db/src/services/insights/utils.ts:107
↓ 15 callersFunctiongetIsCluster
()
packages/db/code-migrations/helpers.ts:17
↓ 15 callersFunctiongetOgImageUrl
(url: string)
apps/public/src/lib/metadata.ts:12
↓ 15 callersFunctionmakeRequest
( method: string, path: string, body?: any, )
apps/api/scripts/test-manage-api.ts:34
↓ 15 callersFunctionobjectToZodEnums
( obj: Record<K, any>, )
packages/validation/src/index.ts:14
↓ 14 callersFunctionaverage
(arr: (number | null)[], includeZero = false)
packages/common/src/math.ts:8
↓ 14 callersFunctionbuildEvent
( projectId: string, profileId: string, name: string, createdAt: string, overrides: Record<string, u
test/retention-fixtures.ts:125
↓ 14 callersFunctioncreateSqlBuilder
()
packages/db/src/sql-builder.ts:17
↓ 14 callersFunctionescape
(value: string | number | boolean | null)
packages/db/src/services/filter-where.service.ts:42
↓ 14 callersFunctionfmt
(n: number, w: number)
packages/db/scripts/check-sessions.ts:46
↓ 14 callersMethodgetRawWhereClause
(type: 'events' | 'sessions', filters: IChartEventFilter[])
packages/db/src/services/overview.service.ts:628
↓ 14 callersFunctiongetSafeJson
(str: string)
packages/json/index.ts:3
↓ 14 callersFunctiongetTrafficBreakdownCore
(input: { projectId: string; startDate: string; endDate: string; column: TrafficColumn; filters?: IC
packages/db/src/services/overview.service.ts:1523
↓ 14 callersFunctioni
(...o)
apps/public/public/op1-replay.js:27
↓ 14 callersMethodpositionInside
(e,t)
apps/public/public/op1-replay.js:17
↓ 14 callersMethodremoveChild
(e,t)
apps/public/public/op1-replay.js:23
↓ 14 callersFunctionrunClickhouseMigrationCommands
(sqls: string[])
packages/db/src/clickhouse/migration.ts:420
↓ 14 callersMethodsend
(payload: TrackHandlerPayload)
packages/sdks/sdk/src/index.ts:120
↓ 14 callersMethodtoUrl
(e)
apps/public/public/op1-replay.js:23
↓ 14 callersMethodunion
(query: Query)
packages/db/src/clickhouse/query-builder.ts:122
↓ 13 callersFunctiondropTable
(tableName: string, isClustered: boolean)
packages/db/src/clickhouse/migration.ts:208
↓ 13 callersFunctionexecute
( code: string, payload: Record<string, unknown>, )
packages/js-runtime/src/execute.ts:7
↓ 13 callersFunctiongetProfileName
( profile: GetProfileNameProps | undefined | null, short = true, )
apps/start/src/utils/getters.ts:9
↓ 13 callersFunctiongetSelectPropertyKey
( rawProperty: string, projectId?: string, cohortId?: string, cohortName?: string, /** * When set
packages/db/src/services/chart.service.ts:317
↓ 13 callersMethodinit
(e,t)
apps/public/public/op1-replay.js:24
↓ 13 callersMethodprocessBuffer
()
packages/db/src/buffers/bot-buffer.ts:46
↓ 13 callersFunctionqueryEventsCore
( input: QueryEventsInput )
packages/db/src/services/event.service.ts:1311
↓ 13 callersFunctionregisterPagePerformanceTools
( server: McpServer, context: McpAuthContext, )
packages/mcp/src/tools/analytics/page-performance.ts:16
↓ 13 callersFunctionupdateImportStatus
( jobLogger: ILogger, job: { updateProgress: (progress: Record<string, any>) => void; }, importId:
packages/db/src/services/import.service.ts:657
↓ 13 callersFunctionuseChart
()
apps/start/src/components/charts/chart-context.tsx:352
↓ 13 callersFunctionuseFormatDateInterval
(options: { interval: IInterval; short: boolean; })
apps/start/src/hooks/use-format-date-interval.ts:64
↓ 13 callersFunctionuseSearchQueryState
(props?: { searchKey?: string; debounceMs?: number; })
apps/start/src/hooks/use-search-query-state.ts:5
↓ 12 callersFunctionaddDays
(d: Date, days: number)
packages/db/src/services/insights/windows.ts:9
↓ 12 callersMethodclear
()
packages/sdks/sdk/src/index.ts:278
↓ 12 callersFunctioncreateHeaderColumn
( title: string, )
apps/start/src/components/ui/data-table/data-table-helpers.tsx:11
↓ 12 callersFunctioncreateLogger
({ name }: { name: string })
packages/logger/index.ts:71
↓ 12 callersFunctioncreatePortal
({ customerId, }: { customerId: string; })
packages/payments/src/polar.ts:36
↓ 12 callersFunctionee
(s,e,t)
apps/public/public/op1-replay.js:29
↓ 12 callersMethodflush
()
packages/db/src/buffers/event-buffer.ts:118
↓ 12 callersFunctiongetEventFiltersWhereClause
( filters: IChartEventFilter[], projectId?: string, /** * See `getSelectPropertyKey`. When the surrou
packages/db/src/services/chart.service.ts:1116
↓ 12 callersFunctiongetReferrerWithQuery
( query: Record<string, string> | undefined, )
packages/common/server/parse-referrer.ts:28
↓ 12 callersFunctionmakeProfile
(overrides: Partial<IClickhouseProfile>)
packages/db/src/buffers/profile-buffer.test.ts:21
↓ 12 callersFunctionr
(n)
apps/public/public/op1-replay.js:1
↓ 12 callersFunctionreplicated
(tableName: string)
packages/db/src/clickhouse/migration.ts:35
↓ 12 callersMethodreportFlushStats
* Subclasses call this from within onFlush to record what they actually * did. The base class includes these in the FlushObservation it emits.
packages/db/src/buffers/base-buffer.ts:253
↓ 12 callersFunctionsetFilter
(updated: IChartEventFilter)
apps/start/src/modals/table-filters.tsx:49
↓ 12 callersFunctionshortId
()
packages/common/src/id.ts:3
↓ 12 callersFunctionshowConfirm
(props: ConfirmProps)
apps/start/src/modals/index.tsx:112
↓ 12 callersFunctiontoCountryCode
(value?: string | null)
packages/importer/src/providers/country-codes.ts:293
↓ 11 callersFunctionclipboard
(value: string | number, description?: null | string)
apps/start/src/utils/clipboard.ts:3
↓ 11 callersMethodcontains
(e)
apps/public/public/op1-replay.js:57
↓ 11 callersFunctioncreateContext
({ req, res }: CreateFastifyContextOptions)
packages/trpc/src/trpc.ts:34
↓ 11 callersFunctiondashboardUrl
( organizationId: string, projectId: string, path = '', )
apps/api/src/agents/tools/helpers.ts:249
↓ 11 callersFunctiondayAt
(date: string)
test/retention-fixtures.ts:169
↓ 11 callersFunctiongetOverrideDeviceId
( body: ITrackHandlerPayload )
apps/api/src/controllers/track.controller.ts:90
↓ 11 callersFunctiongetRetentionCohort
(input: IGetRetentionCohortInput)
packages/db/src/services/retention.service.ts:287
↓ 11 callersFunctionincomingEvent
( jobPayload: EventsQueuePayloadIncomingEvent['payload'], // Kafka delivery coordinates, when the event ca
apps/worker/src/jobs/events.incoming-event.ts:74
↓ 11 callersMethodindex
(e)
apps/public/public/op1-replay.js:23
↓ 11 callersFunctionmakeServer
()
packages/mcp/src/tools/analytics/page-performance.test.ts:19
↓ 11 callersFunctionnormalizeLocationValue
(value?: string)
apps/start/src/components/realtime/map/map-utils.ts:17
↓ 11 callersFunctionparseReferrer
(url: string | undefined)
packages/common/server/parse-referrer.ts:17
↓ 11 callersMethodremove
()
apps/public/public/op1-replay.js:18
↓ 11 callersMethodreplaceIds
(e,t,r)
apps/public/public/op1-replay.js:59
↓ 11 callersFunctionscenario
(name: string)
apps/api/e2e/lib.ts:69
↓ 11 callersMethodtryFlush
(options: { trigger?: FlushTrigger } = {})
packages/db/src/buffers/base-buffer.ts:378
↓ 11 callersFunctionuseEventQueryNamesFilter
(options: NuqsOptions = {})
apps/start/src/hooks/use-event-query-filters.ts:157
↓ 11 callersFunctionuseTheme
()
apps/start/src/components/theme-provider.tsx:151
↓ 11 callersMethodwhen
(condition: boolean, callback?: ConditionalCallback)
packages/db/src/clickhouse/query-builder.ts:588
↓ 11 callersFunctionwithUtm
(url: string, campaign: string)
packages/email/src/utm.ts:9
↓ 11 callersFunctionworkspacePath
(relativePath: string)
tooling/publish/publish.ts:39
↓ 10 callersFunctioncountByName
( sessionIds: string[], name: string )
apps/api/e2e/lib.ts:144
↓ 10 callersFunctioncreateChartTooltip
( Tooltip: React.ComponentType< { context: PropsFromContext; data: PropsFromTooltip[]; }
apps/start/src/components/charts/chart-tooltip.tsx:47
← previousnext →101–200 of 3,945, ranked by callers