MCPcopy Create free account

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

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

↓ 6 callersFunctionhandleTimerStop
()
src/components/forms/FeedForm/BreastFeedForm.tsx:245
↓ 6 callersFunctionsetDefaultSettings
()
src/components/ActivityTileGroup/index.tsx:263
↓ 6 callersFunctiontoCdcUnit
(value: number, unit: string, type: 'weight' | 'length' | 'head_circumference')
app/api/babies/[babyId]/report/[yearMonth]/route.ts:192
↓ 6 callersFunctionwithAccountOwner
( handler: (req: NextRequest, authContext: AuthResult) => Promise<NextResponse<ApiResponse<T>>> )
app/api/utils/auth.ts:636
↓ 6 callersFunctionwithApiKeyAuth
( handler: (req: NextRequest, ctx: ApiKeyContext, params?: any) => Promise<NextResponse>, requiredScope: '
app/api/hooks/v1/auth.ts:37
↓ 5 callersFunctionask
(rl, question)
scripts/generate-inventory-data.js:52
↓ 5 callersFunctioncheckIpLockout
(ip: string)
app/api/utils/ip-lockout.ts:20
↓ 5 callersFunctioncreateRefreshToken
(payload: Omit<RefreshTokenPayload, 'tokenType'>)
app/api/utils/auth.ts:37
↓ 5 callersFunctioncreateSingleFeedEntry
(breastSide?: BreastSide, durationOverride?: number)
src/components/forms/FeedForm/index.tsx:643
↓ 5 callersFunctionencrypt
(text: string)
app/api/utils/encryption.ts:30
↓ 5 callersFunctionformatDate
(dateStr: string | null)
src/components/forms/SettingsForm/ApiKeyManager.tsx:212
↓ 5 callersFunctionformatDuration
(totalSeconds: number)
src/components/ActiveFeedBanner/index.tsx:18
↓ 5 callersFunctionformatMinutes
(minutes: number)
src/components/Reports/SleepStatsSection.tsx:32
↓ 5 callersFunctiongetDomainUrl
()
app/api/utils/account-emails.ts:4
↓ 5 callersFunctiongetHours
(d: Date)
src/components/Reports/ActivityTab.tsx:257
↓ 5 callersFunctiongetNextTheme
()
src/components/ui/theme-toggle/index.tsx:58
↓ 5 callersFunctiongetNotificationConfig
()
src/lib/notifications/config.ts:31
↓ 5 callersFunctiongetWeekKey
(date: Date)
src/components/Reports/BathChartModal.tsx:36
↓ 5 callersFunctionhealthCheck
()
st-guardian/index.js:214
↓ 5 callersFunctionisPlayActivity
(activity: any)
src/components/Timeline/utils.tsx:60
↓ 5 callersFunctionisSQLite
()
app/api/utils/db-provider.ts:16
↓ 5 callersFunctionisSameDay
(date1: Date | null | undefined, date2: Date | null | undefined)
src/components/ui/calendar/index.tsx:167
↓ 5 callersFunctionrandomChoice
(array)
scripts/generate-health-data.js:20
↓ 5 callersFunctionrandomFloat
(min, max)
scripts/generate-inventory-data.js:25
↓ 5 callersFunctionrandomInt
(min, max)
scripts/generate-breast-feeds.js:22
↓ 5 callersFunctionrandomInt
(min, max)
scripts/generate-pump-logs.js:22
↓ 5 callersFunctionrandomInt
(min, max)
scripts/generate-play-data.js:24
↓ 5 callersFunctionsetRefreshTokenCookie
(response: NextResponse, token: string)
app/api/utils/auth.ts:64
↓ 5 callersFunctionuseAdminCounts
()
src/components/familymanager/admin-count-context.tsx:95
↓ 5 callersFunctionvalidateBabyAccess
( babyId: string, ctx: ApiKeyContext )
app/api/hooks/v1/auth.ts:123
↓ 4 callersFunctionask
(rl, question)
scripts/generate-health-data.js:32
↓ 4 callersFunctionask
(rl, question)
scripts/generate-play-data.js:28
↓ 4 callersFunctioncalculateDurationMinutes
(startDate: Date | string, endDate: Date | string)
app/api/utils/timezone.ts:181
↓ 4 callersFunctiondebugTimerLabel
()
src/components/debugSessionTimer/debug-session-timer.styles.ts:80
↓ 4 callersFunctiondebugTimerRow
(isLast: boolean = false)
src/components/debugSessionTimer/debug-session-timer.styles.ts:68
↓ 4 callersFunctiondebugTimerValue
()
src/components/debugSessionTimer/debug-session-timer.styles.ts:89
↓ 4 callersFunctionensureEnvDefaults
(envFilePath?: string)
app/api/utils/env-reload.ts:73
↓ 4 callersFunctionexceeds24Hours
(startTime: Date | undefined)
src/components/ActivityTileGroup/index.tsx:93
↓ 4 callersFunctionfetchData
()
src/components/forms/SettingsForm/NotificationSettings.tsx:91
↓ 4 callersFunctionfetchSubscriptionStatus
()
src/components/account-manager/PaymentModal.tsx:109
↓ 4 callersFunctionformatDuration
(minutes: number)
src/components/Timeline/utils.tsx:185
↓ 4 callersFunctionformatMinutes
(minutes: number)
src/components/Reports/FeedingChartModal.tsx:37
↓ 4 callersFunctionformatMinutes
(minutes: number)
src/components/Reports/PlayStatsSection.tsx:33
↓ 4 callersFunctionformatMinutes
(minutes: number)
src/components/DailyStats/index.tsx:111
↓ 4 callersFunctionformatTimePart
(dateStr: string | null | undefined, timezone: string)
app/api/timeline/export/route.ts:240
↓ 4 callersFunctiongenerateTimeInDay
(baseDate, hour, minuteVariation = 30)
scripts/generate-health-data.js:38
↓ 4 callersFunctiongenerateTimeInDay
(baseDate, hour, minuteVariation = 30, maxTime = null)
scripts/generate-inventory-data.js:41
↓ 4 callersFunctiongetDomainUrl
()
app/api/utils/feedback-emails.ts:4
↓ 4 callersFunctiongetOrCreateDay
(date: Date)
src/components/Reports/ActivityTab.tsx:249
↓ 4 callersFunctionhandleLogout
()
src/components/ui/account-button/index.tsx:143
↓ 4 callersFunctionhandleValueChange
(type: keyof Omit<FormData, 'date' | 'notes'>, value: string)
src/components/forms/MeasurementForm/index.tsx:258
↓ 4 callersFunctionimportFromSQLiteFile
(buffer: Buffer)
app/api/utils/db-backup.ts:192
↓ 4 callersFunctionisDaylightSavingTime
(date: Date, timezone: string)
app/context/timezone.tsx:220
↓ 4 callersFunctionisDisabled
(date: Date)
src/components/ui/calendar/index.tsx:135
↓ 4 callersFunctionisPostgreSQL
()
app/api/utils/db-provider.ts:20
↓ 4 callersFunctionprompt
(question, defaultValue)
scripts/test-webhook-api.js:26
↓ 4 callersFunctionrandomFloat
(min, max)
scripts/generate-pump-logs.js:26
↓ 4 callersFunctionreloadEnvFile
(envFilePath?: string)
app/api/utils/env-reload.ts:86
↓ 4 callersFunctiontranslateNotes
(notes: string)
src/components/Timeline/TimelineV2/TimelineV2ActivityList.tsx:27
↓ 4 callersFunctionuseIsMobile
()
src/hooks/useIsMobile.ts:9
↓ 3 callersFunctionageInMonths
(birthDate: Date, targetDate: Date)
src/components/Reports/MonthlyReportCard/monthly-report-card.helpers.ts:46
↓ 3 callersFunctionaskQuestion
(question)
scripts/manage-family-subscriptions.js:19
↓ 3 callersFunctionbuildChartData
( measurements: typeof allWeights, cdcTable: 'weight' | 'length' | 'head_circumference' )
app/api/babies/[babyId]/report/[yearMonth]/route.ts:329
↓ 3 callersFunctioncalcGrowthMetric
( measurement: any | null, prevMeasurement: any | null, cdcTable: 'weight' | 'length' | 'head_circ
app/api/babies/[babyId]/report/[yearMonth]/route.ts:256
↓ 3 callersFunctioncalculateAge
(birthDate: Date)
src/components/account-manager/FamilyPeopleTab.tsx:125
↓ 3 callersFunctioncalculateMeasurement
(L, M, S, zScore)
scripts/generate-demo-data.js:122
↓ 3 callersFunctioncheckPushSupport
()
src/lib/notifications/client.ts:17
↓ 3 callersFunctiondeleteEncryptedFile
(storedName: string, subdir?: string)
src/lib/file-encryption.ts:76
↓ 3 callersFunctiondisconnectPrisma
()
app/api/database/route.ts:12
↓ 3 callersFunctionextractTimeComponents
(totalSeconds: number)
src/components/forms/FeedForm/BreastFeedForm.tsx:31
↓ 3 callersFunctionfetchBreastMilkBalance
(babyId: string)
src/components/Timeline/TimelineV2/index.tsx:105
↓ 3 callersFunctionfetchData
()
app/(app)/[slug]/client-layout.tsx:139
↓ 3 callersFunctionfetchDeploymentConfig
()
app/context/deployment.tsx:88
↓ 3 callersFunctionfetchInvites
()
app/family-manager/families/page.tsx:121
↓ 3 callersFunctionformatActiveActivity
(record: any)
app/api/active-activity/route.ts:8
↓ 3 callersFunctionformatActiveBreastFeed
(record: any)
app/api/active-breastfeed/route.ts:9
↓ 3 callersFunctionformatAdjustmentResponse
(adj: any)
app/api/breast-milk-adjustment/route.ts:8
↓ 3 callersFunctionformatDate
(dateString: string)
src/components/Reports/MilestonesTab.tsx:149
↓ 3 callersFunctionformatDate
(dateString: string)
src/components/CalendarEvent/index.tsx:31
↓ 3 callersFunctionformatDuration
(seconds: number)
src/components/features/nursery-mode/SleepTile.tsx:24
↓ 3 callersFunctionformatVaccineLog
* Format a vaccine log (with includes) into a VaccineLogResponse
app/api/vaccine-log/route.ts:13
↓ 3 callersFunctionformatWeightDisplay
(value: number, unit: string)
src/components/Timeline/utils.tsx:47
↓ 3 callersFunctiongenerateSlug
()
app/api/utils/slug-generator.ts:12
↓ 3 callersFunctiongenerateSlugWithNumber
(digits: number = 4)
app/api/utils/slug-generator.ts:28
↓ 3 callersFunctiongetActivityDescription
(activity: ActivityType, settings: Settings | null, t: (key: string) => string)
src/components/Timeline/utils.tsx:647
↓ 3 callersFunctiongetActivityDetails
(activity: ActivityType, settings: Settings | null, t: (key: string) => string)
src/components/Timeline/utils.tsx:191
↓ 3 callersFunctiongetActivityEndpoint
(activity: ActivityType)
src/components/Timeline/utils.tsx:1007
↓ 3 callersFunctiongetActivityIcon
(activity: ActivityType)
src/components/Timeline/utils.tsx:64
↓ 3 callersFunctiongetActivityStyle
(activity: ActivityType)
src/components/Timeline/utils.tsx:1030
↓ 3 callersFunctiongetActivityVariant
(activity: ActivityType)
src/components/ui/activity-tile/activity-tile-utils.ts:24
↓ 3 callersFunctiongetAuthHeaders
()
src/components/GuardianUpdate/index.tsx:43
↓ 3 callersFunctiongetClientInfo
(req: NextRequest)
app/api/utils/api-logger.ts:46
↓ 3 callersFunctiongetDaysInMonth
(year: number, month: number)
src/components/Reports/MonthlyReportCard/monthly-report-card.helpers.ts:94
↓ 3 callersFunctiongetDisplayValue
(value: number, fieldId: string)
src/components/forms/FeedForm/TimerInput.tsx:41
↓ 3 callersFunctiongetEnvValue
(envContent: string, key: string)
scripts/setup-vapid-keys.ts:49
↓ 3 callersFunctiongetEventsForDay
(date: Date)
src/components/Calendar/index.tsx:278
↓ 3 callersFunctiongetFamilyId
(authContext: AuthResult, req: NextRequest)
app/api/api-keys/route.ts:17
↓ 3 callersFunctiongetFullName
(account: AccountData)
src/components/familymanager/AccountMobileView.tsx:78
↓ 3 callersFunctiongetHandAngle
()
src/components/ui/time-entry/index.tsx:448
↓ 3 callersFunctiongetInputClassName
(baseClassName: string)
src/components/forms/FeedForm/TimerInput.tsx:53
← previousnext →101–200 of 1,881, ranked by callers