MCPcopy Create free account

hub / github.com/MonoYan/open-medkit / functions

Functions359 in github.com/MonoYan/open-medkit

↓ 3 callersFunctionreadAiErrorDetail
(response: Response)
backend/src/ai/client.ts:77
↓ 3 callersFunctionrowToMedicine
(row: MedicineRecord)
backend/src/routes/medicines.ts:64
↓ 3 callersFunctionsetStoredTimezone
(db: SqliteDatabase, timezone: string)
backend/src/utils/timezone.ts:96
↓ 2 callersFunctionaddById
(id: number)
backend/src/ai/query.ts:67
↓ 2 callersFunctionaddDays
(dateStr: string, days: number)
backend/src/utils/timezone.ts:46
↓ 2 callersFunctionappendContent
(content: string)
backend/src/routes/ai.ts:485
↓ 2 callersFunctionbuildQueryNotes
( medicines: Medicine[], todayStr: string, in30daysStr: string, expiringDays: number, )
backend/src/ai/query.ts:247
↓ 2 callersFunctionbuildSetCookie
(token: string, maxAge: number, isSecure: boolean)
backend/src/routes/auth.ts:22
↓ 2 callersFunctionbuildSignFields
(secret?: string)
backend/src/services/feishu.ts:43
↓ 2 callersFunctioncompleteMedicineDraft
( draft: Partial<Medicine>, settings: Settings, sourceText?: string )
frontend/src/lib/api.ts:238
↓ 2 callersFunctioncomputeStats
(expiringDays = 30)
backend/src/mcp-server.ts:126
↓ 2 callersFunctioncreateTransport
(config: SmtpConfig)
backend/src/services/email.ts:35
↓ 2 callersFunctiondaysUntil
(dateStr: string, today: string)
backend/src/services/notifier.ts:84
↓ 2 callersFunctiondetectSecure
(c: { req: { header: (name: string) => string | undefined; url: string } })
backend/src/routes/auth.ts:34
↓ 2 callersFunctionformatMedicineBullet
( medicine: Medicine, todayStr: string, in30daysStr: string, )
backend/src/ai/query.ts:226
↓ 2 callersFunctiongetAllMedicines
()
backend/src/ai/medicine.ts:132
↓ 2 callersFunctiongetAppSettings
()
frontend/src/lib/api.ts:676
↓ 2 callersFunctiongetBrowserTimezone
()
frontend/src/hooks/useTimezone.tsx:26
↓ 2 callersFunctiongetFrontendDistPath
()
backend/src/index.ts:59
↓ 2 callersFunctiongetTodayStr
(timezone: string)
frontend/src/lib/utils.ts:21
↓ 2 callersFunctionhandleSaveSingle
()
frontend/src/components/AddModal.tsx:1395
↓ 2 callersFunctionhandleSelect
(option: SelectOption<T>)
frontend/src/components/SelectMenu.tsx:143
↓ 2 callersFunctionimmediateResponse
(answer: string, matchedMedicines: Medicine[])
backend/src/routes/ai.ts:409
↓ 2 callersFunctioninitStreaming
()
frontend/src/components/AddModal.tsx:1085
↓ 2 callersFunctionmakeTypewriter
(controller: AbortController, onDone: () => void)
frontend/src/components/AddModal.tsx:1099
↓ 2 callersFunctionmoveActiveIndex
(direction: 1 | -1)
frontend/src/components/ComboboxSelect.tsx:163
↓ 2 callersFunctionmoveActiveIndex
(direction: 1 | -1)
frontend/src/components/SelectMenu.tsx:129
↓ 2 callersFunctionopenMenu
()
frontend/src/components/ComboboxSelect.tsx:155
↓ 2 callersFunctionparseCookie
(header: string | undefined, name: string)
backend/src/routes/auth.ts:16
↓ 2 callersFunctionparseMedicineImage
(c: Context<AiEnv>, imageDataUrl: string)
backend/src/ai/parse.ts:28
↓ 2 callersFunctionparseMedicineStream
( text: string, settings: Settings, onChunk: (content: string) => void, signal?: AbortSignal, )
frontend/src/lib/api.ts:260
↓ 2 callersFunctionpostWebhook
( webhookUrl: string, body: Record<string, unknown>, )
backend/src/services/feishu.ts:22
↓ 2 callersFunctionqueryExpiringMedicines
(db: SqliteDatabase, timezone: string, expiringDays = 30)
backend/src/services/notifier.ts:147
↓ 2 callersFunctionreadDismissedNotices
()
frontend/src/hooks/useDismissedNotice.ts:7
↓ 2 callersFunctionrenderSidebar
(onClose?: () => void)
frontend/src/App.tsx:183
↓ 2 callersFunctionrowToMedicine
(row: MedicineRecord)
backend/src/ai/medicine.ts:25
↓ 2 callersMethodsend
(config: Record<string, string>, message: string)
backend/src/services/notifier.ts:20
↓ 2 callersFunctionsendResend
( config: ResendConfig, subject: string, html: string, )
backend/src/services/email.ts:64
↓ 2 callersFunctionsetOnUnauthenticated
(cb: (() => void) | null)
frontend/src/lib/api.ts:24
↓ 2 callersFunctionsetTimezone
(timezone: string)
frontend/src/lib/api.ts:681
↓ 2 callersFunctionshouldRetryWithoutJsonMode
(status: number, errorDetail: string)
backend/src/ai/client.ts:123
↓ 2 callersFunctiontick
()
backend/src/services/notifier.ts:200
↓ 2 callersFunctiontriggerShake
()
frontend/src/components/LoginPage.tsx:39
↓ 2 callersFunctionupdateSettings
(partial: Partial<Settings>)
frontend/src/hooks/useSettings.ts:38
↓ 2 callersFunctionvalidateSession
(token: string)
backend/src/auth/session.ts:30
↓ 1 callersFunctionaddDays
(dateStr: string, days: number)
frontend/src/lib/utils.ts:39
↓ 1 callersFunctionaddMedicine
(data: MedicinePayload)
frontend/src/hooks/useMedicines.ts:71
↓ 1 callersFunctionattachMeta
(data: unknown)
backend/src/mcp-server.ts:180
↓ 1 callersFunctionbuildMedicineMeta
(medicine: Medicine)
frontend/src/components/AiPanel.tsx:235
↓ 1 callersFunctionbuildSuggestionChips
(medicines: Medicine[], timezone: string, expiringDays: number)
frontend/src/components/AiPanel.tsx:131
↓ 1 callersFunctioncallAiText
( c: Context<AiEnv>, messages: ChatMessage[], )
backend/src/ai/client.ts:211
↓ 1 callersFunctioncallApi
(token: string, method: string, params?: Record<string, unknown>)
backend/src/services/telegram.ts:30
↓ 1 callersFunctioncheckRateLimit
(key: string)
backend/src/auth/session.ts:64
↓ 1 callersFunctioncompleteMedicineDraft
( c: Context<AiEnv>, draft: Record<string, unknown>, sourceText: string, )
backend/src/ai/parse.ts:40
↓ 1 callersFunctioncompressImage
( file: File, maxSize = 1024, quality = 0.8, )
frontend/src/lib/utils.ts:116
↓ 1 callersFunctioncreateMedicine
(data: MedicinePayload)
frontend/src/lib/api.ts:151
↓ 1 callersFunctioncreateSession
()
backend/src/auth/session.ts:24
↓ 1 callersFunctioncreateTestDb
()
backend/src/test-helpers.ts:7
↓ 1 callersFunctiondeleteMedicine
(id: number)
frontend/src/lib/api.ts:175
↓ 1 callersFunctiondetectTimezone
()
frontend/src/hooks/useTimezone.tsx:60
↓ 1 callersFunctionensureMedicineColumns
(database: SqliteDatabase)
backend/src/db/client.ts:11
↓ 1 callersFunctionexportMedicines
()
frontend/src/lib/api.ts:181
↓ 1 callersFunctionfetchStream
( c: Context<AiEnv>, messages: ChatMessage[], jsonMode = true, )
backend/src/ai/client.ts:132
↓ 1 callersFunctionfill
()
frontend/src/components/AddModal.tsx:1051
↓ 1 callersFunctionformatDateInTimezone
(date: Date, timezone: string)
backend/src/utils/timezone.ts:37
↓ 1 callersFunctiongenSign
(secret: string, timestamp: number)
backend/src/services/feishu.ts:14
↓ 1 callersFunctiongetAiConfigStatus
()
frontend/src/lib/api.ts:664
↓ 1 callersFunctiongetAllTimezoneOptions
()
frontend/src/components/SettingsModal.tsx:104
↓ 1 callersFunctiongetAuthStatus
()
frontend/src/lib/api.ts:37
↓ 1 callersFunctiongetCategories
()
frontend/src/lib/api.ts:141
↓ 1 callersFunctiongetContentType
(filePath: string)
backend/src/index.ts:68
↓ 1 callersFunctiongetDateParts
(date: Date, timezone: string)
backend/src/utils/timezone.ts:12
↓ 1 callersFunctiongetDotClass
(status: ReturnType<typeof getMedicineStatus>)
frontend/src/components/AiPanel.tsx:219
↓ 1 callersFunctiongetMedicines
(filters?: { category?: string; status?: MedicineFilterStatus; expiringDays?: number; })
frontend/src/lib/api.ts:105
↓ 1 callersFunctiongetMergedCategories
()
backend/src/mcp-server.ts:55
↓ 1 callersFunctiongetNotificationChannels
()
frontend/src/lib/api.ts:695
↓ 1 callersFunctiongetOptionCardStateClass
(selected: boolean)
frontend/src/components/SettingsModal.tsx:850
↓ 1 callersFunctiongetOptionIndex
( options: Array<SelectOption<T>>, value: T | null | undefined, )
frontend/src/components/SelectMenu.tsx:40
↓ 1 callersFunctiongetRateLimitKey
(c: Parameters<typeof getConnInfo>[0])
backend/src/routes/auth.ts:43
↓ 1 callersFunctiongetStats
(expiringDays?: number)
frontend/src/lib/api.ts:129
↓ 1 callersFunctiongetStatusClasses
(status: ReturnType<typeof getMedicineStatus>)
frontend/src/components/MedicineDetailModal.tsx:23
↓ 1 callersFunctiongetStatusClasses
(status: ReturnType<typeof getMedicineStatus>)
frontend/src/components/MedCard.tsx:17
↓ 1 callersFunctionhandleAiSupplement
()
frontend/src/components/AddModal.tsx:1293
↓ 1 callersFunctionhandleBatchAiSupplement
(itemId: string)
frontend/src/components/AddModal.tsx:1327
↓ 1 callersFunctionhandleChange
()
frontend/src/hooks/useTheme.ts:24
↓ 1 callersFunctionhandleDcHourChange
(hour: number)
frontend/src/components/SettingsModal.tsx:651
↓ 1 callersFunctionhandleDcSave
()
frontend/src/components/SettingsModal.tsx:607
↓ 1 callersFunctionhandleDcTest
()
frontend/src/components/SettingsModal.tsx:661
↓ 1 callersFunctionhandleDcToggle
(enabled: boolean)
frontend/src/components/SettingsModal.tsx:641
↓ 1 callersFunctionhandleDcUnlink
()
frontend/src/components/SettingsModal.tsx:627
↓ 1 callersFunctionhandleDcVerify
()
frontend/src/components/SettingsModal.tsx:588
↓ 1 callersFunctionhandleDelete
(medicine: Medicine)
frontend/src/App.tsx:118
↓ 1 callersFunctionhandleEmHourChange
(hour: number)
frontend/src/components/SettingsModal.tsx:821
↓ 1 callersFunctionhandleEmPortChange
(port: number)
frontend/src/components/SettingsModal.tsx:845
↓ 1 callersFunctionhandleEmTest
()
frontend/src/components/SettingsModal.tsx:831
↓ 1 callersFunctionhandleEmToggle
(enabled: boolean)
frontend/src/components/SettingsModal.tsx:811
↓ 1 callersFunctionhandleEmUnlink
()
frontend/src/components/SettingsModal.tsx:797
↓ 1 callersFunctionhandleEmVerifyAndSave
()
frontend/src/components/SettingsModal.tsx:763
↓ 1 callersFunctionhandleExport
()
frontend/src/components/SettingsModal.tsx:387
↓ 1 callersFunctionhandleFsHourChange
(hour: number)
frontend/src/components/SettingsModal.tsx:737
← previousnext →101–200 of 359, ranked by callers