MCPcopy Create free account

hub / github.com/Oak-and-Sprout/sprout-track / functions

Functions1,881 in github.com/Oak-and-Sprout/sprout-track

↓ 3 callersFunctiongetMeasurementByType
(measurements: any[], type: string)
app/api/baby-last-activities/route.ts:8
↓ 3 callersFunctiongetModelDelegate
* Get the Prisma model delegate for a given table name.
app/api/utils/db-backup.ts:183
↓ 3 callersFunctiongetSymbol
(unitAbbr: string | undefined | null, t: (key: string) => string)
src/hooks/useUnit.ts:21
↓ 3 callersFunctiongetTrend
(current: number, previous: number | null)
src/components/Reports/MonthlyReportCard/monthly-report-card.helpers.ts:75
↓ 3 callersFunctionhandleBlur
( e: React.FocusEvent<HTMLInputElement>, setter: (value: number) => void, fieldId: string )
src/components/forms/FeedForm/TimerInput.tsx:87
↓ 3 callersFunctionhandleCategorySelect
(category: string)
src/components/forms/NoteForm/index.tsx:310
↓ 3 callersFunctionhandleCategorySelect
(category: string)
src/components/forms/ActivityForm/index.tsx:352
↓ 3 callersFunctionhandleFamilySelect
(family: FamilyResponse)
app/family-select/page.tsx:150
↓ 3 callersFunctionhandleFocus
(e: React.FocusEvent<HTMLInputElement>, fieldId: string)
src/components/forms/FeedForm/TimerInput.tsx:80
↓ 3 callersFunctionhandleInputChange
( e: React.ChangeEvent<HTMLInputElement>, setter: (value: number) => void, max: number, fieldI
src/components/forms/FeedForm/TimerInput.tsx:58
↓ 3 callersFunctionhandleLogout
()
app/(app)/[slug]/client-layout.tsx:308
↓ 3 callersFunctionhandleProviderChange
(provider: EmailProviderType)
src/components/forms/AppConfigForm/index.tsx:292
↓ 3 callersFunctionhandleStart
(side: PumpSide)
src/components/features/nursery-mode/PumpTile.tsx:61
↓ 3 callersFunctionhandleTimerStart
(breast: 'LEFT' | 'RIGHT')
src/components/forms/FeedForm/BreastFeedForm.tsx:230
↓ 3 callersFunctionhandleVaccineSelect
(vaccine: string)
src/components/forms/VaccineForm/RecordVaccineTab.tsx:167
↓ 3 callersFunctionhashPassword
(password: string)
app/api/utils/password-utils.ts:12
↓ 3 callersFunctioninterpolateLMS
(cdcData, sex, ageMonths)
scripts/generate-demo-data.js:98
↓ 3 callersFunctionisAdmin
(authContext: AuthResult)
app/api/api-keys/route.ts:8
↓ 3 callersFunctionisInRange
(date: Date)
src/components/ui/calendar/index.tsx:198
↓ 3 callersFunctionisNotificationEligible
* Check if a notification is eligible to be sent * @param lastTimerNotifiedAt - When the last timer notification was sent (null = never) * @param ti
src/lib/notifications/timerCheck.ts:133
↓ 3 callersFunctionisPlayActivity
(activity: any)
src/components/Reports/PlayChartModal.tsx:42
↓ 3 callersFunctionisRangeEnd
(date: Date)
src/components/ui/calendar/index.tsx:193
↓ 3 callersFunctionisRangeStart
(date: Date)
src/components/ui/calendar/index.tsx:188
↓ 3 callersFunctionisSameDay
(date1, date2)
scripts/generate-inventory-data.js:29
↓ 3 callersFunctionisSelected
(date: Date)
src/components/ui/calendar/index.tsx:177
↓ 3 callersFunctionisToday
(date: Date)
src/components/ui/calendar/index.tsx:157
↓ 3 callersFunctionlbToLbOz
(value: number)
src/components/Timeline/utils.tsx:37
↓ 3 callersFunctionloadCdcData
(filename)
scripts/generate-demo-data.js:81
↓ 3 callersFunctionparseCdcCsvFile
* Parses a CDC growth chart CSV file and returns structured data * @param filePath Path to the CSV file
prisma/seed.ts:254
↓ 3 callersFunctionparseEnvFile
(content: string)
app/api/utils/env-reload.ts:9
↓ 3 callersFunctionparseUrl
(req)
st-guardian/index.js:102
↓ 3 callersFunctionrandomChoice
(array)
scripts/generate-play-data.js:20
↓ 3 callersFunctionrandomFloat
(min, max)
scripts/generate-health-data.js:28
↓ 3 callersFunctionresolveDir
(subdir?: string)
src/lib/file-encryption.ts:18
↓ 3 callersFunctionsendHtml
(res, statusCode, html)
st-guardian/index.js:148
↓ 3 callersFunctionsendNotificationWithLogging
( subscriptionId: string, subscription: { endpoint: string; p256dh: string; auth: string; },
src/lib/notifications/push.ts:132
↓ 3 callersFunctionupdateAmountField
(field: 'leftAmount' | 'rightAmount' | 'totalAmount', value: string)
src/components/forms/PumpForm/index.tsx:319
↓ 3 callersFunctionverifyPassword
(password: string, hashedPassword: string)
app/api/utils/password-utils.ts:42
↓ 2 callersFunctionarrayBufferToBase64
* Helper: Convert ArrayBuffer to base64
src/lib/notifications/client.ts:554
↓ 2 callersFunctionaskQuestion
(query: string)
scripts/email-test.ts:10
↓ 2 callersFunctionbuildHeatmapDataForActivities
(activities: ActivityType[])
src/components/Timeline/TimelineV2/timeline-heatmap.utils.ts:88
↓ 2 callersFunctioncalculateStats
(filteredActivities: any[], period: '2day' | '7day' | '14day' | '30day')
src/components/BabyQuickInfo/StatsTab.tsx:164
↓ 2 callersFunctioncalculateStats
(filteredActivities: any[], period: TimePeriod)
src/components/forms/BabyQuickStats/index.tsx:211
↓ 2 callersFunctioncalculateZScore
(value: number, l: number, m: number, s: number)
src/components/Reports/MonthlyReportCard/monthly-report-card.helpers.ts:10
↓ 2 callersFunctioncheckAuth
()
app/context/baby.tsx:169
↓ 2 callersFunctioncheckAuthStatus
()
src/components/ui/account-button/index.tsx:70
↓ 2 callersFunctioncheckSubscriptionStatus
()
src/lib/notifications/client.ts:459
↓ 2 callersFunctioncompareVersions
(current, latest)
st-guardian/index.js:871
↓ 2 callersFunctioncomputeConsistency
( logs: MedicineLogActivity[], totalDaysInRange: number )
src/components/Reports/HealthTab.tsx:43
↓ 2 callersFunctiondecrementAmount
(field: 'leftAmount' | 'rightAmount')
src/components/forms/PumpForm/index.tsx:307
↓ 2 callersFunctiondecryptFile
(storedName: string, subdir?: string)
src/lib/file-encryption.ts:52
↓ 2 callersFunctiondisconnectPrisma
()
app/api/database/restore-initial/route.ts:12
↓ 2 callersFunctionencryptAndStore
(data: Buffer, storedName: string, subdir?: string)
src/lib/file-encryption.ts:31
↓ 2 callersFunctionescapeForSingleQuotedJsString
(str)
scripts/extract-localization-strings.js:381
↓ 2 callersFunctionexecScript
(scriptPath, args = [])
st-guardian/index.js:160
↓ 2 callersFunctionfetchAccountStatus
()
src/components/ui/side-nav/index.tsx:236
↓ 2 callersFunctionfetchBreastMilkBalance
(babyId: string)
src/components/Timeline/index.tsx:98
↓ 2 callersFunctionfetchCaretakers
()
src/components/forms/CaretakerForm/CaretakerForm.tsx:102
↓ 2 callersFunctionfetchData
()
src/components/modals/SettingsModal.tsx:65
↓ 2 callersFunctionfetchData
()
src/components/account-manager/index.tsx:53
↓ 2 callersFunctionfetchPaymentHistory
(startingAfter?: string)
src/components/account-manager/PaymentHistory.tsx:70
↓ 2 callersFunctionfilterActivities
(period: '2day' | '7day' | '14day' | '30day')
src/components/BabyQuickInfo/StatsTab.tsx:141
↓ 2 callersFunctionfilterActivities
(period: TimePeriod)
src/components/forms/BabyQuickStats/index.tsx:177
↓ 2 callersFunctionfindFiles
* Recursively find all TypeScript/TSX files
scripts/extract-localization-strings.js:444
↓ 2 callersFunctionflattenMessages
(thread: FeedbackResponse)
src/components/ui/chat-conversation/index.tsx:45
↓ 2 callersFunctionformatBreastSide
(side: string)
src/components/Timeline/utils.tsx:295
↓ 2 callersFunctionformatDate
(date: Date | null | undefined)
src/components/ui/calendar/index.tsx:215
↓ 2 callersFunctionformatDateForInput
(dateStr: string)
src/components/modals/FeedModal.tsx:71
↓ 2 callersFunctionformatDateForInput
(dateStr: string)
src/components/modals/DiaperModal.tsx:52
↓ 2 callersFunctionformatDateForInput
(dateStr: string)
src/components/modals/NoteModal.tsx:97
↓ 2 callersFunctionformatDiaperColor
(color: string)
src/components/Timeline/utils.tsx:391
↓ 2 callersFunctionformatDiaperCondition
(condition: string)
src/components/Timeline/utils.tsx:382
↓ 2 callersFunctionformatDiaperType
(type: string)
src/components/Timeline/utils.tsx:374
↓ 2 callersFunctionformatDoseMinTime
(value: string, unit: 'hours' | 'days')
src/components/forms/MedicineForm/MedicineForm.tsx:103
↓ 2 callersFunctionformatDuration
(totalSeconds: number)
src/components/ActiveActivityBanner/index.tsx:25
↓ 2 callersFunctionformatDuration
(totalSeconds: number)
src/components/forms/FeedForm/index.tsx:156
↓ 2 callersFunctionformatDuration
(minutes: number)
src/components/ui/activity-tile/activity-tile-utils.ts:56
↓ 2 callersFunctionformatFeedType
(type: string)
src/components/Timeline/utils.tsx:287
↓ 2 callersFunctionformatMeasurementType
(type: string)
src/components/Timeline/utils.tsx:613
↓ 2 callersFunctionformatMilestoneCategory
(category: string)
src/components/Timeline/utils.tsx:565
↓ 2 callersFunctionformatMinutes
(minutes: number)
src/components/Reports/SleepChartModal.tsx:39
↓ 2 callersFunctionformatMinutes
(minutes: number)
src/components/Reports/SleepLocationsChartModal.tsx:28
↓ 2 callersFunctionformatMinutes
(minutes: number)
src/components/Reports/FeedingStatsSection.tsx:26
↓ 2 callersFunctionformatMinutes
(minutes: number)
src/components/Reports/PumpingChartModal.tsx:39
↓ 2 callersFunctionformatPeriodLabel
(period: '2day' | '7day' | '14day' | '30day')
src/components/BabyQuickInfo/StatsTab.tsx:413
↓ 2 callersFunctionformatPeriodLabel
(period: TimePeriod)
src/components/forms/BabyQuickStats/index.tsx:444
↓ 2 callersFunctionformatPlayType
(type: string)
src/components/Timeline/utils.tsx:199
↓ 2 callersFunctionformatTime
(date: Date | null)
src/components/ui/date-time-picker/index.tsx:124
↓ 2 callersFunctionformatTime
(dateString: string)
src/components/CalendarEvent/index.tsx:42
↓ 2 callersFunctionformatTimeElapsed
(minutes: number, lang: string)
src/lib/notifications/i18n.ts:78
↓ 2 callersFunctionformatWeekLabel
(weekKey: string, dateFormat: DateFormatSetting)
src/components/Reports/BathChartModal.tsx:47
↓ 2 callersFunctiongenerateColors
(count: number)
src/components/Reports/FeedingChartModal.tsx:47
↓ 2 callersFunctiongenerateSlug
()
scripts/family-migration.js:39
↓ 2 callersFunctiongenerateStoredName
()
src/lib/file-encryption.ts:87
↓ 2 callersFunctiongetActivityColor
(activity: ActivityType)
src/components/Reports/ActivityTab.tsx:75
↓ 2 callersFunctiongetActivityTime
(activity: any)
app/api/timeline/route.ts:18
↓ 2 callersFunctiongetActivityTime
(activity: any)
app/api/timeline/export/route.ts:293
↓ 2 callersFunctiongetAdminEmail
()
app/api/utils/feedback-emails.ts:28
↓ 2 callersFunctiongetCalendarDayKey
(timeIso: string)
src/components/Reports/StatsTab.tsx:93
↓ 2 callersFunctiongetCdcRows
(cdcTable: 'weight' | 'length' | 'head_circumference')
app/api/babies/[babyId]/report/[yearMonth]/route.ts:250
← previousnext →201–300 of 1,881, ranked by callers