MCPcopy Create free account

hub / github.com/VrianCao/Uptimer / functions

Functions1,365 in github.com/VrianCao/Uptimer

↓ 3 callersFunctionreadPreferredSnapshotCandidate
(opts: { db: D1Database; key: SnapshotKey; now: number; maxAgeSeconds: number; normalize: (candidate
apps/worker/src/snapshots/public-homepage-read.ts:748
↓ 3 callersFunctionreadPublicAnalyticsOverviewSnapshot
( db: D1Database, fullDayEndAt: number, )
apps/worker/src/public/analytics-overview.ts:285
↓ 3 callersFunctionreadPublicSiteSettings
( db: D1Database, opts?: { bypassCache?: boolean }, )
apps/worker/src/public/data.ts:1451
↓ 3 callersFunctionreadRefreshCandidate
( candidate: SnapshotCandidate, )
apps/worker/src/snapshots/public-homepage-read.ts:1084
↓ 3 callersFunctionreadRefreshSnapshotMetadataRows
( db: D1Database, )
apps/worker/src/snapshots/public-homepage-read.ts:549
↓ 3 callersFunctionreadRuntimeSnapshotStatement
(db: D1Database)
apps/worker/src/public/monitor-runtime.ts:599
↓ 3 callersFunctionreadScheduledTraceToken
(env: Env)
apps/worker/src/scheduler/scheduled.ts:126
↓ 3 callersFunctionreadStaleHomepageSnapshot
( db: D1Database, now: number, )
apps/worker/src/snapshots/public-homepage.ts:848
↓ 3 callersFunctionreadStatusSnapshotMetadataRow
( db: D1Database, )
apps/worker/src/snapshots/public-status-read.ts:122
↓ 3 callersFunctionreadStatusSnapshotPayloadAnyAge
( db: D1Database, now: number, maxAgeSeconds = MAX_STALE_SECONDS, )
apps/worker/src/snapshots/public-status-read.ts:220
↓ 3 callersFunctionrefreshHomepageSnapshotInline
(env: Env, now: number)
apps/worker/src/scheduler/scheduled.ts:65
↓ 3 callersFunctionrenderMaintenanceCard
( window: NonNullable<PublicHomepageResponse['maintenance_history_preview']>, monitorNames: ReadonlyMap<nu
apps/worker/src/snapshots/public-homepage.ts:268
↓ 3 callersFunctionrequestPublicUi
(path: string, handlers: FakeD1QueryHandler[])
apps/worker/test/public-ui-routes.test.ts:29
↓ 3 callersFunctionresolveLocale
(locale?: Locale)
apps/web/src/utils/datetime.ts:13
↓ 3 callersFunctionresolveTrace
(req: Request, env: Env)
apps/worker/src/fetch-handler.ts:393
↓ 3 callersFunctionrewritePublicRequest
(req: Request)
apps/worker/src/fetch-handler.ts:192
↓ 3 callersFunctionrunPersistedMonitorBatch
(opts: { db: D1Database; rows: DueMonitorRow[]; checkedAt: number; suppressedMonitorIds?: ReadonlySet<
apps/worker/src/scheduler/scheduled.ts:1677
↓ 3 callersFunctionsafeDate
(tsSec: number)
apps/web/src/utils/datetime.ts:20
↓ 3 callersFunctionserializeDbJson
( schema: z.ZodType<T, z.ZodTypeDef, unknown>, value: T, opts: { field?: string } = {}, )
packages/db/src/json.ts:33
↓ 3 callersFunctionsetTheme
(newTheme: Theme)
apps/web/src/app/ThemeContext.tsx:36
↓ 3 callersFunctionshouldAssembleScheduledShardedSnapshots
(env: Env)
apps/worker/src/scheduler/scheduled.ts:204
↓ 3 callersFunctionshouldBypassPublicSharedCaching
(req: Request, env: Pick<Env, 'ADMIN_TOKEN'>)
apps/worker/src/fetch-handler.ts:209
↓ 3 callersFunctionshouldSeedScheduledShardedFragments
(env: Env)
apps/worker/src/scheduler/scheduled.ts:195
↓ 3 callersFunctionsnapshotCandidateAgeSeconds
(candidate: SnapshotCandidate, now: number)
apps/worker/src/snapshots/public-homepage-read.ts:521
↓ 3 callersFunctionsnapshotCandidateUpdatedAgeSeconds
(candidate: SnapshotCandidate, now: number)
apps/worker/src/snapshots/public-homepage-read.ts:525
↓ 3 callersFunctionstatusMonitor
(id: number)
apps/worker/test/snapshots-public-monitor-fragments.test.ts:32
↓ 3 callersFunctionsuggestLatencyAxisCeiling
(latencies: number[])
apps/web/src/utils/latencyScale.ts:33
↓ 3 callersFunctionsyncGroupSortOrder
( db: D1Database, groupName: string | null, groupSortOrder: number, updatedAt: number, skipMonitorId
apps/worker/src/routes/admin.ts:163
↓ 3 callersFunctiontoErrorMessage
(err: unknown)
apps/worker/src/notify/webhook.ts:36
↓ 3 callersFunctiontoIncidentSummary
(row: IncidentRow)
apps/worker/src/public/homepage.ts:351
↓ 3 callersFunctiontoMonitorStatus
(value: string | null)
apps/worker/src/public/data.ts:242
↓ 3 callersFunctiontoSnapshotUpdatedAt
(row: Pick<RuntimeSnapshotRow, 'generated_at' | 'updated_at'>)
apps/worker/src/public/monitor-runtime.ts:633
↓ 3 callersFunctiontryPatchPublicStatusPayloadFromRuntimeUpdates
(opts: { baseSnapshot: PublicStatusResponse | null; now: number; updates: MonitorRuntimeUpdate[]; })
apps/worker/src/public/status-refresh.ts:373
↓ 3 callersFunctionvalidStateJson
(versions: HomepageGuardVersions, validUntil = 1_700_000_060)
apps/worker/test/homepage-guard-state.test.ts:15
↓ 3 callersFunctionwriteCachedParsedSnapshotRowGlobal
( cache: Map<SnapshotKey, RawParsedSnapshotRow>, candidate: SnapshotCandidate, rawBodyJson: string, sn
apps/worker/src/snapshots/public-homepage-read.ts:497
↓ 3 callersFunctionwriteCachedRuntimeSnapshot
( db: D1Database, generatedAt: number, updatedAt: number, rawBodyJson: string, snapshot: PublicMonit
apps/worker/src/public/monitor-runtime.ts:657
↓ 3 callersFunctionwriteCachedRuntimeTotalsSnapshotGlobal
( generatedAt: number, updatedAt: number, rawBodyJson: string, snapshot: PublicMonitorRuntimeTotalsSna
apps/worker/src/public/monitor-runtime.ts:756
↓ 3 callersFunctionwriteCachedSnapshot
( db: D1Database, generatedAt: number, updatedAt: number, snapshot: PublicAnalyticsOverviewSnapshot, )
apps/worker/src/public/analytics-overview.ts:186
↓ 2 callersFunctionacceptsHtml
(request)
apps/web/public/_worker.js:363
↓ 2 callersFunctionaddUptimeDay
( monitor: HomepageMonitorCard, totals: { totalSec: number; uptimeSec: number }, dayStartAt: number, u
apps/worker/src/public/homepage.ts:508
↓ 2 callersFunctionappendAuthorizationVary
(res: Response)
apps/worker/src/routes/public-ui-analytics.ts:43
↓ 2 callersFunctionappendAuthorizationVary
(res: Response)
apps/worker/src/routes/public.ts:71
↓ 2 callersFunctionappendAuthorizationVary
(res: Response)
apps/worker/src/routes/public-ui.ts:41
↓ 2 callersFunctionappendQueryParams
(url: string, params: Record<string, string>)
apps/worker/src/notify/webhook.ts:107
↓ 2 callersFunctionappendServerTiming
(headers, value)
apps/web/public/_worker.js:469
↓ 2 callersFunctionappendVaryHeader
(res: Response, value: string)
apps/worker/src/middleware/cache-public.ts:16
↓ 2 callersFunctionapplyCorsHeaders
(res: Response, origin: string | null)
apps/worker/src/hono-app.ts:40
↓ 2 callersFunctionapplyCorsHeaders
( res: Response, origin: string | null, allowedMethods = 'GET,POST,PUT,PATCH,DELETE,OPTIONS', )
apps/worker/src/routes/public-hot.ts:25
↓ 2 callersFunctionapplyLocaleLocally
(next: AdminSettings['site_locale'])
apps/web/src/pages/AdminDashboard.tsx:368
↓ 2 callersFunctionapplyPrivateNoStore
(res: Response)
apps/worker/src/routes/public.ts:82
↓ 2 callersFunctionassemblePublicHomepagePayloadFromFragments
( envelope: PublicHomepageEnvelopeFragment, monitors: readonly HomepageMonitorFragment[], )
apps/worker/src/snapshots/public-monitor-fragments.ts:496
↓ 2 callersFunctionassemblePublicStatusPayloadFromFragments
( envelope: PublicStatusEnvelopeFragment, monitors: readonly StatusMonitorFragment[], )
apps/worker/src/snapshots/public-monitor-fragments.ts:513
↓ 2 callersFunctionassembleShardedPublicSnapshot
( opts: ShardedPublicSnapshotAssembleOptions, )
apps/worker/src/internal/sharded-public-snapshot-core.ts:655
↓ 2 callersFunctionassertFiniteTimestamp
(value: number, label: string)
apps/worker/src/snapshots/public-fragments.ts:57
↓ 2 callersFunctionassertionMissError
(assertion: PreparedHttpResponseAssertion)
apps/worker/src/monitor/http-assertions.ts:191
↓ 2 callersFunctionassertionTruncationError
(assertion: PreparedHttpResponseAssertion, maxBytes: number)
apps/worker/src/monitor/http-assertions.ts:179
↓ 2 callersFunctionbuildCheckSeries
(options: CheckSeriesOptions)
apps/worker/test/helpers/data-builders.ts:23
↓ 2 callersFunctionbuildHomepageMonitorCardsFromRows
( db: D1Database, now: number, rows: HomepageMonitorRow[], maintenanceMonitorIds: ReadonlySet<number>,
apps/worker/src/public/homepage.ts:900
↓ 2 callersFunctionbuildHomepageMonitorData
( db: D1Database, now: number, includeHiddenMonitors: boolean, opts: HomepageMonitorDataOptions = {},
apps/worker/src/public/homepage.ts:1159
↓ 2 callersFunctionbuildHomepageRenderArtifactWithPreloadOptions
( snapshot: PublicHomepageResponse, opts: { monitorNameById?: ReadonlyMap<number, string>; monitor
apps/worker/src/snapshots/public-homepage.ts:527
↓ 2 callersFunctionbuildNumberMap
( rows: T[], key: keyof T, valueBuilder?: (row: T) => number, )
apps/worker/src/routes/public-ui.ts:399
↓ 2 callersFunctionbuildNumberedTuplePlaceholders
(rowCount: number, bindingsPerRow: number)
apps/worker/src/scheduler/scheduled.ts:1339
↓ 2 callersFunctionbuildPlaceholders
(count: number)
apps/worker/src/scheduler/daily-rollup.ts:58
↓ 2 callersFunctionbuildStripSvgFromRects
(rects: StripRect[], width: number, height: number)
apps/worker/src/snapshots/public-homepage.ts:175
↓ 2 callersFunctionbuildSyntheticHomepagePayload
( monitorCount: number, heartbeatPoints: number, uptimeDays: number, now: number, )
apps/worker/test/homepage-snapshot.bench.ts:261
↓ 2 callersFunctionbuildTemplateContext
(args: { channel: WebhookChannel; eventType: string; eventKey: string; payload: unknown; now: number
apps/worker/src/notify/webhook.ts:115
↓ 2 callersFunctionbuildTodayStatusUptimeDay
( dayStartAt: number, totals: { total_sec: number; downtime_sec: number; unknown_sec: number;
apps/worker/src/public/status-refresh.ts:328
↓ 2 callersFunctioncanReuseBaseSnapshotMonitorMetadata
(opts: { baseSnapshot: PublicHomepageResponse | null | undefined; metadataStamp: HomepageMonitorMetadataSt
apps/worker/src/public/homepage.ts:592
↓ 2 callersFunctioncanServeCachedHomepageFallback
(ageSeconds)
apps/web/public/_worker.js:703
↓ 2 callersFunctioncapStreak
(n: number)
apps/worker/src/monitor/state-machine.ts:34
↓ 2 callersFunctionchooseTopIncidentEntry
( entries: readonly FilteredIncidentEntry[], )
apps/worker/src/public/data.ts:166
↓ 2 callersFunctionclaimMonitorExecutionLeases
( db: D1Database, checkedAt: number, ids: readonly number[], now: number, )
apps/worker/src/scheduler/scheduled.ts:1116
↓ 2 callersFunctionclampLatencyToCeiling
(value: number, ceiling: number | null)
apps/web/src/utils/latencyScale.ts:65
↓ 2 callersFunctioncoerceFlatParams
(value: unknown)
apps/worker/src/notify/webhook.ts:81
↓ 2 callersFunctioncomparePayloadCandidates
(a: SnapshotCandidate, b: SnapshotCandidate)
apps/worker/src/snapshots/public-homepage-read.ts:666
↓ 2 callersFunctioncomputeCacheControl
(ageSeconds)
apps/web/public/_worker.js:696
↓ 2 callersFunctioncomputeOverallStatus
( summary: PublicStatusResponse['summary'], )
apps/worker/src/public/status-refresh.ts:82
↓ 2 callersFunctioncomputePatchedStatusSegmentTotals
(opts: { status: StatusMonitor['status']; isStale: boolean; lastCheckedAt: number | null; intervalSec:
apps/worker/src/public/status-refresh.ts:242
↓ 2 callersFunctioncomputeSegmentTotals
(opts: { segmentStart: number; segmentEnd: number; lastCheckedAt: number | null; lastStatusCode: Monit
apps/worker/src/public/monitor-runtime.ts:1197
↓ 2 callersFunctioncomputeStatusMonitorPresentation
(opts: { intervalSec: number; lastCheckedAt: number | null; stateStatus: string | null; now: number; }
apps/worker/src/public/status-refresh.ts:222
↓ 2 callersFunctioncreateAdminApp
()
apps/worker/test/admin-notification-telegram.test.ts:26
↓ 2 callersFunctioncreateDbForScenario
(scenario: Scenario, now: number)
apps/worker/test/homepage-snapshot.bench.ts:139
↓ 2 callersFunctioncreateEnv
(channelsById: Map<number, NotificationChannelRow>)
apps/worker/test/admin-notification-telegram.test.ts:34
↓ 2 callersFunctioncreateStatusSnapshot
(now: number)
apps/worker/test/internal-homepage-refresh.test.ts:102
↓ 2 callersFunctioncreateStatusSnapshot
(now: number)
apps/worker/test/public-fast-path-guards.test.ts:73
↓ 2 callersFunctioncreateStatusUptime30d
( rangeStart: number, rangeEnd: number, totals: { totalSec: number; downtimeSec: number; unk
apps/worker/src/public/status-refresh.ts:348
↓ 2 callersFunctioncreateTrace
(c: { env: Env; req: { header(name: string): string | undefined }; })
apps/worker/src/routes/public-ui.ts:62
↓ 2 callersFunctiondecryptTelegramBotToken
( adminToken: string, encryptedBotToken: string, )
apps/worker/src/notify/telegram-token.ts:53
↓ 2 callersFunctionderiveTelegramTokenKey
(adminToken: string)
apps/worker/src/notify/telegram-token.ts:21
↓ 2 callersFunctionencodeHeartbeatGapSec
(gaps: number[])
apps/worker/src/public/monitor-runtime.ts:286
↓ 2 callersFunctionensureTreeDependencies
(treeRoot)
apps/worker/scripts/bench-scheduler.mjs:65
↓ 2 callersFunctionfetchAdminMonitors
(limit = 50)
apps/web/src/api/client.ts:385
↓ 2 callersFunctionfetchPublicIncidents
( limit = 20, cursor?: number, opts: { resolvedOnly?: boolean } = {}, )
apps/web/src/api/client.ts:517
↓ 2 callersFunctionfinalizeNotificationDelivery
( db: D1Database, eventKey: string, channelId: number, outcome: NotificationDeliveryOutcome, )
apps/worker/src/notify/dedupe.ts:34
↓ 2 callersFunctionformatDate
(tsSec: number, timeZone?: TimeZone, locale?: Locale)
apps/web/src/utils/datetime.ts:40
↓ 2 callersFunctionformatDay
(ts: number, timeZone: string, locale: string)
apps/web/src/components/UptimeBar30d.tsx:50
↓ 2 callersFunctionformatSec
(totalSeconds: number)
apps/web/src/components/UptimeBar30d.tsx:54
↓ 2 callersFunctionformatTime
(tsSec: number, cache?: Map<number, string>)
apps/worker/src/snapshots/public-homepage.ts:113
↓ 2 callersFunctionfromBase64
(value: string)
apps/worker/src/notify/telegram-token.ts:12
↓ 2 callersFunctionfromDatetimeLocal
(value: string)
apps/web/src/components/MaintenanceWindowForm.tsx:20
← previousnext →401–500 of 1,365, ranked by callers