MCPcopy Create free account

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

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

↓ 1,302 callersMethodmap
()
apps/public/public/op1-replay.js:27
↓ 513 callersMethodpush
(e)
apps/public/public/op1-replay.js:23
↓ 421 callersFunctioncn
(...inputs: ClassValue[])
apps/start/src/utils/cn.ts:5
↓ 367 callersMethodreplace
(e,t)
apps/public/public/op1-replay.js:1
↓ 365 callersMethodjoin
(table: string | Expression, condition: string, alias?: string)
packages/db/src/clickhouse/query-builder.ts:296
↓ 320 callersMethodwhere
(column: string, operator: Operator, value?: SqlParam)
packages/db/src/clickhouse/query-builder.ts:149
↓ 279 callersMethodlog
(...e)
apps/public/public/op1.js:1
↓ 260 callersMethodget
(e,t)
apps/public/public/op1-replay.js:17
↓ 226 callersMethodlog
(...args: any[])
packages/sdks/sdk/src/index.ts:333
↓ 207 callersMethodset
(e,t,r)
apps/public/public/op1-replay.js:17
↓ 188 callersMethodfrom
(table: string | Expression, final = false)
packages/db/src/clickhouse/query-builder.ts:116
↓ 168 callersMethodsend
(e)
apps/public/public/op1.js:1
↓ 161 callersMethoderror
(e,t={})
apps/public/public/op1-replay.js:17
↓ 150 callersMethodquery
({ projectId, profileId, where, select, limit, filters, }: { projectId: string;
packages/db/src/services/event.service.ts:842
↓ 144 callersMethodstringify
(e,t)
apps/public/public/op1-replay.js:17
↓ 130 callersMethodsome
(e)
apps/public/public/op1-replay.js:23
↓ 128 callersMethodtoString
(e=ol)
apps/public/public/op1-replay.js:18
↓ 123 callersMethodselect
( columns: (string | Expression | null | undefined | false)[], type: 'merge' | 'replace' = 'replace'
packages/db/src/clickhouse/query-builder.ts:85
↓ 121 callersMethodinfo
({ message, args }: LogParams)
packages/db/src/clickhouse/client.ts:39
↓ 110 callersMethodhas
(e)
apps/public/public/op1-replay.js:1
↓ 109 callersMethodexecute
()
packages/db/src/clickhouse/query-builder.ts:549
↓ 107 callersFunctionclix
(client: ClickHouseClient, timezone?: string)
packages/db/src/clickhouse/query-builder.ts:693
↓ 91 callersFunctionformatClickhouseDate
( date: Date | string, skipTime = false )
packages/db/src/clickhouse/client.ts:375
↓ 80 callersMethodparse
()
apps/public/public/op1-replay.js:24
↓ 78 callersFunctiongetChartColor
(index: number)
apps/start/src/utils/theme.ts:11
↓ 78 callersFunctionw
(s,e,t)
apps/public/public/op1-replay.js:1
↓ 75 callersMethodgroupBy
(columns: (string | null | undefined | false)[])
packages/db/src/clickhouse/query-builder.ts:204
↓ 75 callersFunctiononChange
()
apps/start/src/components/sessions/replay/index.tsx:105
↓ 71 callersMethodorderBy
(column: string, direction: 'ASC' | 'DESC' = 'ASC')
packages/db/src/clickhouse/query-builder.ts:236
↓ 70 callersMethodfrom
()
apps/public/public/op1-replay.js:19
↓ 65 callersMethodadd
(event: IClickhouseBotEvent)
packages/db/src/buffers/bot-buffer.ts:27
↓ 65 callersMethodaddEventListener
(callback: (state: NetworkStateLike) => void)
packages/sdks/react-native/index.ts:25
↓ 65 callersMethodcatch
(e)
apps/public/public/op1-replay.js:27
↓ 65 callersFunctionchatTool
( config: { name: string; description: string; schema: z.ZodTypeAny; }, handler: ( // bi
apps/api/src/agents/tools/helpers.ts:39
↓ 61 callersFunctiongetRedisCache
()
packages/redis/redis.ts:67
↓ 61 callersFunctionuseAppParams
()
apps/start/src/hooks/use-app-params.ts:3
↓ 58 callersFunctioncn
(...inputs: ClassValue[])
apps/public/src/lib/utils.ts:4
↓ 57 callersFunctionparseCookieDomain
(url: string)
packages/auth/parse-cookie-domain.ts:35
↓ 55 callersFunctionuseNumber
()
apps/start/src/hooks/use-numer-formatter.ts:73
↓ 52 callersMethoderror
({ message, args, err }: ErrorLogParams)
packages/db/src/clickhouse/client.ts:45
↓ 49 callersMethodadd
(e,t)
apps/public/public/op1-replay.js:1
↓ 49 callersFunctionurl
(path: string)
apps/public/src/lib/layout.shared.tsx:9
↓ 49 callersMethodwarn
(e,t,r)
apps/public/public/op1-replay.js:18
↓ 47 callersFunctiongetSettingsForProject
(projectId: string)
packages/db/src/services/organization.service.ts:329
↓ 44 callersFunctioncacheable
( fnOrName: T | string, fnOrExpireInSec: number | T, expireInSecOrOptions?: number | CacheableOptions,
packages/redis/cachable.ts:187
↓ 42 callersMethodlimit
(limit?: number)
packages/db/src/clickhouse/query-builder.ts:245
↓ 41 callersMethodgetId
(e)
apps/public/public/op1-replay.js:1
↓ 41 callersFunctionmakeServer
()
packages/mcp/src/integration/tools.test.ts:53
↓ 41 callersMethodthen
(e,t)
apps/public/public/op1-replay.js:27
↓ 40 callersFunctioncheck
(name: string, ok: boolean, detail?: string)
apps/api/e2e/lib.ts:73
↓ 40 callersFunctiongetEndOfDay
(date: Date)
packages/db/src/services/insights/utils.ts:92
↓ 40 callersMethodraw
(e,t,r)
apps/public/public/op1-replay.js:12
↓ 40 callersMethodtoString
()
packages/db/src/clickhouse/query-builder.ts:40
↓ 39 callersFunctiongetProjectId
(req: RequestWithProjectParam)
apps/api/src/controllers/insights.controller.ts:85
↓ 38 callersFunctionwithErrorHandling
( fn: () => Promise<T> )
packages/mcp/src/tools/shared.ts:88
↓ 37 callersFunctionprojectIdSchema
(context: McpAuthContext)
packages/mcp/src/tools/shared.ts:30
↓ 37 callersFunctionresolveProjectId
( context: McpAuthContext, inputProjectId: string | undefined, )
packages/mcp/src/tools/shared.ts:12
↓ 37 callersMethoduse
(e)
apps/public/public/op1-replay.js:27
↓ 36 callersMethodassign
(e={})
apps/public/public/op1-replay.js:17
↓ 36 callersMethodwith
(name: string, query: Query | string)
packages/db/src/clickhouse/query-builder.ts:265
↓ 35 callersFunctionformat
( concreteSeries: ConcreteSeries[], definitions: Array<{ id?: string; type: 'event' | 'formula';
packages/db/src/engine/format.ts:18
↓ 34 callersFunctionE
apps/public/public/op1-replay.js:59
↓ 34 callersMethodgetBufferSize
* Ground-truth size of the buffer (LLEN of the Redis list). O(1). The * previous implementation kept a shadow counter to "avoid" LLEN — but * LL
packages/db/src/buffers/base-buffer.ts:275
↓ 34 callersFunctionuseReportChartContext
()
apps/start/src/components/report-chart/context.tsx:44
↓ 33 callersFunctionjoin
(obj: Record<string, string> | string[], joiner: string)
packages/db/src/sql-builder.ts:18
↓ 33 callersMethodwarn
({ message, args }: WarnLogParams)
packages/db/src/clickhouse/client.ts:42
↓ 32 callersFunctionget
(path: string, headers: Record<string, string> = AUTH)
apps/api/src/routes/insights.router.test.ts:100
↓ 30 callersFunctionchQuery
( query: string, clickhouseSettings?: ClickHouseSettings )
packages/db/src/clickhouse/client.ts:368
↓ 30 callersFunctionfetch
(i,t,n)
apps/public/public/op.js:1
↓ 30 callersMethodrawWhere
(condition: string)
packages/db/src/clickhouse/query-builder.ts:190
↓ 30 callersFunctiont
()
apps/public/public/op1-replay.js:1
↓ 29 callersFunctioncreateProjectTitle
( pageTitle: string, projectName?: string, organizationName?: string )
apps/start/src/utils/title.ts:39
↓ 29 callersFunctionresolveDateRange
(filters?: PageContext['filters'])
apps/api/src/agents/tools/helpers.ts:195
↓ 29 callersFunctionround
(num: number, decimals = 2)
packages/common/src/math.ts:3
↓ 29 callersMethodwalk
(e)
apps/public/public/op1-replay.js:23
↓ 27 callersFunctionuseOverviewOptions
()
apps/start/src/components/overview/useOverviewOptions.ts:21
↓ 26 callersFunctionk
(s)
apps/public/public/op1-replay.js:1
↓ 26 callersFunctionuseEventQueryFilters
(options: NuqsOptions = {})
apps/start/src/hooks/use-event-query-filters.ts:75
↓ 25 callersMethodclose
(id: string)
packages/mcp/src/session-manager.ts:51
↓ 25 callersMethodhaving
(column: string, operator: Operator, value: SqlParam)
packages/db/src/clickhouse/query-builder.ts:210
↓ 23 callersMethodingest
* Ingest one event into the session lifecycle. * * Reads the device's current session (if any), decides whether the event * extends it, opens
packages/db/src/buffers/session-buffer.ts:132
↓ 23 callersFunctionisKnownEventField
(name: string)
packages/db/src/services/chart.service.ts:101
↓ 23 callersFunctionsetFilter
(updated: IChartEventFilter)
apps/start/src/components/filters/FiltersBuilder.tsx:40
↓ 22 callersFunctioncachedFn
( ...args: Parameters<T> )
packages/redis/cachable.ts:238
↓ 22 callersFunctionfindProfilesCore
( input: FindProfilesInput )
packages/db/src/services/profile.service.ts:390
↓ 22 callersFunctionmakePayload
( overrides: Partial<IServiceCreateEventPayload> = {} )
packages/db/src/buffers/session-buffer.test.ts:23
↓ 22 callersFunctionnormalizeEventField
(name: string)
packages/db/src/services/chart.service.ts:87
↓ 22 callersMethodprevious
()
apps/public/public/op1-replay.js:23
↓ 21 callersMethodclear
()
apps/public/public/op.js:1
↓ 21 callersFunctionformatDate
(date: Date)
apps/start/src/utils/date.ts:19
↓ 21 callersFunctiongetChartStartEndDate
( { startDate, endDate, range, }: Pick<IReportInput, 'endDate' | 'startDate' | 'range'>, tim
packages/db/src/services/date.service.ts:248
↓ 21 callersFunctionresolveDateRange
( startDate?: string, endDate?: string )
packages/mcp/src/tools/shared.ts:63
↓ 21 callersFunctionvalidate
(code: string)
packages/js-runtime/src/validate.ts:18
↓ 20 callersMethoddebug
({ message, args }: LogParams)
packages/db/src/clickhouse/client.ts:33
↓ 20 callersMethodtrack
(e,s)
apps/public/public/op1.js:1
↓ 20 callersFunctiontruncateRows
( rows: T[], max = 500, )
apps/api/src/agents/tools/helpers.ts:88
↓ 19 callersFunctionfn
()
packages/redis/cachable.test.ts:42
↓ 19 callersMethodgetContext
(id: string)
packages/mcp/src/session-manager.ts:38
↓ 19 callersFunctionitCH
(name: string, fn: () => Promise<void>)
packages/db/src/services/chart-sql.test.ts:68
↓ 19 callersFunctionprintBoxMessage
(title: string, lines: (string | unknown)[])
packages/db/code-migrations/helpers.ts:1
next →1–100 of 3,945, ranked by callers