MCPcopy Index your code

hub / github.com/retracedhq/retraced / functions

Functions668 in github.com/retracedhq/retraced

↓ 886 callersMethodquery
(query: string, args?: any[])
src/persistence/pg.ts:32
↓ 191 callersFunctiongetPgPool
()
src/persistence/pg.ts:8
↓ 143 callersFunctionsafeQuery
(query, args)
src/test/seederHelper.ts:3
↓ 49 callersMethoddefault
()
src/security/Authenticator.ts:8
↓ 47 callersMethodcreateAdminToken
( @Header("Authorization") auth: string, @Request() req: express.Request )
src/controllers/AdminController.ts:518
↓ 40 callersMethodconnect
()
src/persistence/nsq.ts:89
↓ 37 callersMethodrelease
()
src/test/handlers/Connection.ts:6
↓ 37 callersFunctionsleep
(ms)
integration/test/pkg/util.ts:1
↓ 29 callersFunctionretracedUp
(Env)
integration/test/pkg/retracedUp.ts:4
↓ 27 callersMethodgetApiTokenOr401
(authorization: string, projectId: string)
src/security/Authenticator.ts:14
↓ 21 callersFunctionprotectedRun
(func)
src/e2e-tests/handlers/admin/deleteEnvironment.ts:146
↓ 20 callersMethodproduce
(topic: string, body: string)
src/persistence/nsq.ts:34
↓ 18 callersFunctioncheckAdminAccessUnwrapped
( authHeader: string, projectId?: string, environmentId?: string )
src/security/helpers.ts:76
↓ 17 callersMethodcreateEvent
(authorization: string, projectId: string, event: CreateEventRequest)
src/handlers/createEvent.ts:192
↓ 16 callersFunctionsearch
(q: string)
integration/test/pkg/specs.ts:106
↓ 15 callersFunctioncheckAdminAccess
(req)
src/security/helpers.ts:103
↓ 14 callersFunctioncreate
( projectId: string, environmentId: string, values: ApiTokenValues, querier?: Querier, token?: strin
src/models/api_token/create.ts:9
↓ 14 callersFunctionparse
(searchQuery: string)
src/models/event/query.ts:172
↓ 13 callersFunctionadminUser
(Env)
integration/test/pkg/adminUser.ts:7
↓ 13 callersFunctionaudit
(req: express.Request, action: string, crudOperation: CRUD, record?: any)
src/headless.ts:30
↓ 13 callersMethodsend
(email: Email)
src/_processor/services/Emailer.ts:161
↓ 11 callersFunctioncheckViewerAccess
(req)
src/security/helpers.ts:137
↓ 11 callersFunctionisoDate
(date: Date)
integration/test/pkg/util.ts:19
↓ 11 callersMethodproduce
(topic: string, body: string)
src/_processor/persistence/nsq.ts:104
↓ 11 callersMethodsaveRawEvent
* This is used for audit logging within handlers. The TypeScript compiler * validates the event request and the caller is presumed authorized.
src/handlers/createEvent.ts:342
↓ 10 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/viewer/searchEvents.ts:343
↓ 10 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/createDeletionRequest.ts:146
↓ 10 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/getDashboard.ts:198
↓ 10 callersMethodconnect
()
src/_processor/persistence/nsq.ts:53
↓ 10 callersMethoddefault
()
src/handlers/admin/AdminUserBootstrap.ts:16
↓ 9 callersFunctionapplyOtelInstrument
( action: keyof typeof instruments, delegate, instrumentAttributes?: InstrumentOperationParams["instrume
src/metrics/opentelemetry/instrumentation.ts:190
↓ 9 callersFunctioncreateEnterpriseToken
( authorization: string, projectId: string, groupId: string, opts: CreateEnterpriseTokenRequest )
src/handlers/createEnterpriseToken.ts:21
↓ 9 callersFunctioncreateTemplate
(opts: Opts)
src/models/template/create.ts:18
↓ 9 callersFunctionincrementOtelCounter
( action: keyof typeof counters, inc?: number, counterAttributes?: CounterOperationParams["counterAttrib
src/metrics/opentelemetry/instrumentation.ts:80
↓ 9 callersFunctiontoArray
(x: string | string[])
src/models/event/index.ts:75
↓ 8 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/cancelEmailReport.ts:143
↓ 8 callersFunctioncounts
( // root query object provided by graphql, not used q: any, args: Args, context: Scope )
src/handlers/graphql/counts.ts:19
↓ 8 callersFunctiongetESWithoutRetry
()
src/persistence/elasticsearch.ts:111
↓ 8 callersFunctiongetPaginatedEvents
( viewerSession: any, query: string, sortOrder: "asc" | "desc", pageOffset: number, pageLimit: numbe
integration/test/viewer/searchpaginated.ts:557
↓ 8 callersFunctionorJoin
(filters: Filter[])
src/models/event/filter.ts:139
↓ 8 callersFunctionquote
(s: string)
src/models/event/filter.ts:150
↓ 8 callersFunctionsetup
(params?)
src/e2e-tests/handlers/graphql/counts.ts:240
↓ 7 callersFunctiongetESWithRetry
()
src/persistence/elasticsearch.ts:107
↓ 7 callersFunctionhandle
(topic, channel, worker, job, doAck, requeue)
src/_processor/index.ts:253
↓ 7 callersFunctionmapValues
(obj)
src/common/mapper.ts:4
↓ 7 callersFunctionnotifyError
(err)
src/error-notifier/index.ts:10
↓ 7 callersFunctionrecordOtelHistogram
(action: keyof typeof histograms, val: number)
src/metrics/opentelemetry/instrumentation.ts:167
↓ 7 callersFunctionvalidateQuery
(query: string, gqlSchame: any)
src/handlers/graphql/handler.ts:83
↓ 6 callersFunctionapiTokenFromAuthHeader
(authHeader?: string)
src/security/helpers.ts:13
↓ 6 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/getEnterpriseToken.ts:94
↓ 6 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/viewer/renderSavedExport.ts:409
↓ 6 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/enterprise/createActiveSearch.ts:122
↓ 6 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/searchEvents.ts:152
↓ 6 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/searchGroups.ts:126
↓ 6 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/searchTemplates.ts:96
↓ 6 callersFunctionisNumeric
(data: string)
src/common/helpers.ts:1
↓ 6 callersFunctionleftPad
(s, n)
src/_processor/index.ts:49
↓ 6 callersFunctionsearch
(q: any, args: Args, context: Scope)
src/handlers/graphql/search.ts:21
↓ 6 callersFunctionsetup
(params?)
src/e2e-tests/handlers/enterprise/pumpActiveSearch.ts:172
↓ 6 callersFunctionsetup
(params?)
src/e2e-tests/handlers/graphql/search.ts:176
↓ 5 callersMethodcreateEventBulk
( authorization: string, projectId: string, eventInputs: CreateEventRequest[] )
src/handlers/createEvent.ts:280
↓ 5 callersFunctiongetProject
(endpoint, jwtToken, projectId)
src/_db/commands/seed.ts:96
↓ 5 callersMethodhandle
(auth: string | undefined, claims: ExternalAuth)
src/handlers/admin/AdminUserBootstrap.ts:22
↓ 5 callersFunctionhandler
(argv)
src/commands/bootstrap.ts:39
↓ 5 callersFunctionjobDesc
(job)
src/_processor/common.ts:5
↓ 5 callersFunctionscope
(scopeInfo: Scope)
src/persistence/elasticsearch.ts:133
↓ 5 callersFunctionsetup
(pool, params?)
src/e2e-tests/handlers/viewer/searchEvents.ts:226
↓ 5 callersFunctionsetup
(pool)
src/e2e-tests/handlers/admin/createDeletionRequest.ts:111
↓ 5 callersFunctionsetup
(pool)
src/e2e-tests/handlers/admin/getDashboard.ts:167
↓ 4 callersFunctionaddDisplayTitles
(opts: Options)
src/models/event/addDisplayTitles.ts:12
↓ 4 callersFunctioncheckEitapiAccess
(req)
src/security/helpers.ts:122
↓ 4 callersFunctioncheckEitapiAccessUnwrapped
(auth: string)
src/security/helpers.ts:126
↓ 4 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/createViewerDescriptor.ts:108
↓ 4 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/createViewerSession.ts:106
↓ 4 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/updateEnterpriseToken.ts:84
↓ 4 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/deleteEnterpriseToken.ts:77
↓ 4 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/approveDeletionConfirmation.ts:74
↓ 4 callersFunctioncleanup
(pool, es: Client)
src/e2e-tests/handlers/admin/deleteEnvironment.ts:119
↓ 4 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/getDeletionRequest.ts:73
↓ 4 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/publicRenderEvent.ts:95
↓ 4 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/getProject.ts:86
↓ 4 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/createTemplate.ts:82
↓ 4 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/deleteTemplate.ts:78
↓ 4 callersFunctioncleanup
(pool)
src/e2e-tests/handlers/admin/updateUser.ts:95
↓ 4 callersFunctioncreateEnvironment
(opts: Opts)
src/models/environment/create.ts:18
↓ 4 callersFunctioncreateEvent
(event: any | any[])
integration/test/viewer/searchpaginated.ts:579
↓ 4 callersFunctiongetEnterpriseToken
( authorization: string, projectId: string, groupId: string, eitapiTokenId: string )
src/handlers/getEnterpriseToken.ts:5
↓ 4 callersFunctionhydrateProject
(project)
src/models/project/hydrate.js:8
↓ 4 callersFunctionobserveOtelGauge
(action: keyof typeof gauges, val: number)
src/metrics/opentelemetry/instrumentation.ts:102
↓ 4 callersFunctiononError
(res: express.Response, reqId: string)
src/router.ts:72
↓ 4 callersFunctionparseQuery
(query: string)
src/models/event/index.ts:79
↓ 4 callersFunctionrenderSavedExport
(opts)
src/models/saved_export/render.ts:19
↓ 4 callersFunctionsearchPaginated
( q: string, sortOrder: "asc" | "desc" = "desc", pageLimit = 20, pageOffset = 0, startCursor = "" )
integration/test/pkg/specs.ts:113
↓ 4 callersFunctionsearchTemplates
( auth: string, projectId: string, environmentId: string, length: number, offset: number )
src/handlers/admin/searchTemplates.ts:14
↓ 4 callersFunctionsetup
(pool)
src/e2e-tests/handlers/admin/cancelEmailReport.ts:114
↓ 4 callersFunctionstartErrorNotifier
(expressMiddleware = false)
src/error-notifier/index.ts:5
↓ 4 callersFunctionstringifyFields
(source: any)
src/headless.ts:40
↓ 4 callersFunctionwithRetry
(fn)
src/persistence/elasticsearch.ts:64
↓ 4 callersFunctionwrite
(pathname, stream)
src/_processor/workers/updateGeoData.ts:106
↓ 3 callersFunctioncountBy
(es: ClientWithRetry, opts: Options)
src/models/event/countBy.ts:23
next →1–100 of 668, ranked by callers