Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oak-and-Sprout/sprout-track
/ functions
Functions
1,881 in github.com/Oak-and-Sprout/sprout-track
⨍
Functions
1,881
◇
Types & classes
512
↓ 3 callers
Function
getMeasurementByType
(measurements: any[], type: string)
app/api/baby-last-activities/route.ts:8
↓ 3 callers
Function
getModelDelegate
* Get the Prisma model delegate for a given table name.
app/api/utils/db-backup.ts:183
↓ 3 callers
Function
getSymbol
(unitAbbr: string | undefined | null, t: (key: string) => string)
src/hooks/useUnit.ts:21
↓ 3 callers
Function
getTrend
(current: number, previous: number | null)
src/components/Reports/MonthlyReportCard/monthly-report-card.helpers.ts:75
↓ 3 callers
Function
handleBlur
( e: React.FocusEvent<HTMLInputElement>, setter: (value: number) => void, fieldId: string )
src/components/forms/FeedForm/TimerInput.tsx:87
↓ 3 callers
Function
handleCategorySelect
(category: string)
src/components/forms/NoteForm/index.tsx:310
↓ 3 callers
Function
handleCategorySelect
(category: string)
src/components/forms/ActivityForm/index.tsx:352
↓ 3 callers
Function
handleFamilySelect
(family: FamilyResponse)
app/family-select/page.tsx:150
↓ 3 callers
Function
handleFocus
(e: React.FocusEvent<HTMLInputElement>, fieldId: string)
src/components/forms/FeedForm/TimerInput.tsx:80
↓ 3 callers
Function
handleInputChange
( e: React.ChangeEvent<HTMLInputElement>, setter: (value: number) => void, max: number, fieldI
src/components/forms/FeedForm/TimerInput.tsx:58
↓ 3 callers
Function
handleLogout
()
app/(app)/[slug]/client-layout.tsx:308
↓ 3 callers
Function
handleProviderChange
(provider: EmailProviderType)
src/components/forms/AppConfigForm/index.tsx:292
↓ 3 callers
Function
handleStart
(side: PumpSide)
src/components/features/nursery-mode/PumpTile.tsx:61
↓ 3 callers
Function
handleTimerStart
(breast: 'LEFT' | 'RIGHT')
src/components/forms/FeedForm/BreastFeedForm.tsx:230
↓ 3 callers
Function
handleVaccineSelect
(vaccine: string)
src/components/forms/VaccineForm/RecordVaccineTab.tsx:167
↓ 3 callers
Function
hashPassword
(password: string)
app/api/utils/password-utils.ts:12
↓ 3 callers
Function
interpolateLMS
(cdcData, sex, ageMonths)
scripts/generate-demo-data.js:98
↓ 3 callers
Function
isAdmin
(authContext: AuthResult)
app/api/api-keys/route.ts:8
↓ 3 callers
Function
isInRange
(date: Date)
src/components/ui/calendar/index.tsx:198
↓ 3 callers
Function
isNotificationEligible
* 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 callers
Function
isPlayActivity
(activity: any)
src/components/Reports/PlayChartModal.tsx:42
↓ 3 callers
Function
isRangeEnd
(date: Date)
src/components/ui/calendar/index.tsx:193
↓ 3 callers
Function
isRangeStart
(date: Date)
src/components/ui/calendar/index.tsx:188
↓ 3 callers
Function
isSameDay
(date1, date2)
scripts/generate-inventory-data.js:29
↓ 3 callers
Function
isSelected
(date: Date)
src/components/ui/calendar/index.tsx:177
↓ 3 callers
Function
isToday
(date: Date)
src/components/ui/calendar/index.tsx:157
↓ 3 callers
Function
lbToLbOz
(value: number)
src/components/Timeline/utils.tsx:37
↓ 3 callers
Function
loadCdcData
(filename)
scripts/generate-demo-data.js:81
↓ 3 callers
Function
parseCdcCsvFile
* Parses a CDC growth chart CSV file and returns structured data * @param filePath Path to the CSV file
prisma/seed.ts:254
↓ 3 callers
Function
parseEnvFile
(content: string)
app/api/utils/env-reload.ts:9
↓ 3 callers
Function
parseUrl
(req)
st-guardian/index.js:102
↓ 3 callers
Function
randomChoice
(array)
scripts/generate-play-data.js:20
↓ 3 callers
Function
randomFloat
(min, max)
scripts/generate-health-data.js:28
↓ 3 callers
Function
resolveDir
(subdir?: string)
src/lib/file-encryption.ts:18
↓ 3 callers
Function
sendHtml
(res, statusCode, html)
st-guardian/index.js:148
↓ 3 callers
Function
sendNotificationWithLogging
( subscriptionId: string, subscription: { endpoint: string; p256dh: string; auth: string; },
src/lib/notifications/push.ts:132
↓ 3 callers
Function
updateAmountField
(field: 'leftAmount' | 'rightAmount' | 'totalAmount', value: string)
src/components/forms/PumpForm/index.tsx:319
↓ 3 callers
Function
verifyPassword
(password: string, hashedPassword: string)
app/api/utils/password-utils.ts:42
↓ 2 callers
Function
arrayBufferToBase64
* Helper: Convert ArrayBuffer to base64
src/lib/notifications/client.ts:554
↓ 2 callers
Function
askQuestion
(query: string)
scripts/email-test.ts:10
↓ 2 callers
Function
buildHeatmapDataForActivities
(activities: ActivityType[])
src/components/Timeline/TimelineV2/timeline-heatmap.utils.ts:88
↓ 2 callers
Function
calculateStats
(filteredActivities: any[], period: '2day' | '7day' | '14day' | '30day')
src/components/BabyQuickInfo/StatsTab.tsx:164
↓ 2 callers
Function
calculateStats
(filteredActivities: any[], period: TimePeriod)
src/components/forms/BabyQuickStats/index.tsx:211
↓ 2 callers
Function
calculateZScore
(value: number, l: number, m: number, s: number)
src/components/Reports/MonthlyReportCard/monthly-report-card.helpers.ts:10
↓ 2 callers
Function
checkAuth
()
app/context/baby.tsx:169
↓ 2 callers
Function
checkAuthStatus
()
src/components/ui/account-button/index.tsx:70
↓ 2 callers
Function
checkSubscriptionStatus
()
src/lib/notifications/client.ts:459
↓ 2 callers
Function
compareVersions
(current, latest)
st-guardian/index.js:871
↓ 2 callers
Function
computeConsistency
( logs: MedicineLogActivity[], totalDaysInRange: number )
src/components/Reports/HealthTab.tsx:43
↓ 2 callers
Function
decrementAmount
(field: 'leftAmount' | 'rightAmount')
src/components/forms/PumpForm/index.tsx:307
↓ 2 callers
Function
decryptFile
(storedName: string, subdir?: string)
src/lib/file-encryption.ts:52
↓ 2 callers
Function
disconnectPrisma
()
app/api/database/restore-initial/route.ts:12
↓ 2 callers
Function
encryptAndStore
(data: Buffer, storedName: string, subdir?: string)
src/lib/file-encryption.ts:31
↓ 2 callers
Function
escapeForSingleQuotedJsString
(str)
scripts/extract-localization-strings.js:381
↓ 2 callers
Function
execScript
(scriptPath, args = [])
st-guardian/index.js:160
↓ 2 callers
Function
fetchAccountStatus
()
src/components/ui/side-nav/index.tsx:236
↓ 2 callers
Function
fetchBreastMilkBalance
(babyId: string)
src/components/Timeline/index.tsx:98
↓ 2 callers
Function
fetchCaretakers
()
src/components/forms/CaretakerForm/CaretakerForm.tsx:102
↓ 2 callers
Function
fetchData
()
src/components/modals/SettingsModal.tsx:65
↓ 2 callers
Function
fetchData
()
src/components/account-manager/index.tsx:53
↓ 2 callers
Function
fetchPaymentHistory
(startingAfter?: string)
src/components/account-manager/PaymentHistory.tsx:70
↓ 2 callers
Function
filterActivities
(period: '2day' | '7day' | '14day' | '30day')
src/components/BabyQuickInfo/StatsTab.tsx:141
↓ 2 callers
Function
filterActivities
(period: TimePeriod)
src/components/forms/BabyQuickStats/index.tsx:177
↓ 2 callers
Function
findFiles
* Recursively find all TypeScript/TSX files
scripts/extract-localization-strings.js:444
↓ 2 callers
Function
flattenMessages
(thread: FeedbackResponse)
src/components/ui/chat-conversation/index.tsx:45
↓ 2 callers
Function
formatBreastSide
(side: string)
src/components/Timeline/utils.tsx:295
↓ 2 callers
Function
formatDate
(date: Date | null | undefined)
src/components/ui/calendar/index.tsx:215
↓ 2 callers
Function
formatDateForInput
(dateStr: string)
src/components/modals/FeedModal.tsx:71
↓ 2 callers
Function
formatDateForInput
(dateStr: string)
src/components/modals/DiaperModal.tsx:52
↓ 2 callers
Function
formatDateForInput
(dateStr: string)
src/components/modals/NoteModal.tsx:97
↓ 2 callers
Function
formatDiaperColor
(color: string)
src/components/Timeline/utils.tsx:391
↓ 2 callers
Function
formatDiaperCondition
(condition: string)
src/components/Timeline/utils.tsx:382
↓ 2 callers
Function
formatDiaperType
(type: string)
src/components/Timeline/utils.tsx:374
↓ 2 callers
Function
formatDoseMinTime
(value: string, unit: 'hours' | 'days')
src/components/forms/MedicineForm/MedicineForm.tsx:103
↓ 2 callers
Function
formatDuration
(totalSeconds: number)
src/components/ActiveActivityBanner/index.tsx:25
↓ 2 callers
Function
formatDuration
(totalSeconds: number)
src/components/forms/FeedForm/index.tsx:156
↓ 2 callers
Function
formatDuration
(minutes: number)
src/components/ui/activity-tile/activity-tile-utils.ts:56
↓ 2 callers
Function
formatFeedType
(type: string)
src/components/Timeline/utils.tsx:287
↓ 2 callers
Function
formatMeasurementType
(type: string)
src/components/Timeline/utils.tsx:613
↓ 2 callers
Function
formatMilestoneCategory
(category: string)
src/components/Timeline/utils.tsx:565
↓ 2 callers
Function
formatMinutes
(minutes: number)
src/components/Reports/SleepChartModal.tsx:39
↓ 2 callers
Function
formatMinutes
(minutes: number)
src/components/Reports/SleepLocationsChartModal.tsx:28
↓ 2 callers
Function
formatMinutes
(minutes: number)
src/components/Reports/FeedingStatsSection.tsx:26
↓ 2 callers
Function
formatMinutes
(minutes: number)
src/components/Reports/PumpingChartModal.tsx:39
↓ 2 callers
Function
formatPeriodLabel
(period: '2day' | '7day' | '14day' | '30day')
src/components/BabyQuickInfo/StatsTab.tsx:413
↓ 2 callers
Function
formatPeriodLabel
(period: TimePeriod)
src/components/forms/BabyQuickStats/index.tsx:444
↓ 2 callers
Function
formatPlayType
(type: string)
src/components/Timeline/utils.tsx:199
↓ 2 callers
Function
formatTime
(date: Date | null)
src/components/ui/date-time-picker/index.tsx:124
↓ 2 callers
Function
formatTime
(dateString: string)
src/components/CalendarEvent/index.tsx:42
↓ 2 callers
Function
formatTimeElapsed
(minutes: number, lang: string)
src/lib/notifications/i18n.ts:78
↓ 2 callers
Function
formatWeekLabel
(weekKey: string, dateFormat: DateFormatSetting)
src/components/Reports/BathChartModal.tsx:47
↓ 2 callers
Function
generateColors
(count: number)
src/components/Reports/FeedingChartModal.tsx:47
↓ 2 callers
Function
generateSlug
()
scripts/family-migration.js:39
↓ 2 callers
Function
generateStoredName
()
src/lib/file-encryption.ts:87
↓ 2 callers
Function
getActivityColor
(activity: ActivityType)
src/components/Reports/ActivityTab.tsx:75
↓ 2 callers
Function
getActivityTime
(activity: any)
app/api/timeline/route.ts:18
↓ 2 callers
Function
getActivityTime
(activity: any)
app/api/timeline/export/route.ts:293
↓ 2 callers
Function
getAdminEmail
()
app/api/utils/feedback-emails.ts:28
↓ 2 callers
Function
getCalendarDayKey
(timeIso: string)
src/components/Reports/StatsTab.tsx:93
↓ 2 callers
Function
getCdcRows
(cdcTable: 'weight' | 'length' | 'head_circumference')
app/api/babies/[babyId]/report/[yearMonth]/route.ts:250
← previous
next →
201–300 of 1,881, ranked by callers