MCPcopy Create free account

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

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

↓ 1 callersFunctionhandleSubscriptionDeleted
* Handle subscription deletion (cancellation)
app/api/accounts/payments/webhook/route.ts:442
↓ 1 callersFunctionhandleSubscriptionUpdate
* Handle subscription creation or update
app/api/accounts/payments/webhook/route.ts:395
↓ 1 callersFunctionhandleUnitChange
(unitAbbr: string)
src/components/forms/MedicineForm/GiveMedicineTab.tsx:212
↓ 1 callersFunctionhandleUnitChange
(unitAbbr: string)
src/components/forms/GiveMedicineForm/index.tsx:250
↓ 1 callersFunctionhandleVerifyPin
()
src/components/modals/ChangePinModal.tsx:65
↓ 1 callersFunctionhandleYearClick
(year: number)
src/components/ui/calendar/YearSelectorPage.tsx:23
↓ 1 callersFunctionhasVapidKeys
(envContent: string)
scripts/setup-vapid-keys.ts:65
↓ 1 callersFunctioninitializeData
()
app/(app)/[slug]/log-entry/page.tsx:196
↓ 1 callersFunctioninitializeWebPush
()
src/lib/notifications/push.ts:10
↓ 1 callersFunctioninstallCrontab
(crontab: string)
scripts/setup-notification-cron.ts:91
↓ 1 callersFunctioninvalidateToken
(token: string)
app/api/utils/auth.ts:810
↓ 1 callersFunctionisAbnormalColor
(color: string | null)
src/components/Reports/MonthlyReportCard/monthly-report-card.helpers.ts:124
↓ 1 callersFunctionisAlreadyLocalized
* Check if a string is already wrapped in t() call
scripts/extract-localization-strings.js:172
↓ 1 callersFunctionisBathActivity
(act: any)
src/components/FullLogTimeline/index.tsx:125
↓ 1 callersFunctionisBathLog
(activity: ActivityType)
src/components/ui/activity-tile/activity-tile-utils.ts:210
↓ 1 callersFunctionisCurrentMonth
(date: Date)
src/components/Calendar/index.tsx:241
↓ 1 callersFunctionisDiaperActivity
(act: any)
src/components/FullLogTimeline/index.tsx:110
↓ 1 callersFunctionisFeedActivity
(act: any)
src/components/FullLogTimeline/index.tsx:98
↓ 1 callersFunctionisMeasurementActivity
(act: any)
src/components/FullLogTimeline/index.tsx:150
↓ 1 callersFunctionisMedicineActivity
(act: any)
src/components/FullLogTimeline/index.tsx:159
↓ 1 callersFunctionisMilestoneActivity
(act: any)
src/components/FullLogTimeline/index.tsx:142
↓ 1 callersFunctionisNoteActivity
(act: any)
src/components/FullLogTimeline/index.tsx:118
↓ 1 callersFunctionisPlayLog
(activity: ActivityType)
src/components/ui/activity-tile/activity-tile-utils.ts:175
↓ 1 callersFunctionisPrivateNetwork
* Returns true if the hostname is a private/local network address. * Allows HTTP for loopback, RFC 1918, link-local, and IPv6 ULA/link-local.
app/api/hooks/v1/auth.ts:9
↓ 1 callersFunctionisPumpActivity
(act: any)
src/components/DailyStats/index.tsx:309
↓ 1 callersFunctionisPumpActivity
(act: any)
src/components/FullLogTimeline/index.tsx:132
↓ 1 callersFunctionisPumpLog
(activity: ActivityType)
src/components/ui/activity-tile/activity-tile-utils.ts:238
↓ 1 callersFunctionisReservedSlug
(slug: string)
app/api/utils/slug-validation.ts:38
↓ 1 callersFunctionisSameDay
(d1: string, d2: string)
src/components/ui/chat-conversation/index.tsx:109
↓ 1 callersFunctionisSameDay
(date1, date2)
scripts/generate-breast-feeds.js:31
↓ 1 callersFunctionisSameDay
(date1, date2)
scripts/generate-pump-logs.js:31
↓ 1 callersFunctionisSameUTCDay
(eventDateStr: string | Date, localDate: Date)
src/components/Calendar/index.tsx:249
↓ 1 callersFunctionisSleepActivity
(act: any)
src/components/FullLogTimeline/index.tsx:89
↓ 1 callersFunctionisUtcDate
* Check if a date is in UTC * This improved version is more reliable during DST transitions * @param date The date to check * @returns True if the
scripts/ensure-utc-dates-improved.js:69
↓ 1 callersFunctionisVaccineLog
(activity: ActivityType)
src/components/ui/activity-tile/activity-tile-utils.ts:224
↓ 1 callersFunctionisValidEmail
(email: string)
app/api/accounts/forgot-password/route.ts:32
↓ 1 callersFunctionisValidEmail
(email: string)
app/api/accounts/register/route.ts:81
↓ 1 callersFunctionisValidEmail
(email: string)
app/api/accounts/login/route.ts:35
↓ 1 callersFunctionisValidEmail
(email: string)
app/api/beta-signup/route.ts:25
↓ 1 callersFunctionisValidLanguageCode
* Validates if a language code is allowed (configured in supported-languages.json)
app/api/localization/route.ts:12
↓ 1 callersFunctionisValidPassword
(password: string)
app/api/accounts/reset-password/route.ts:32
↓ 1 callersFunctionisValidPassword
(password: string)
app/api/accounts/change-password/route.ts:17
↓ 1 callersFunctionisValidPassword
(password: string)
app/api/accounts/register/route.ts:86
↓ 1 callersFunctionisValidTimezone
(tz: string)
app/api/hooks/v1/babies/[babyId]/status/route.ts:11
↓ 1 callersFunctionisWebPushError
(err: unknown)
src/lib/notifications/push.ts:100
↓ 1 callersFunctionloadActivitySettings
()
src/components/ActivityTileGroup/index.tsx:175
↓ 1 callersFunctionloadFamilies
()
app/family-select/page.tsx:75
↓ 1 callersFunctionloadFamilies
()
app/(app)/[slug]/page.tsx:61
↓ 1 callersFunctionloadFamilies
()
app/(auth)/login/page.tsx:39
↓ 1 callersFunctionloadFamilyFromUrl
()
src/context/family.tsx:58
↓ 1 callersFunctionloadLanguageFile
* Load existing translations
scripts/extract-localization-strings.js:263
↓ 1 callersFunctionloadSupportedLanguages
()
scripts/extract-localization-strings.js:294
↓ 1 callersFunctionloadTranslations
(lang: string)
src/lib/notifications/i18n.ts:18
↓ 1 callersFunctionloadTranslations
(lang: string)
app/api/timeline/export/route.ts:12
↓ 1 callersFunctionloadTranslationsFile
* @returns {{ translations: Record<string, string>, status: 'ok' | 'empty' | 'invalid', detail?: string }}
scripts/check-missing-translations.js:25
↓ 1 callersFunctionlocalDateString
(today: Date, timezone?: string)
app/api/hooks/v1/babies/[babyId]/status/route.ts:43
↓ 1 callersFunctionmain
* Main function
scripts/sort-translation-files.js:66
↓ 1 callersFunctionmain
()
scripts/check-missing-translations.js:52
↓ 1 callersFunctionmain
()
scripts/manage-family-subscriptions.js:360
↓ 1 callersFunctionmain
()
scripts/generate-health-data.js:484
↓ 1 callersFunctionmain
()
scripts/setup-notification-cron.ts:119
↓ 1 callersFunctionmain
()
scripts/reset-changelog-seen.js:25
↓ 1 callersFunctionmain
* Main function to process all models
scripts/ensure-utc-dates-improved.js:152
↓ 1 callersFunctionmain
()
scripts/generate-inventory-data.js:395
↓ 1 callersFunctionmain
()
scripts/test-webhook-api.js:627
↓ 1 callersFunctionmain
()
scripts/ensure-env-defaults.js:154
↓ 1 callersFunctionmain
* Main function
scripts/extract-localization-strings.js:477
↓ 1 callersFunctionmain
()
scripts/setup-vapid-keys.ts:107
↓ 1 callersFunctionmain
()
scripts/generate-play-data.js:312
↓ 1 callersFunctionmain
()
prisma/seed.ts:14
↓ 1 callersFunctionmapMeasurementType
(apiType: string)
src/components/Reports/GrowthChart.tsx:246
↓ 1 callersFunctionnormalizeEntry
( item: unknown, index: number )
src/localization/supported-languages-config.ts:9
↓ 1 callersFunctionnormalizeLocation
(location: string | null)
src/components/Reports/MonthlyReportCard/monthly-report-card.helpers.ts:141
↓ 1 callersFunctionnotifyFeedbackReply
( accountId: string | null, caretakerId: string | null, replyMessage: string )
src/lib/notifications/feedbackHook.ts:15
↓ 1 callersFunctionordinal
(percentile: string)
src/components/Reports/MonthlyReportCard/GrowthSummarySection.tsx:37
↓ 1 callersFunctionoverlapsAny
(startTime, endTime, intervals)
scripts/generate-demo-data.js:137
↓ 1 callersFunctionp
(percentile: `p${number}`)
src/components/Reports/MonthlyReportCard/GrowthSummarySection.tsx:33
↓ 1 callersFunctionparseActivityTypes
(activityTypes: string | null)
src/components/forms/SettingsForm/NotificationSettings.tsx:347
↓ 1 callersFunctionparseBody
(req)
st-guardian/index.js:118
↓ 1 callersFunctionparseDoseMinTime
(doseMinTime: string)
src/components/forms/MedicineForm/MedicineForm.tsx:75
↓ 1 callersFunctionparseDoseMinTime
* Parse dose minimum time string (format: "DD:HH:MM") to total minutes * Used for medicine doseMinTime field (different from baby warning times which
src/lib/notifications/timerCheck.ts:42
↓ 1 callersFunctionparseParams
* Parse babyId and yearMonth from the URL path. * Expected pattern: /api/babies/{babyId}/report/{yearMonth}
app/api/babies/[babyId]/report/[yearMonth]/route.ts:23
↓ 1 callersFunctionparseSupportedLanguages
()
src/localization/supported-languages-config.ts:39
↓ 1 callersFunctionplaceholderText
()
src/components/forms/BabyQuickStats/baby-quick-stats.styles.ts:61
↓ 1 callersFunctionprocessModel
* Process a model to ensure all date fields are in UTC * @param modelName The name of the model to process
scripts/ensure-utc-dates-improved.js:100
↓ 1 callersFunctionquickStatsContainer
()
src/components/forms/BabyQuickStats/baby-quick-stats.styles.ts:14
↓ 1 callersFunctionrandomFloat
(min, max)
scripts/generate-demo-data.js:76
↓ 1 callersFunctionreadEnvFile
()
scripts/setup-vapid-keys.ts:27
↓ 1 callersFunctionreadLogs
(lines)
st-guardian/index.js:183
↓ 1 callersFunctionrecordRegistrationAttempt
(ip: string)
app/api/accounts/register/route.ts:64
↓ 1 callersFunctionrecordResendAttempt
(ip: string)
app/api/accounts/resend-verification/route.ts:59
↓ 1 callersFunctionrefreshTimezone
()
app/context/timezone.tsx:441
↓ 1 callersFunctionregisterServiceWorker
()
src/lib/notifications/client.ts:92
↓ 1 callersFunctionremoveCaretaker
(index: number)
src/components/forms/FamilyForm/index.tsx:331
↓ 1 callersFunctionremoveCaretaker
(index: number)
src/components/SetupWizard/index.tsx:478
↓ 1 callersFunctionremoveContact
(contactId: string)
src/components/forms/MedicineForm/ContactSelector.tsx:63
↓ 1 callersFunctionremoveContact
(contactId: string)
src/components/forms/CalendarEventForm/ContactSelector.tsx:65
↓ 1 callersFunctionrenderActivityTile
(activity: ActivityType)
src/components/ActivityTileGroup/index.tsx:415
↓ 1 callersFunctionrenderClockMarkers
()
src/components/ui/time-entry/index.tsx:499
↓ 1 callersFunctionrenderContent
()
src/components/CalendarDayView/index.tsx:323
← previousnext →801–900 of 1,881, ranked by callers