MCPcopy Create free account

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

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

↓ 10 callersFunctioncreateError
(message: string)
apps/api/src/utils/auth.ts:66
↓ 10 callersMethoddestroy
()
apps/public/public/op1-replay.js:59
↓ 10 callersMethodend
()
packages/db/src/clickhouse/query-builder.ts:677
↓ 10 callersFunctionextractProjectId
(line: string)
packages/db/src/buffers/event-buffer.ts:27
↓ 10 callersMethodfill
( from: string | Date | Expression, to: string | Date | Expression, step: string | Expression )
packages/db/src/clickhouse/query-builder.ts:271
↓ 10 callersMethodgetExistingSession
* Look up the active session for a device, either directly by deviceId or * via the profile index (`session:profile:{pid}:{profileId}` → deviceId).
packages/db/src/buffers/session-buffer.ts:100
↓ 10 callersFunctiongetSubscriptionState
( org: SubscriptionStateInput )
packages/payments/src/subscription-state.ts:28
↓ 10 callersFunctionheader
(title: string)
packages/db/scripts/check-sessions.ts:50
↓ 10 callersFunctionregisterPageConversionTools
(server: McpServer, context: McpAuthContext)
packages/mcp/src/tools/analytics/page-conversions.ts:13
↓ 10 callersFunctionregisterProfileTools
( server: McpServer, context: McpAuthContext, )
packages/mcp/src/tools/analytics/profiles.ts:14
↓ 10 callersFunctiontoDots
( obj: Record<string, unknown>, path = '', )
packages/common/src/object.ts:16
↓ 10 callersFunctionuseContext
()
apps/start/src/components/charts/chart-tooltip.tsx:59
↓ 10 callersMethodwalk
(e)
apps/public/public/op1-replay.js:51
↓ 9 callersMethodbuildCondition
( column: string, operator: Operator, value?: SqlParam )
packages/db/src/clickhouse/query-builder.ts:158
↓ 9 callersFunctionbuildJobData
( overrides: Partial<EventsQueuePayloadIncomingEvent['payload']> = {} )
apps/worker/src/jobs/events.incoming-events.test.ts:115
↓ 9 callersFunctionde
(s,e,t)
apps/public/public/op1-replay.js:57
↓ 9 callersFunctionextractCohortId
(breakdownName: string)
packages/db/src/services/chart.service.ts:166
↓ 9 callersFunctionfe
(s,e,t)
apps/public/public/op1-replay.js:1
↓ 9 callersFunctionformatDate
(date: Date)
apps/start/src/components/projects/project-chart.tsx:55
↓ 9 callersFunctiongetCache
( key: string, expireInSec: number, fn: () => Promise<T>, useLruCache?: boolean )
packages/redis/cachable.ts:16
↓ 9 callersFunctiongetProfileById
(id: string, projectId: string)
packages/db/src/services/profile.service.ts:112
↓ 9 callersFunctiongetRedisQueue
()
packages/redis/redis.ts:99
↓ 9 callersFunctiongetRedisSub
()
packages/redis/redis.ts:76
↓ 9 callersFunctiongetReplicatedTableName
(tableName: string)
packages/db/src/clickhouse/client.ts:96
↓ 9 callersFunctionisAllCohortsBreakdown
(breakdownName: string)
packages/db/src/services/chart.service.ts:173
↓ 9 callersMethodleftJoin
( table: string | Expression | Query, condition: string, alias?: string )
packages/db/src/clickhouse/query-builder.ts:308
↓ 9 callersFunctionmakePage
(overrides: Record<string, unknown> = {})
packages/mcp/src/tools/analytics/page-performance.test.ts:34
↓ 9 callersFunctionmakeServer
()
packages/mcp/src/tools/analytics/page-conversions.test.ts:14
↓ 9 callersFunctionmergeGlobalFilters
( series: IChartEventItem[], globalFilters: IChartEventFilter[] = [], )
packages/db/src/services/reports.service.ts:29
↓ 9 callersFunctionpick
(arr, rng = eventRng)
scripts/seed-events.mjs:57
↓ 9 callersFunctionrateLimitMiddleware
({ max, windowMs, }: { max: number; windowMs: number; })
packages/trpc/src/trpc.ts:18
↓ 9 callersFunctionreset
()
apps/start/src/components/report/reportSlice.ts:71
↓ 9 callersMethodreset
()
apps/public/public/op1-replay.js:1
↓ 9 callersFunctionresolveDates
( projectId: string, input: { range: string; startDate?: string | null; endDate?: string | null } )
packages/trpc/src/routers/gsc.ts:31
↓ 9 callersFunctionrunReportFromConfig
(input: { organizationId: string; projectId: string; /** Full zReportInput shape, with required startDat
packages/mcp/src/tools/analytics/reports.ts:167
↓ 9 callersFunctionstripTrailingSlash
(url: string)
packages/common/src/string.ts:1
↓ 9 callersFunctiontimeAgo
(now: Date, days: number, minutesOffset = 0)
test/fixtures.ts:79
↓ 9 callersFunctiontrack
( properties?: Record<string, unknown> )
apps/api/src/controllers/track.controller.test.ts:18
↓ 9 callersFunctionuseChartInput
()
apps/start/src/components/report-chart/context.tsx:58
↓ 9 callersFunctionuseDataTablePagination
(pageSize = 10)
apps/start/src/components/ui/data-table/data-table-hooks.tsx:10
↓ 9 callersFunctionusePageTabs
(tabs: { id: string; label: string }[])
apps/start/src/hooks/use-page-tabs.ts:3
↓ 9 callersFunctionuseXAxisProps
( { interval = 'auto', hide, }: { interval?: IInterval | 'auto'; hide?: boolean; } = {
apps/start/src/components/report-chart/common/axis.tsx:62
↓ 8 callersFunctionbuildEvent
( now: Date, projectId: string, id: string, name: string, profileId: string, sessionId: string,
test/fixtures.ts:89
↓ 8 callersFunctionbuildFilterWhere
( filters: IChartEventFilter[], projectId: string, ctx: FilterTableContext, )
packages/db/src/services/filter-where.service.ts:307
↓ 8 callersMethodchildNodes
()
apps/public/public/op1-replay.js:57
↓ 8 callersMethodclone
(e={})
apps/public/public/op1-replay.js:17
↓ 8 callersFunctioncohortsOnly
(rows: IRetentionCohortRow[])
packages/db/src/services/retention.service.test.ts:23
↓ 8 callersFunctionfancyMinutes
(time: number)
apps/start/src/hooks/use-numer-formatter.ts:4
↓ 8 callersFunctionformatChDateTime
(d: Date)
packages/db/code-migrations/15-backfill-cohort-mvs.ts:45
↓ 8 callersFunctionformatDateTime
(date: Date)
apps/start/src/utils/date.ts:29
↓ 8 callersMethodfromOffset
(e)
apps/public/public/op1-replay.js:18
↓ 8 callersFunctiongetConcurrencyFor
* Gets the concurrency setting for a queue from environment variables. * Env var format: {QUEUE_NAME}_CONCURRENCY (e.g., EVENTS_0_CONCURRENCY=32)
apps/worker/src/boot-workers.ts:93
↓ 8 callersFunctiongetCurrentAndPrevious
(input: T, fetchPrevious: boolean, timezone: string)
packages/trpc/src/routers/overview.ts:88
↓ 8 callersFunctiongetDeviceId
({ projectId, ip, ua, salts, overrideDeviceId, eventTimeMs, }: { projectId: string; ip: string
apps/api/src/utils/ids.ts:10
↓ 8 callersMethodgetItem
(key: string)
packages/sdks/react-native/index.ts:16
↓ 8 callersFunctiongetQueueName
(name: string)
packages/queue/src/queues.ts:19
↓ 8 callersFunctionhandleSort
(columnId: string)
apps/start/src/components/report-chart/conversion/conversion-table.tsx:281
↓ 8 callersFunctioniso
(d: Date)
packages/trpc/src/routers/insight.ts:177
↓ 8 callersFunctionme
(s,e,t)
apps/public/public/op1-replay.js:59
↓ 8 callersFunctionmoveDataBetweenTables
({ from, to, batch, columns, }: { from: string; to: string; batch?: { column: string; in
packages/db/src/clickhouse/migration.ts:216
↓ 8 callersFunctionnormalizeLocationValue
(value?: string)
apps/start/src/components/realtime/map/coordinates.ts:24
↓ 8 callersMethodoutputFile
()
apps/public/public/op1-replay.js:23
↓ 8 callersFunctionp
(S,y)
apps/public/public/op1-replay.js:59
↓ 8 callersFunctionqueryGscSearchAnalytics
( accessToken: string, siteUrl: string, startDate: string, endDate: string, dimensions: string[],
packages/db/src/gsc.ts:142
↓ 8 callersFunctionscreenView
( ip: string, path: string, extra: Record<string, unknown> = {} )
apps/api/e2e/lib.ts:111
↓ 8 callersFunctionsleep
(ms: number)
apps/api/e2e/lib.ts:47
↓ 8 callersFunctionstripAllowlistedTokens
(regex: string)
apps/api/scripts/get-bots.ts:29
↓ 8 callersMethodtransformEvent
(_rawEvent: UmamiRawEvent)
packages/importer/src/providers/umami.ts:224
↓ 8 callersFunctiontryCatch
( input: (() => Promise<T>) | Promise<T>, )
packages/common/src/try-catch.ts:5
↓ 8 callersFunctionuseEventNames
(params: { projectId: string; anyEvents?: boolean; enabled?: boolean; })
apps/start/src/hooks/use-event-names.ts:4
↓ 8 callersFunctionuseReplayContext
()
apps/start/src/components/sessions/replay/replay-context.tsx:59
↓ 7 callersFunctionSe
(s)
apps/public/public/op1-replay.js:1
↓ 7 callersMethodappend
(...e)
apps/public/public/op1-replay.js:23
↓ 7 callersMethodappendChild
(e)
apps/public/public/op1-replay.js:57
↓ 7 callersFunctionbreakdown
(name: string)
packages/db/src/services/chart-sql.test.ts:42
↓ 7 callersMethodbyId
(sessionId: string, projectId: string)
packages/db/src/services/session.service.ts:428
↓ 7 callersMethodchunks
(items: T[], size: number)
packages/db/src/buffers/base-buffer.ts:190
↓ 7 callersFunctioncreateEntityTitle
( entityName: string, entityType: string, projectName?: string, organizationName?: string )
apps/start/src/utils/title.ts:58
↓ 7 callersFunctionencrypt
(plaintext: string)
packages/db/src/encryption.ts:22
↓ 7 callersFunctionextractToken
( query: Record<string, unknown>, authHeader: string | undefined, )
packages/mcp/src/auth.ts:137
↓ 7 callersFunctionf
(S)
apps/public/public/op1-replay.js:59
↓ 7 callersFunctiongetArg
(val: unknown)
packages/db/scripts/ch-copy-from-remote.ts:26
↓ 7 callersFunctiongetClusterDetailLevel
(zoom: number)
apps/start/src/components/realtime/map/coordinates.ts:29
↓ 7 callersMethodgetFunnel
({ projectId, startDate, endDate, series, globalFilters, options, breakdowns = [],
packages/db/src/services/funnel.service.ts:212
↓ 7 callersFunctiongetGeoLocation
(ip?: string)
packages/geo/src/geo.ts:69
↓ 7 callersFunctiongetGroupById
( id: string, projectId: string )
packages/db/src/services/group.service.ts:96
↓ 7 callersMethodgetRawWhereClause
(type: 'events' | 'sessions', filters: IChartEventFilter[])
packages/db/src/services/sankey.service.ts:27
↓ 7 callersFunctiongetSharedVitestConfig
({ __dirname: dirname, }: { __dirname: string; })
vitest.shared.ts:8
↓ 7 callersMethodgetTopPages
({ projectId, startDate, endDate, timezone, search, limit, }: IGetPagesInput)
packages/db/src/services/pages.service.ts:36
↓ 7 callersFunctiongetTopPagesCore
(input: { projectId: string; startDate: string; endDate: string; limit?: number; filters?: IChartEve
packages/db/src/services/pages.service.ts:182
↓ 7 callersFunctiongetWeekday
(date: Date)
packages/db/src/services/insights/utils.ts:8
↓ 7 callersFunctiongetY
(point: T, index: number)
apps/start/src/components/charts/decimate-time-series.ts:11
↓ 7 callersMethodisServer
()
packages/sdks/web/src/index.ts:196
↓ 7 callersMethodisServer
()
apps/public/public/op1.js:1
↓ 7 callersMethodjoinWithType
( type: JoinType, table: string | Expression | Query, condition: string, alias?: string )
packages/db/src/clickhouse/query-builder.ts:350
↓ 7 callersFunctionmakeSession
( overrides: Partial<IClickhouseSession> = {} )
apps/worker/src/jobs/events.incoming-events.test.ts:68
↓ 7 callersMethodnext
* Pick the next client in round-robin order. Skips nodes that were * recently marked unhealthy. If all are marked unhealthy, returns the * next
packages/db/src/clickhouse/round-robin.ts:181
↓ 7 callersFunctiononboardingJob
(job: Job<CronQueuePayload>)
apps/worker/src/jobs/cron.onboarding.ts:185
↓ 7 callersFunctionrandInt
(min, max, rng = eventRng)
scripts/seed-events.mjs:61
↓ 7 callersMethodrawJoin
(sql: string)
packages/db/src/clickhouse/query-builder.ts:344
← previousnext →201–300 of 3,945, ranked by callers