MCPcopy Create free account

hub / github.com/OpenHikmah/openhikmah-web / functions

Functions625 in github.com/OpenHikmah/openhikmah-web

↓ 1 callersFunctionmakeRecordingChain
(resolveWith: unknown, calls: Record<string, unknown[][]>)
__tests__/api/workspace.test.ts:36
↓ 1 callersFunctionmakeRecordingChain
(resolveWith: unknown, calls: Record<string, unknown[][]>)
__tests__/api/social/challenges.test.ts:37
↓ 1 callersFunctionmakeRejectingChain
(error: Error)
__tests__/api/admin/ai.test.ts:28
↓ 1 callersFunctionmakeUser
()
__tests__/api/notes.test.ts:42
↓ 1 callersFunctionmakeUser
(overrides: Partial<User> = {})
__tests__/api/bookmarks.test.ts:84
↓ 1 callersFunctionmakeUser
(overrides: Partial<User> = {})
__tests__/api/workspace.test.ts:87
↓ 1 callersFunctionmaybeSweep
* Fire-and-forget, low-probability pruning of expired buckets. Wrapped so it can * never throw into — or otherwise affect — the limit decision in `co
lib/rate-limit.ts:72
↓ 1 callersFunctionmonthLabel
(month: string)
app/admin/votd/page.tsx:28
↓ 1 callersMethodmulti
()
__tests__/lib/redis.test.ts:34
↓ 1 callersFunctionnextMonthFirst
First day of the month after `YYYY-MM`, as `YYYY-MM-DD` — the exclusive upper * bound for a month range (avoids hardcoding a -31 that's invalid for
app/api/admin/votd/route.ts:24
↓ 1 callersFunctionparseFile
(text)
scripts/seed-morphology.mjs:29
↓ 1 callersFunctionprobeDb
Runs a trivial query to confirm the database is reachable, with latency.
app/api/metrics/route.ts:25
↓ 1 callersFunctionprobeRedis
Pings Redis (when enabled) and reports reachability + round-trip latency.
app/api/metrics/route.ts:11
↓ 1 callersFunctionqueueCounts
(counts: [number, number, number, number, number, number])
__tests__/api/admin/overview.test.ts:56
↓ 1 callersFunctionradialPos
( src: { x: number; y: number }, i: number, total: number )
components/canvas/HikmahCanvas.tsx:29
↓ 1 callersFunctionredisIncrWithTtl
(key: string, ttlSeconds: number)
lib/redis.ts:114
↓ 1 callersFunctionredisStatus
()
app/api/admin/infra/route.ts:10
↓ 1 callersFunctionredisStatus
()
app/api/admin/overview/route.ts:9
↓ 1 callersFunctionrefresh
(refreshToken: string)
app/api/auth/refresh/route.ts:73
↓ 1 callersFunctionremove
(id: number)
components/layout/ContextSidebar.tsx:124
↓ 1 callersFunctionremove
(id: number)
components/admin/ChallengeSuggestionsManager.tsx:74
↓ 1 callersFunctionremove
(k: string)
app/admin/flags/page.tsx:53
↓ 1 callersFunctionreset
()
__tests__/integration/semantic-search.integration.test.ts:26
↓ 1 callersFunctionreset
()
__tests__/integration/graph.integration.test.ts:19
↓ 1 callersFunctionreset
()
__tests__/integration/connection-discovery.integration.test.ts:14
↓ 1 callersFunctionresolveDevUser
* Dev/test login bypass. When `DEV_AUTH_TOKEN` and `DEV_AUTH_QF_ID` are set, a * request whose Bearer token equals `DEV_AUTH_TOKEN` is resolved to a
lib/social-auth.ts:36
↓ 1 callersFunctionretryDelaySeconds
(body)
scripts/embed-corpus.mjs:37
↓ 1 callersFunctionrootCandidates
Verses sharing an Arabic root with the source verse, most-shared first.
lib/connection-discovery.ts:24
↓ 1 callersFunctionsafeParse
(s: string)
app/api/admin/audit/route.ts:34
↓ 1 callersFunctionsafeParse
(s: string)
app/api/admin/names/route.ts:98
↓ 1 callersFunctionsafeParse
(s: string)
app/api/admin/flags/route.ts:87
↓ 1 callersFunctionsave
(r: Row)
app/admin/names/page.tsx:32
↓ 1 callersFunctionschedule
()
components/social/ChallengeList.tsx:53
↓ 1 callersFunctionsearchVerseRefs
(arabic: string)
app/api/names/[slug]/verses/route.ts:55
↓ 1 callersFunctionsendRequest
(user: SearchResult)
components/social/AddFriendForm.tsx:55
↓ 1 callersFunctionserializeMeta
* Serialize `meta` defensively: a BigInt or circular reference must not throw and * cause the whole audit row to be dropped. Falls back to a marker s
lib/admin-audit.ts:9
↓ 1 callersFunctionsha256Base64url
(input: string)
lib/pkce.ts:20
↓ 1 callersFunctionsleep
(ms)
scripts/prewarm-graph.mjs:29
↓ 1 callersFunctionsleep
(ms)
scripts/embed-corpus.mjs:35
↓ 1 callersFunctionstagedContent
(file)
scripts/precommit-checks.mjs:30
↓ 1 callersFunctionstartEdit
(r: Row)
app/admin/names/page.tsx:26
↓ 1 callersFunctionstatusFor
( otherId: number )
app/api/social/users/route.ts:39
↓ 1 callersFunctionstatusTone
(s: AdminChallenge["status"])
components/admin/ChallengesModeration.tsx:41
↓ 1 callersFunctionstripHtml
(text: string)
app/api/names/[slug]/verses/route.ts:136
↓ 1 callersFunctiontick
()
__tests__/lib/graph-service.test.ts:249
↓ 1 callersFunctiontoResult
(verse: Verse, reason: string, kind: EdgeKind)
lib/connection-generator.ts:166
↓ 1 callersFunctiontoggleActive
(s: Suggestion)
components/admin/ChallengeSuggestionsManager.tsx:85
↓ 1 callersFunctiontoggleSelected
()
components/canvas/VerseNode.tsx:43
↓ 1 callersFunctiontwoDaysAgoStr
()
__tests__/api/social/activity.test.ts:86
↓ 1 callersFunctionuptime
(s: number)
app/admin/infra/page.tsx:26
↓ 1 callersFunctionuseActivityTracker
()
hooks/useActivityTracker.ts:8
↓ 1 callersFunctionuseAdmin
()
components/admin/AdminContext.tsx:32
↓ 1 callersFunctionuseCanvasPersistence
()
hooks/useCanvasPersistence.ts:29
↓ 1 callersFunctionuseCountdown
Self-adjusting countdown: ticks per-second in the final hour, every 30s before.
components/social/ChallengeList.tsx:46
↓ 1 callersFunctionwarn
(msg)
scripts/precommit-checks.mjs:19
FunctionAccountMenu
()
components/layout/AccountMenu.tsx:21
FunctionAddFriendForm
({ onAdded }: Props)
components/social/AddFriendForm.tsx:20
FunctionAdminBrand
The Open Hikmah letterhead — logo + name in Amiri serif, "Hikmah" in gold. * Right-aligned in every admin page header.
components/admin/AdminShell.tsx:107
FunctionAdminChallengesPage
()
app/admin/challenges/page.tsx:11
FunctionAdminError
({ error, unstable_retry, }: { error: Error & { digest?: string }; unstable_retry: () => void; })
app/admin/error.tsx:8
FunctionAdminGate
({ children }: { children: React.ReactNode })
components/admin/AdminGate.tsx:20
FunctionAdminLayout
({ children }: { children: React.ReactNode })
app/admin/layout.tsx:15
FunctionAdminPageHeader
({ title, subtitle, actions, }: { title: string; subtitle?: string; actions?: React.ReactNode; })
components/admin/AdminShell.tsx:122
FunctionAdminShell
({ children }: { children: React.ReactNode })
components/admin/AdminShell.tsx:53
FunctionAiPage
()
app/admin/ai/page.tsx:26
FunctionAuditPage
()
app/admin/audit/page.tsx:18
FunctionAuthLoadingSkeleton
()
components/home/AuthLoadingSkeleton.tsx:3
FunctionAuthShell
({ children }: { children: React.ReactNode })
components/layout/AuthShell.tsx:9
FunctionAvatar
({ name, tone }: { name: string; tone: Tone })
components/social/ChallengeList.tsx:72
FunctionBarButton
A thumb-sized icon+label button for the mobile bottom action bar (≥56px tap target).
components/layout/Header.tsx:22
FunctionBookmarksError
({ error, unstable_retry, }: { error: Error & { digest?: string }; unstable_retry: () => void; })
app/bookmarks/error.tsx:6
FunctionBookmarksPage
()
app/bookmarks/page.tsx:13
FunctionCallbackClient
({ code, state, error }: Props)
app/callback/CallbackClient.tsx:15
FunctionCanvasError
({ error, unstable_retry, }: { error: Error & { digest?: string }; unstable_retry: () => void; })
app/canvas/error.tsx:6
FunctionCanvasInner
({ onSearchOpen }: { onSearchOpen: () => void })
components/canvas/HikmahCanvas.tsx:44
FunctionCanvasLegend
()
components/canvas/CanvasLegend.tsx:14
FunctionCanvasPage
()
app/canvas/page.tsx:29
FunctionCanvasPageClient
()
app/canvas/CanvasPageClient.tsx:72
FunctionCanvasPreview
({ className }: { className?: string })
components/home/CanvasPreview.tsx:183
FunctionCanvasToolbar
({ onSearchOpen }: { onSearchOpen: () => void })
components/canvas/CanvasToolbar.tsx:61
FunctionCanvasTour
()
components/canvas/CanvasTour.tsx:32
FunctionChallengeCard
({ c, myId, onUpdate, }: { c: EnrichedChallenge; myId: number; onUpdate: () => void; })
components/social/ChallengeList.tsx:103
FunctionChallengeList
({ challenges, onUpdate, layout = "list" }: Props)
components/social/ChallengeList.tsx:297
FunctionChallengeSuggestions
({ suggestions, onPick }: Props)
components/social/ChallengeSuggestions.tsx:22
FunctionChallengeSuggestionsManager
()
components/admin/ChallengeSuggestionsManager.tsx:31
FunctionChallengesModeration
()
components/admin/ChallengesModeration.tsx:50
FunctionConfirmButton
({ onConfirm, children, confirmLabel = "Confirm?", variant = "danger", size = "sm", ...props }: {
components/admin/primitives.tsx:108
FunctionConnectionsPage
()
app/admin/connections/page.tsx:25
FunctionContextSidebar
()
components/layout/ContextSidebar.tsx:257
FunctionCreateChallengeForm
({ friends, loadingFriends, onCreated, prefill, onClearPrefill, compact, }: Props)
components/social/CreateChallengeForm.tsx:39
FunctionDELETE
( req: NextRequest, { params }: { params: Promise<{ friendId: string }> } )
app/api/social/friends/[friendId]/route.ts:58
FunctionDELETE
(req: NextRequest, { params }: { params: Promise<{ id: string }> })
app/api/workspace/[id]/route.ts:30
FunctionDELETE
(req: NextRequest, { params }: { params: Promise<{ ref: string }> })
app/api/bookmarks/[ref]/route.ts:7
FunctionDELETE
(req: NextRequest, { params }: { params: Promise<{ id: string }> })
app/api/admin/challenges/[id]/route.ts:109
FunctionDELETE
(req: NextRequest)
app/api/admin/votd/route.ts:109
FunctionDELETE
(req: NextRequest)
app/api/admin/challenge-suggestions/route.ts:123
FunctionDELETE
(req: NextRequest)
app/api/admin/names/route.ts:74
FunctionDELETE
(req: NextRequest)
app/api/admin/flags/route.ts:67
FunctionDayEditor
({ date, existing, onSaved, }: { date: string | null; existing: Entry | null; onSaved: () => void;
app/admin/votd/page.tsx:145
FunctionEmptyState
({ onSearchOpen }: EmptyStateProps)
components/canvas/EmptyState.tsx:11
← previousnext →301–400 of 625, ranked by callers