MCPcopy Index your code

hub / github.com/openstatusHQ/openstatus / functions

Functions4,268 in github.com/openstatusHQ/openstatus

↓ 929 callersMethodget
(id: string)
apps/server/src/routes/slack/confirmation-store.ts:35
↓ 275 callersFunctionwithTestTransaction
( fn: (tx: DrizzleTx) => Promise<T>, )
packages/services/test/helpers.ts:37
↓ 263 callersFunctioncn
(...inputs: ClassValue[])
packages/ui/src/lib/utils.ts:5
↓ 257 callersFunctioncn
(...inputs: ClassValue[])
apps/dashboard/src/lib/utils.ts:4
↓ 172 callersFunctionconnectRequest
* Helper to make ConnectRPC requests using the Connect protocol (JSON). * Connect uses POST with JSON body at /rpc/<service>/<method>
apps/server/src/routes/rpc/handlers/status-page/__tests__/status-page.test.ts:22
↓ 132 callersMethodtoString
()
packages/tracker/src/tracker.ts:226
↓ 119 callersFunctionconnectRequest
* Helper to make ConnectRPC requests using the Connect protocol (JSON). * Connect uses POST with JSON body at /rpc/<service>/<method>
apps/server/src/routes/rpc/handlers/monitor/__tests__/monitor.test.ts:30
↓ 116 callersMethodreplace
(id: string, payload: PendingPayload)
apps/server/src/routes/slack/confirmation-store.ts:39
↓ 96 callersFunctionemitAudit
( tx: DB, ctx: ServiceContext, entry: AuditEntry, )
packages/services/src/audit/emit.ts:102
↓ 90 callersFunctiontoServiceCtx
(ctx: AuthedContext)
packages/api/src/service-adapter.ts:17
↓ 89 callersFunctiontoTRPCError
(err: unknown)
packages/api/src/service-adapter.ts:31
↓ 87 callersFunctioncn
(...inputs: ClassValue[])
apps/status-page/src/lib/utils.ts:4
↓ 76 callersFunctioninstallMockFetch
(impl: FetchImpl)
packages/status-fetcher/__tests__/helpers.ts:15
↓ 75 callersFunctionhoursAfter
(date: Date, hours: number)
packages/api/src/router/statusPage.utils.test.ts:1314
↓ 75 callersFunctionrequireScope
(ctx: ServiceContext, required: Scope)
packages/services/src/auth/require-scope.ts:25
↓ 75 callersFunctionwithTransaction
( ctx: ServiceContext, fn: (tx: DB) => Promise<T>, )
packages/services/src/context.ts:42
↓ 71 callersFunctionconnectRequest
* Helper to make ConnectRPC requests using the Connect protocol (JSON). * Connect uses POST with JSON body at /rpc/<service>/<method>
apps/server/src/routes/rpc/handlers/status-report/__tests__/status-report.test.ts:38
↓ 68 callersFunctioncn
(...inputs: ClassValue[])
apps/web/src/lib/utils.ts:6
↓ 60 callersFunctionkey
"YYYY-MM" for `offset` months before the current month (0 = current).
packages/services/src/frozen-uptime/__tests__/get-history.test.ts:50
↓ 60 callersFunctiononSubmit
(values: z.infer<typeof schema>)
apps/web/src/content/docs-feedback.tsx:89
↓ 59 callersFunctioncreateStatusData
( daysAgo: number, ok = 0, degraded = 0, error = 0, )
packages/api/src/router/statusPage.utils.test.ts:39
↓ 58 callersFunctioninferStatus
( description: string, severity: SeverityLevel, )
packages/status-fetcher/src/utils.ts:51
↓ 55 callersFunctionreadAuditLog
(filter: { workspaceId: number; entityType?: string; entityId?: string | number; db?: DB; })
packages/services/test/helpers.ts:243
↓ 50 callersFunctiongetRpcContext
(ctx: { values: { get: <T>(key: { id: symbol; defaultValue: T }) => T }; })
apps/server/src/routes/rpc/interceptors/auth.ts:104
↓ 50 callersFunctionrunFetcher
( fetcher: StatusFetcher, entry: StatusPageEntry, )
packages/status-fetcher/__tests__/helpers.ts:21
↓ 48 callersFunctionconnectRequest
* Helper to make ConnectRPC requests using the Connect protocol (JSON). * Connect uses POST with JSON body at /rpc/<service>/<method>
apps/server/src/routes/rpc/handlers/maintenance/__tests__/maintenance.test.ts:27
↓ 46 callersFunctionaction
( action: A, entityType: E, entityIdSchema: I, opts: { optionalMetadata?: boolean } = {}, )
packages/db/src/schema/audit_logs/validation.ts:32
↓ 45 callersFunctionupdateRegion
( oldRegion: z.infer<typeof monitorRegionSchema>, newRegion: z.infer<typeof monitorRegionSchema>, region
packages/db/script/region-migration.ts:45
↓ 44 callersMethodString
()
apps/checker/proto/private_location/v1/http_monitor.pb.go:39
↓ 43 callersFunctionconnectRequest
* Helper to make ConnectRPC requests using the Connect protocol (JSON). * Connect uses POST with JSON body at /rpc/<service>/<method>
apps/server/src/routes/rpc/handlers/notification/__tests__/notification.test.ts:15
↓ 43 callersFunctionsetDataByType
({ events, data, cardType, barType, }: { events: Event[]; data: StatusData[]; cardType: "request
packages/api/src/router/statusPage.utils.ts:176
↓ 41 callersFunctionloadSeededWorkspace
(id = 1)
packages/services/test/helpers.ts:138
↓ 39 callersMethodcanHandle
(entry: StatusPageEntry)
packages/status-fetcher/src/types.ts:144
↓ 37 callersFunctionmakeUserCtx
( workspace: Workspace, opts: { userId: number; requestId?: string } = { userId: 1 }, )
packages/services/test/helpers.ts:152
↓ 35 callersFunctiontoConnectError
(err: unknown)
apps/server/src/routes/rpc/adapter.ts:31
↓ 33 callersFunctioncreateMonitor
(args: { ctx: ServiceContext; input: CreateMonitorInput; })
packages/services/src/monitor/create.ts:16
↓ 33 callersFunctiontestDB
()
apps/private-location/internal/server/ingest_http_test.go:18
↓ 32 callersFunctionenv
()
apps/workflows/src/env.ts:3
↓ 32 callersFunctionnotFound
()
apps/status-page/src/app/(status-page)/[domain]/[locale]/(public)/llms.txt/route.ts:15
↓ 32 callersFunctiontoServiceCtx
(rpcCtx: RpcContext)
apps/server/src/routes/rpc/adapter.ts:12
↓ 31 callersFunctionmonitor
( statusClass: string, name = `monitor-${statusClass}`, )
packages/status-fetcher/__tests__/fetchers/uptimerobot.test.ts:52
↓ 31 callersFunctionstartOfDay
(date: Date)
packages/tracker/src/utils.ts:14
↓ 30 callersFunctioncreateJsonLDGraph
( items: (WithContext<Thing> | null)[], )
apps/web/src/lib/metadata/structured-data.ts:337
↓ 30 callersFunctioncreateStatusReport
(args: { ctx: ServiceContext; input: CreateStatusReportInput; })
packages/services/src/status-report/create.ts:27
↓ 30 callersFunctionuseStatusBlocksLabels
()
packages/ui/src/components/blocks/status-i18n.tsx:99
↓ 29 callersFunctioncreateIncident
(id: number, daysAgo: number, durationHours = 1)
packages/api/src/router/statusPage.utils.test.ts:59
↓ 29 callersFunctioncreateInnerTRPCContext
(opts: CreateContextOptions)
packages/api/src/trpc.ts:58
↓ 29 callersFunctiongetQueryClient
()
apps/dashboard/src/lib/trpc/client.tsx:26
↓ 29 callersFunctiongetUptime
({ data, events, barType, cardType, }: { data: StatusData[]; events: Event[]; barType: "absolute
packages/api/src/router/statusPage.utils.ts:641
↓ 29 callersFunctionresolveRoute
({ host, urlHost, pathname, }: { /** x-forwarded-host header value */ host: string | null; /** req
apps/status-page/src/lib/resolve-route.ts:20
↓ 28 callersFunctiongetJsonLDBreadcrumbList
( items: { name: string; url: string }[], )
apps/web/src/lib/metadata/structured-data.ts:278
↓ 28 callersFunctionupsertSelfSignupSubscriber
(args: { input: UpsertSelfSignupSubscriberInput; db?: DB; })
packages/services/src/page-subscriber/upsert.ts:52
↓ 27 callersFunctionrunFetcherExit
( fetcher: StatusFetcher, entry: StatusPageEntry, )
packages/status-fetcher/__tests__/helpers.ts:26
↓ 26 callersFunctionassertSafeUrl
(urlString: string)
packages/utils/src/ssrf.ts:89
↓ 25 callersFunctionmakeSub
(overrides: Partial<Subscription> = {})
packages/subscriptions/src/channels/webhook.test.ts:36
↓ 24 callersFunctionexpectAuditRow
(match: { workspaceId: number; action: string; entityType: string; entityId: string | number; actorT
packages/services/test/helpers.ts:271
↓ 23 callersFunctionday
(date: string, count: number, ok: number)
packages/tracker/src/tracker.test.ts:17
↓ 22 callersFunctioncreateImpactEvent
( id: number, from: Date, to: Date | null, impactIntervals: { from: Date; to: Date | null; imp
packages/api/src/router/statusPage.utils.test.ts:1318
↓ 22 callersFunctionsignAndPost
( app: ReturnType<typeof createTestApp>, body: Record<string, unknown>, )
apps/server/src/routes/slack/handler.test.ts:24
↓ 21 callersFunctioncreateError
* Creates a ConnectError with structured metadata.
apps/server/src/routes/rpc/handlers/status-page/errors.ts:37
↓ 21 callersFunctionexpectFetchError
( exit: Exit.Exit<StatusResult, FetchError>, )
packages/status-fetcher/__tests__/helpers.ts:31
↓ 21 callersFunctiongetEvents
({ maintenances, incidents, reports, pageComponentId, monitorId, componentType, pastDays = 45, }
packages/services/src/status-timeline/events.ts:249
↓ 21 callersFunctiongetJsonLDOrganization
()
apps/web/src/lib/metadata/structured-data.ts:113
↓ 21 callersFunctiongetTBClient
(ctx context.Context)
apps/private-location/internal/server/ingest_http_test.go:48
↓ 21 callersFunctionuseCopyToClipboard
()
packages/ui/src/hooks/use-copy-to-clipboard.ts:6
↓ 20 callersFunctionendOfDay
(date: Date)
packages/tracker/src/utils.ts:1
↓ 20 callersFunctiongetQueryClient
()
apps/status-page/src/lib/trpc/client.tsx:26
↓ 20 callersFunctionmakeApiKeyCtx
( workspace: Workspace, opts: { keyId: string; userId?: number; requestId?: string; scopes
packages/services/test/helpers.ts:163
↓ 20 callersFunctionmakeEntry
(overrides: Partial<StatusPageEntry> = {})
packages/status-fetcher/__tests__/fetchers/uptimerobot.test.ts:29
↓ 20 callersFunctionmdUrl
(path = "")
apps/status-page/src/content/markdown/helpers.ts:159
↓ 20 callersFunctionuniqueSlug
(tag: string)
packages/services/src/page/__tests__/page.test.ts:72
↓ 19 callersFunctiongetReadDb
(ctx: ServiceContext)
packages/services/src/context.ts:58
↓ 19 callersFunctionmakeUpdate
(overrides: Partial<PageUpdate> = {})
packages/subscriptions/src/channels/webhook.test.ts:50
↓ 19 callersFunctionregistered
Build a fresh McpServer + register a tool group, return the tool map.
apps/server/src/routes/mcp/tools/tools.test.ts:109
↓ 19 callersFunctionupsertExternalIncidentsForService
(args: { ctx?: { db?: DB }; externalServiceId: number; incidents: UpsertExternalIncidentInput[]; now?:
packages/services/src/external-service-incident/upsert.ts:92
↓ 19 callersFunctionuseFormSheetDirty
()
apps/dashboard/src/components/forms/form-sheet.tsx:137
↓ 18 callersFunctionassertSafeUrlSync
(urlString: string)
packages/utils/src/ssrf.ts:116
↓ 18 callersFunctiongetBlogPosts
()
apps/web/src/content/utils/index.ts:9
↓ 18 callersFunctiongetJsonLDWebPage
( input: MDXData | { name: string; url: string }, )
apps/web/src/lib/metadata/structured-data.ts:25
↓ 18 callersFunctionredirect
({ url, baseUrl })
apps/dashboard/src/lib/auth/index.ts:22
↓ 18 callersFunctionresolveFetch
(response: Response)
packages/subscriptions/src/channels/webhook.test.ts:32
↓ 18 callersFunctionresolvePasswordAction
({ route, page, pathname, host, isSelfHosted, cookiePassword, queryPassword, redirectParam,
apps/status-page/src/lib/proxy/resolve-password-action.ts:34
↓ 18 callersFunctionuseSidebar
()
packages/ui/src/components/ui/sidebar.tsx:46
↓ 17 callersFunctioncount
(s: string, sub: string)
apps/status-page/src/content/markdown/generators.test.ts:237
↓ 17 callersFunctioncreateApiKey
(args: { ctx: ServiceContext; input: CreateApiKeyInput; })
packages/services/src/api-key/create.ts:27
↓ 17 callersFunctioncreateMaintenance
(args: { ctx: ServiceContext; input: CreateMaintenanceInput; })
packages/services/src/maintenance/create.ts:15
↓ 17 callersFunctiongetChangelogPosts
()
apps/web/src/content/utils/index.ts:16
↓ 17 callersFunctiongetJsonLDFAQPage
( input: MDXData | { question: string; answer: string }[], )
apps/web/src/lib/metadata/structured-data.ts:293
↓ 17 callersFunctiongetMonitorInWorkspace
(args: { tx: DB; id: number; workspaceId: number; })
packages/services/src/monitor/internal.ts:28
↓ 17 callersFunctionmakeMcpToolCtx
* Build an MCP-flavoured `ServiceContext` for a workspace, optionally * threading a transaction through `ctx.db` so writes can be rolled back * via
apps/server/src/routes/mcp/tools/tools.test.ts:37
↓ 17 callersFunctionmock
(impl?: AnyFn)
packages/test-utils/src/mock-fn.ts:32
↓ 17 callersMethodmockClear
()
packages/test-utils/src/mock-fn.ts:20
↓ 17 callersFunctionnewPage
(args: { ctx: ServiceContext; input: NewPageInput; })
packages/services/src/page/create.ts:109
↓ 17 callersFunctionretryRead
(fn: () => Promise<T>)
packages/services/src/retry.ts:88
↓ 16 callersFunctioncomputePhaseStatus
( resources: ResourceResult[], )
packages/services/src/import/utils.ts:48
↓ 16 callersFunctiondiffTopLevel
( before: Record<string, unknown>, after: Record<string, unknown>, )
packages/services/src/audit/emit.ts:67
↓ 16 callersFunctionfetchJson
( opts: FetchBaseOptions & { schema: z.ZodType<T> }, )
packages/status-fetcher/src/fetch.ts:127
↓ 16 callersFunctiongetPageMetadata
(page: MDXData, basePath?: string)
apps/web/src/lib/metadata/shared-metadata.ts:84
↓ 16 callersFunctionresolvePathnamePrefix
({ hostname, pathname, customDomain, locale, defaultLocale, }: { hostname: string; pathname: str
apps/status-page/src/lib/resolve-pathname-prefix.ts:7
↓ 16 callersFunctionsanitizeRedirectParam
(value: string | null)
apps/status-page/src/lib/proxy/sanitize-redirect-param.ts:17
next →1–100 of 4,268, ranked by callers