MCPcopy Create free account

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

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

↓ 2 callersFunctionbuildApp
( options: BuildAppOptions = {}, )
apps/api/src/app.ts:80
↓ 2 callersFunctionbuildCategoryDefaults
( savedPreferences?: Record<string, boolean> )
apps/start/src/routes/_app.$organizationId.account._tabs.email-preferences.tsx:25
↓ 2 callersFunctionbuildCohortClause
( filter: IChartEventFilter, projectId: string, ctx: FilterTableContext, )
packages/db/src/services/filter-where.service.ts:205
↓ 2 callersFunctionbuildDigestData
* Assemble the digest payload for one project (no sending). Returns `skipped` * with a reason when there's nothing worth mailing — unless `force` is
apps/worker/src/jobs/cron.weekly-digest.ts:60
↓ 2 callersFunctionbuildEventCriteriaQuery
( projectId: string, criteria: EventCriteria, )
packages/db/src/services/cohort.service.ts:59
↓ 2 callersMethodbuildFunnelCte
* Builds the funnel CTE. * - When group === 'session_id': windowFunnel is computed per session_id. * profile_id is resolved via argMax to hand
packages/db/src/services/funnel.service.ts:58
↓ 2 callersFunctionbuildJobs
(req: Request)
apps/worker/src/boot-debug.ts:43
↓ 2 callersMethodbuildQuery
()
packages/db/src/clickhouse/query-builder.ts:387
↓ 2 callersFunctionbuildRealtimeCountryFilter
( locations: z.infer<typeof realtimeLocationSchema>[] )
packages/trpc/src/routers/realtime.ts:57
↓ 2 callersMethodbuildSankeyFromTransitions
( transitions: Array<{ source: string; target: string; step: number; value: number
packages/db/src/services/sankey.service.ts:508
↓ 2 callersMethodbuildSessionEventCTE
( event: z.infer<typeof zChartEvent>, projectId: string, startDate: string, endDate: string,
packages/db/src/services/sankey.service.ts:74
↓ 2 callersFunctioncalcDimensions
( containerWidth: number, aspectRatio: number, )
apps/start/src/components/sessions/replay/replay-player.tsx:25
↓ 2 callersFunctioncastSql
(expr: string, type?: IChartFilterValueType)
packages/db/src/services/filter-cast.ts:19
↓ 2 callersFunctionchangeFunnelWindow
(state, action: PayloadAction<number | undefined>)
apps/start/src/components/report/reportSlice.ts:317
↓ 2 callersFunctionchangeSankeySteps
(state, action: PayloadAction<number>)
apps/start/src/components/report/reportSlice.ts:349
↓ 2 callersMethodcheckMissedSemicolon
(e)
apps/public/public/op1-replay.js:24
↓ 2 callersFunctioncheckRateLimit
( key: string, windowMs: number, max: number, )
apps/api/src/controllers/tools.controller.ts:98
↓ 2 callersFunctionchunk
()
apps/api/src/controllers/track.controller.test.ts:69
↓ 2 callersFunctioncleanDomain
(domain: string)
apps/api/src/utils/auth.ts:14
↓ 2 callersFunctionclearOrganizationCache
(organizationId: string)
apps/api/src/controllers/webhook.controller.ts:113
↓ 2 callersFunctionclearTimer
()
apps/start/src/components/chat/chat-drawer-header.tsx:134
↓ 2 callersFunctionclientOnly
(fn: T)
apps/start/src/components/theme-provider.tsx:11
↓ 2 callersFunctionclipRevealTransition
(enterTransition?: Transition)
apps/start/src/components/charts/animation.ts:18
↓ 2 callersMethodcloseMissingActiveInsights
Mark insights as not seen this run if you prefer lifecycle via closeMissing()
packages/db/src/services/insights/types.ts:175
↓ 2 callersFunctioncohortMembersToCSV
(profileIds: string[])
apps/start/src/utils/csv-download.ts:26
↓ 2 callersMethodcolon
(e)
apps/public/public/op1-replay.js:24
↓ 2 callersMethodcomment
(e)
apps/public/public/op1-replay.js:12
↓ 2 callersFunctioncompact
(rows: typeof cur)
packages/trpc/src/routers/insight.ts:195
↓ 2 callersFunctioncompactEventProperties
( raw: { columns: readonly string[]; properties: Array<{ property_key: string; event_name: string }>
apps/api/src/agents/tools/helpers.ts:125
↓ 2 callersFunctioncomputeCohort
( projectId: string, definition: CohortDefinition, limit?: number, )
packages/db/src/services/cohort.service.ts:506
↓ 2 callersFunctioncomputeMedian
(sortedValues: number[])
packages/db/src/services/insights/utils.ts:15
↓ 2 callersFunctioncomputeNearestIndices
* For each item, return the index of the nearest data point by xAccessor time. * Pre-computed once per (items, data, xAccessor) so hover handlers can
apps/start/src/components/charts/op-tooltip.tsx:234
↓ 2 callersFunctioncomputeSeriesBarWidth
(input: { innerWidth: number; dataLength: number; columnWidth: number; seriesCount: number; composed
apps/start/src/components/charts/series-bar-layout.ts:1
↓ 2 callersFunctionconsumeInviteForUser
* Best-effort consumption of an invite for a user that just authenticated. * Failures (expired/invalid invite) must not block the sign-in itself, so
packages/trpc/src/routers/auth.ts:62
↓ 2 callersFunctionconsumeRecoveryCode
({ hashes, input, }: { hashes: string[]; input: string; })
packages/auth/src/totp.ts:85
↓ 2 callersFunctioncreateCacheKey
(url: string, prefix = 'favicon')
apps/api/src/controllers/misc.controller.ts:25
↓ 2 callersFunctioncreateEvent
(payload: IServiceCreateEventPayload)
packages/db/src/services/event.service.ts:368
↓ 2 callersFunctioncreateFileImportConfig
(provider: T)
packages/validation/src/index.ts:659
↓ 2 callersMethodcreateRevenueQuery
({ projectId, startDate, endDate, interval, timezone, filters, }: { projectId: s
packages/db/src/services/overview.service.ts:222
↓ 2 callersFunctioncreateSummaryRow
( groupRows: TableRow[], groupKey: string, breakdownCount: number, )
apps/start/src/components/report-chart/common/report-table-utils.ts:558
↓ 2 callersFunctioncreateTRPCClientWithHeaders
(apiUrl: string)
apps/start/src/integrations/tanstack-query/root-provider.tsx:72
↓ 2 callersMethodcreateTokenizer
()
apps/public/public/op1-replay.js:24
↓ 2 callersFunctioncross
(o: Coordinate, a: Coordinate, b: Coordinate)
apps/start/src/components/realtime/map/coordinates.ts:200
↓ 2 callersMethoddecodeInline
(e)
apps/public/public/op1-replay.js:18
↓ 2 callersFunctiondecodeSessionToken
(token: string)
packages/auth/src/session.ts:62
↓ 2 callersMethoddeleteContext
(id: string)
packages/mcp/src/session-manager.ts:46
↓ 2 callersFunctiondeleteFixtures
(client: ChClient, projectId: string)
test/retention-fixtures.ts:213
↓ 2 callersFunctiondeleteFixtures
(client: ChClient, projectId: string)
test/fixtures.ts:376
↓ 2 callersFunctiondeleteFromClickhouse
(projectIds: string[])
packages/db/src/services/delete.service.ts:39
↓ 2 callersFunctiondeleteSessionTokenCookie
(setCookie: ISetCookie)
packages/auth/src/cookie.ts:25
↓ 2 callersMethoddestroy
()
packages/mcp/src/session-manager.ts:55
↓ 2 callersMethoddoubleColon
(e)
apps/public/public/op1-replay.js:24
↓ 2 callersFunctiondownloadCSV
(content: string, filename: string)
apps/start/src/utils/csv-download.ts:14
↓ 2 callersMethodemptyRule
(e)
apps/public/public/op1-replay.js:24
↓ 2 callersFunctionen
(s,e,t)
apps/public/public/op1-replay.js:1
↓ 2 callersFunctionenableEventsHeartbeat
()
apps/worker/src/utils/worker-heartbeat.ts:12
↓ 2 callersMethodendFile
()
apps/public/public/op1-replay.js:24
↓ 2 callersFunctionenqueueSessionEndV2
({ payload, closedSession, }: { payload: IServiceCreateEventPayload; closedSession: IClickhouseSession
apps/worker/src/utils/session-handler.ts:32
↓ 2 callersFunctionensureFixtures
()
apps/api/e2e/lib.ts:156
↓ 2 callersFunctionescapeHtml
(value: string)
apps/worker/src/boot-debug.ts:35
↓ 2 callersFunctioneventNameWhere
(events: string[] | undefined)
packages/db/src/services/retention.service.ts:277
↓ 2 callersFunctionexecuteBatches
(label: string, batches: Batch[])
packages/db/code-migrations/15-backfill-cohort-mvs.ts:148
↓ 2 callersFunctionextractAppStyleInfo
(ua: string)
packages/common/server/parser-user-agent.ts:127
↓ 2 callersFunctionfakeSession
(id: string, endedAtMs: number)
apps/api/src/utils/ids.test.ts:28
↓ 2 callersFunctionfallbackFavicon
(url: string)
apps/api/src/utils/parseUrlMeta.ts:3
↓ 2 callersFunctionfetchDeviceAggregates
(ctx: ComputeContext)
packages/db/src/services/insights/modules/devices.module.ts:18
↓ 2 callersMethodfetchDeviceId
* @deprecated Use `getDeviceId()` instead. This async method is no longer needed.
packages/sdks/sdk/src/index.ts:274
↓ 2 callersFunctionfetchEntryPageAggregates
(ctx: ComputeContext)
packages/db/src/services/insights/modules/entry-pages.module.ts:20
↓ 2 callersFunctionfetchGeoAggregates
(ctx: ComputeContext)
packages/db/src/services/insights/modules/geo.module.ts:19
↓ 2 callersFunctionfetchPageTrendAggregates
(ctx: ComputeContext)
packages/db/src/services/insights/modules/page-trends.module.ts:20
↓ 2 callersFunctionfetchProjectCohorts
( projectId: string, )
packages/db/src/services/chart.service.ts:177
↓ 2 callersFunctionfetchReferrerAggregates
(ctx: ComputeContext)
packages/db/src/services/insights/modules/referrers.module.ts:18
↓ 2 callersFunctionfilterCn
(filter: string[], className: string | undefined)
apps/start/src/components/dot.tsx:9
↓ 2 callersFunctionfind
(value: string)
apps/start/src/components/ui/combobox.tsx:68
↓ 2 callersFunctionfind
(value: string)
apps/start/src/components/ui/combobox-events.tsx:91
↓ 2 callersFunctionfindGroupsCore
(input: { projectId: string; type?: string; search?: string; limit?: number; })
packages/db/src/services/group.service.ts:359
↓ 2 callersFunctionfindNearestIndex
( target: Date, data: Record<string, unknown>[], xAccessor: (d: Record<string, unknown>) => Date )
apps/start/src/components/charts/op-marker-layer.tsx:356
↓ 2 callersFunctionflattenGroupedItems
( groupedItems: Array<GroupedItem<T> | T>, )
apps/start/src/components/report-chart/common/report-table-utils.ts:125
↓ 2 callersFunctionflushProfiles
()
apps/worker/src/jobs/import.ts:122
↓ 2 callersMethodflushRevenue
()
packages/sdks/web/src/index.ts:333
↓ 2 callersFunctionfmt
(iso: string)
packages/trpc/src/routers/overview.ts:329
↓ 2 callersFunctionfmt
(d: Date)
packages/trpc/src/routers/event.ts:393
↓ 2 callersFunctionfmt
(date: Date | null | undefined)
packages/payments/src/subscription-state-meta.ts:28
↓ 2 callersFunctionfmt
(v?: number | null)
apps/start/src/modals/insight-details.tsx:114
↓ 2 callersFunctionformatDate
(date: Date)
packages/db/src/gsc.ts:191
↓ 2 callersFunctionformatEventsCount
(events: number)
packages/payments/scripts/create-products.ts:7
↓ 2 callersFunctionformatEventsCount
(value: number)
apps/public/src/lib/utils.ts:8
↓ 2 callersFunctionformatNumber
(num: number)
packages/db/src/clickhouse/migration.ts:496
↓ 2 callersFunctionformatNumber
(value: number)
apps/public/src/components/pricing-slider.tsx:12
↓ 2 callersFunctionformatTime
(date: Date)
apps/start/src/utils/date.ts:42
↓ 2 callersFunctionformatTimeAgoOrDateTime
(date: Date)
apps/start/src/utils/date.ts:57
↓ 2 callersFunctionformatValue
(v: unknown)
apps/start/src/components/chat/tool-results/chat-table-result.tsx:173
↓ 2 callersMethodfreeSemicolon
(e)
apps/public/public/op1-replay.js:24
↓ 2 callersFunctiongenerateEvent
(index?: number)
apps/start/src/components/mock-event-list.tsx:67
↓ 2 callersMethodgenerateMap
()
apps/public/public/op1-replay.js:22
↓ 2 callersFunctiongeneratePassword
(length: number)
self-hosting/quiz.ts:27
↓ 2 callersFunctiongenerateRecoveryCodes
(count = 10)
packages/auth/src/totp.ts:73
↓ 2 callersMethodgenerateString
()
apps/public/public/op1-replay.js:22
↓ 2 callersFunctiongenerateUnsubscribeToken
(email: string, category: string)
packages/email/src/unsubscribe.ts:9
↓ 2 callersFunctiongetAllFeatureSlugs
()
apps/public/src/lib/features.ts:122
← previousnext →801–900 of 3,945, ranked by callers