MCPcopy Create free account

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

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

Methoddrivers
Optional: compute "drivers" for AI explain step
packages/db/src/services/insights/types.ts:88
FunctiondropColumns
( tableName: string, columnNames: string[], isClustered: boolean, )
packages/db/src/clickhouse/migration.ts:157
FunctionduplicateHook
( req: FastifyRequest<{ Body: ITrackHandlerPayload | DeprecatedPostEventPayload; }>, reply: FastifyR
apps/api/src/hooks/duplicate.hook.ts:8
Methode
(t,r,i)
apps/public/public/op1-replay.js:27
Methode
(t,r,i)
apps/public/public/op1-replay.js:55
Methode
apps/public/public/op1-replay.js:59
Functionemit
(event: eventWithTime, isCheckout?: boolean)
packages/sdks/web/src/replay/recorder.ts:107
Functionemit
(d,h)
apps/public/public/op1-replay.js:59
FunctionencodeCursor
(cursor: { createdAt: string; id: string; })
packages/trpc/src/routers/session.ts:12
MethodendIf
()
packages/db/src/clickhouse/query-builder.ts:582
FunctionenumerateDimensions
(ctx)
packages/db/src/services/insights/modules/devices.module.ts:178
FunctionenumerateDimensions
(ctx)
packages/db/src/services/insights/modules/entry-pages.module.ts:179
FunctionenumerateDimensions
(ctx)
packages/db/src/services/insights/modules/page-trends.module.ts:176
FunctionenumerateDimensions
(ctx)
packages/db/src/services/insights/modules/referrers.module.ts:164
FunctionenumerateDimensions
(ctx)
packages/db/src/services/insights/modules/geo.module.ts:165
FunctionerrorFormatter
({ shape, error })
packages/trpc/src/trpc.ts:65
FunctionescapeCsvValue
(value: string | number | null | undefined)
apps/start/src/utils/csv-download.ts:1
MethodeventHandler
()
packages/sdks/web/src/index.ts:257
FunctioneventRouter
(fastify)
apps/api/src/routes/event.router.ts:7
Functionevents
( request: FastifyRequest<{ Querystring: z.infer<typeof eventsScheme>; }>, reply: FastifyReply )
apps/api/src/controllers/export.controller.ts:106
Methodevery
(e)
apps/public/public/op1-replay.js:51
Methodexcept
(columns: string[])
packages/db/src/clickhouse/query-builder.ts:105
FunctionexecuteAggregateChart
( input: IReportInput )
packages/db/src/engine/index.ts:84
FunctionexecuteChart
(input: IReportInput)
packages/db/src/engine/index.ts:27
FunctionexportRouter
(fastify)
apps/api/src/routes/export.router.ts:15
Functionfa
(s)
apps/public/public/op1-replay.js:1
Methodfetch
( path: string, data: ReqBody, options: FetchOptions = {}, )
packages/sdks/sdk/src/api.ts:77
Methodfetch
(e,s,t={})
apps/public/public/op1.js:1
FunctionfetchDeviceId
()
packages/sdks/nextjs/index.tsx:172
FunctionfetchDeviceId
( request: FastifyRequest, reply: FastifyReply )
apps/api/src/controllers/track.controller.ts:458
MethodfetchDeviceId
()
apps/public/public/op1.js:1
MethodfetchFromCache
( profileId: string, projectId: string )
packages/db/src/buffers/profile-buffer.ts:85
MethodfetchGroup
( group: IClickhouseProfile[], withDateFilter: boolean )
packages/db/src/buffers/profile-buffer.ts:200
FunctionfilterProps
(props: Record<string, unknown>)
packages/sdks/astro/src/asto-utils.ts:3
Methodfinally
(e)
apps/public/public/op1-replay.js:27
Methodfinally
(e)
apps/public/public/op1-replay.js:55
FunctionfindFarthestPoints
( coordinates: Coordinate[] )
apps/start/src/components/realtime/map/coordinates.ts:149
FunctionfindGroup
( groups: Array<GroupedItem<T>>, groupKey: string, )
apps/start/src/components/report-chart/common/report-table-utils.ts:146
FunctionfindGroups
( req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zGroupsQuery> }>, repl
apps/api/src/controllers/insights.controller.ts:608
FunctionfindPathLengthAtX
( path: SVGPathElement | null, pathLength: number, targetX: number )
apps/start/src/components/charts/path-stroke-utils.ts:3
FunctionfindProfiles
( req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zProfilesQuery> }>, re
apps/api/src/controllers/insights.controller.ts:524
Methodfirst
()
apps/public/public/op1-replay.js:51
FunctionfirstFn
(arg1: string)
packages/redis/cachable.test.ts:263
FunctionflushRevenue
()
packages/sdks/nextjs/index.tsx:187
MethodflushRevenue
()
apps/public/public/op1.js:1
MethodfullJoin
( table: string | Expression, condition: string, alias?: string )
packages/db/src/clickhouse/query-builder.ts:332
Methodg
apps/public/public/op1-replay.js:59
Functionga
(s,e)
apps/public/public/op1-replay.js:1
MethodgenerateId
()
apps/public/public/op1-replay.js:59
MethodgenerateInsights
(projectId: string)
packages/db/src/services/insights.service.ts:348
FunctiongenerateMetadata
({ params, }: { params: Promise<{ slug: string }>; })
apps/public/src/app/(content)/compare/[slug]/page.tsx:27
FunctiongenerateMetadata
({ params, }: { params: Promise<{ slug: string }>; })
apps/public/src/app/(content)/features/[slug]/page.tsx:26
FunctiongenerateMetadata
({ params, }: { params: Promise<{ articleSlug: string }>; })
apps/public/src/app/(content)/articles/[articleSlug]/page.tsx:30
FunctiongenerateMetadata
({ params, }: { params: Promise<{ guideSlug: string }>; })
apps/public/src/app/(content)/guides/[guideSlug]/page.tsx:43
FunctiongenerateMetadata
({ params, }: { params: Promise<{ pages: string[] }>; })
apps/public/src/app/(content)/[...pages]/page.tsx:11
FunctiongenerateMetadata
()
apps/public/src/app/(content)/for/page.tsx:9
FunctiongenerateMetadata
({ params, }: { params: Promise<{ slug: string }>; })
apps/public/src/app/(content)/for/[slug]/page.tsx:21
FunctiongenerateMetadata
(props: PageProps)
apps/public/src/app/docs/(docs)/[[...slug]]/page.tsx:46
FunctiongenerateStaticParams
()
apps/public/src/app/(content)/compare/[slug]/page.tsx:22
FunctiongenerateStaticParams
()
apps/public/src/app/(content)/features/[slug]/page.tsx:21
FunctiongenerateStaticParams
()
apps/public/src/app/(content)/articles/[articleSlug]/page.tsx:21
FunctiongenerateStaticParams
()
apps/public/src/app/(content)/guides/[guideSlug]/page.tsx:34
FunctiongenerateStaticParams
()
apps/public/src/app/(content)/[...pages]/page.tsx:33
FunctiongenerateStaticParams
()
apps/public/src/app/(content)/for/[slug]/page.tsx:16
FunctiongenerateStaticParams
()
apps/public/src/app/docs/api-reference/[[...slug]]/page.tsx:66
FunctiongenerateStaticParams
()
apps/public/src/app/docs/(docs)/[[...slug]]/page.tsx:42
Functionget
(target, prop)
packages/sdks/web/src/tracker.ts:28
Functionget
(target, property, receiver)
packages/db/src/clickhouse/client.ts:314
Functionget
()
apps/public/public/op1-replay.js:29
Functionget
(n,r)
apps/public/public/op1.js:1
Methodget
(e,t)
apps/public/public/op1-replay.js:23
Methodget
(e,t)
apps/public/public/op1-replay.js:51
FunctiongetActiveInsightByIdentity
({ projectId, moduleKey, dimensionKey, windowKind, })
packages/db/src/services/insights/store.ts:35
FunctiongetActiveUsers
( req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zActiveUsersQuer
apps/api/src/controllers/insights.controller.ts:188
FunctiongetClient
( request: FastifyRequest<{ Params: { id: string } }>, reply: FastifyReply )
apps/api/src/controllers/manage.controller.ts:276
FunctiongetClientById
( id: string, )
packages/db/src/services/clients.service.ts:26
FunctiongetClientsByOrganizationId
(organizationId: string)
packages/db/src/services/clients.service.ts:12
FunctiongetClusteringStats
( coordinates: Coordinate[], clusters: ReturnType<typeof clusterCoordinates> )
apps/start/src/components/realtime/map/coordinates.ts:478
FunctiongetContext
(apiUrl: string)
apps/start/src/integrations/tanstack-query/root-provider.tsx:120
FunctiongetCoordinateIdentity
(coordinate: Coordinate)
apps/start/src/components/realtime/map/map-utils.ts:26
FunctiongetCountry
(code?: string)
apps/start/src/translations/countries.ts:253
FunctiongetDateChunks
* Utility: Split a date range into chunks to avoid timeout issues with large imports * Returns array of [from, to] date pairs in YYYY-MM-DD format
packages/importer/src/base-provider.ts:78
FunctiongetDeviceId
()
packages/sdks/nextjs/index.tsx:175
MethodgetDeviceId
()
apps/public/public/op1.js:1
FunctiongetEngagement
( req: FastifyRequest<{ Params: { projectId?: string } }>, reply: FastifyReply )
apps/api/src/controllers/insights.controller.ts:440
FunctiongetEntryExitPages
( req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zEntryExitQuery>
apps/api/src/controllers/insights.controller.ts:260
FunctiongetEstimatedTotal
* Get estimated total events (optional, for progress tracking)
packages/importer/src/base-provider.ts:56
FunctiongetEventMetas
(projectId: string)
packages/db/src/services/event.service.ts:301
FunctiongetEventPropertyValues
( req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zPropertyValuesQuery> }>
apps/api/src/controllers/insights.controller.ts:497
FunctiongetFiltersStateParser
( columnIds?: string[] | Set<string>, )
apps/start/src/components/ui/data-table/data-table-parsers.ts:62
FunctiongetFunnel
( req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zFunnelQuery>;
apps/api/src/controllers/insights.controller.ts:365
FunctiongetGeo
(request: FastifyRequest, reply: FastifyReply)
apps/api/src/controllers/misc.controller.ts:482
FunctiongetGlobalLruCacheStats
()
packages/redis/cachable.ts:69
FunctiongetGroup
( req: FastifyRequest<{ Params: { projectId?: string; groupId: string }; Querystring: z.infer<typeof zGetGro
apps/api/src/controllers/insights.controller.ts:618
FunctiongetId
()
apps/public/public/op1-replay.js:59
FunctiongetId
(tableName: 'project' | 'dashboard', name: string)
apps/start/src/utils/getDbId.ts:5
FunctiongetLLMText
(page: InferPageType<typeof source>)
apps/public/src/lib/source.ts:51
MethodgetList
({ projectId, profileId, cursor, filters, limit = 50, startDate, endDate, }: IEv
packages/db/src/services/event.service.ts:1079
FunctiongetLiveVisitors
( req: FastifyRequest<{ Params: { projectId: string } }>, reply: FastifyReply )
apps/api/src/controllers/insights.controller.ts:172
MethodgetMapData
({ projectId, filters, startDate, endDate, timezone, }: { projectId: string; fil
packages/db/src/services/overview.service.ts:1438
← previousnext →3,301–3,400 of 3,945, ranked by callers