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
Function
handleVisibilityChange
()
src/components/forms/FeedForm/index.tsx:124
Function
handleVisibilityChange
()
src/components/forms/ActivityForm/index.tsx:119
Function
handleVisibilityChange
()
src/components/ui/status-bubble/index.tsx:89
Function
handleVisibilityChange
()
src/hooks/useWakeLock.ts:46
Function
handleVisibilityChange
()
app/(app)/[slug]/log-entry/page.tsx:213
Function
handleWheel
(e: WheelEvent)
src/components/ActivityTileGroup/index.tsx:121
Function
handleYearSelect
(year: number)
src/components/ui/calendar/index.tsx:228
Function
handler
(request: NextRequest)
app/api/database/migrate/route.ts:11
Function
handler
(request: NextRequest, authContext: AuthResult)
app/api/database/restore-initial/route.ts:16
Function
handler
(request: NextRequest, authContext: AuthResult)
app/api/database/migrate-initial/route.ts:11
Function
handler
(req: NextRequest)
app/api/accounts/link-caretaker/route.ts:14
Function
handler
(req: NextRequest)
app/api/accounts/status/route.ts:25
Function
handler
* GET /api/accounts/payments/payment-history * * Retrieves payment history for the authenticated account from Stripe. * Includes both one-time paym
app/api/accounts/payments/payment-history/route.ts:46
Function
handler
* POST /api/accounts/payments/reactivate-subscription * * Reactivates a cancelled subscription that hasn't ended yet. * This removes the cancellati
app/api/accounts/payments/reactivate-subscription/route.ts:26
Function
handler
* GET /api/accounts/payments/subscription-status * * Retrieves current subscription status from Stripe. * Requires account owner authentication. *
app/api/accounts/payments/subscription-status/route.ts:39
Function
handler
* POST /api/accounts/payments/verify-session * * Verifies a Stripe Checkout session and updates account status immediately. * This is called from t
app/api/accounts/payments/verify-session/route.ts:29
Function
handler
* POST /api/accounts/payments/create-checkout-session * * Creates a Stripe Checkout session for subscription or one-time purchase. * Requires accou
app/api/accounts/payments/create-checkout-session/route.ts:28
Function
handler
* POST /api/accounts/payments/cancel-subscription * * Cancels the user's active subscription. * The subscription will remain active until the end o
app/api/accounts/payments/cancel-subscription/route.ts:24
Function
handler
(req: NextRequest)
app/api/setup/validate-token/route.ts:14
Function
handler
( req: NextRequest, authContext: AuthResult )
app/api/family/create-setup-link/route.ts:15
Function
handler
* Generate a unique slug for a new family * Checks the database to ensure the slug doesn't already exist * * @route GET /api/family/generate-slug
app/api/family/generate-slug/route.ts:13
Function
hashPasswordSync
(password: string)
app/api/utils/password-utils.ts:85
Function
home
()
app/home/page.tsx:18
Function
incrementAdjustAmount
()
src/components/forms/PumpForm/index.tsx:533
Function
incrementAmount
()
src/components/modals/FeedModal.tsx:123
Function
incrementAmount
()
src/components/forms/FeedForm/index.tsx:427
Function
incrementBreastMilkAmount
()
src/components/forms/FeedForm/index.tsx:475
Function
incrementFormulaAmount
()
src/components/forms/FeedForm/index.tsx:489
Function
isToday
(isoString: string | null | undefined)
app/context/timezone.tsx:366
Function
isValidSlug
(slug: string)
app/api/utils/slug-generator.ts:46
Function
isYesterday
(isoString: string | null | undefined)
app/context/timezone.tsx:394
Function
loadFamilies
()
src/context/family.tsx:130
Function
loadMore
()
src/components/account-manager/PaymentHistory.tsx:113
Function
moveActivityDown
(activity: ActivityType)
src/components/ActivityTileGroup/index.tsx:388
Function
moveActivityUp
(activity: ActivityType)
src/components/ActivityTileGroup/index.tsx:378
Function
onLandscape
(e: MediaQueryListEvent)
src/components/features/nursery-mode/NurseryModeContainer.tsx:63
Function
onMobile
(e: MediaQueryListEvent)
src/components/features/nursery-mode/NurseryModeContainer.tsx:64
Function
onTouchEnd
()
src/components/Timeline/TimelineActivityList.tsx:109
Function
onTouchMove
(e: React.TouchEvent)
src/components/Timeline/TimelineActivityList.tsx:88
Function
onTouchStart
(e: React.TouchEvent)
src/components/Timeline/TimelineActivityList.tsx:78
Function
postHandler
* POST handler for generating new VAPID keys * Returns the keypair without saving — the admin UI saves via app-config PUT * Requires system administ
app/api/notifications/generate-vapid/route.ts:11
Function
postHandler
(req: NextRequest)
app/api/database/route.ts:66
Function
postHandler
(req: NextRequest, authContext: AuthResult)
app/api/caretaker/route.ts:8
Function
postHandler
(req: NextRequest)
app/api/guardian/update/route.ts:64
Function
postHandler
(req: NextRequest)
app/api/family/manage/route.ts:82
Function
putHandler
(req: NextRequest)
app/api/accounts/manage/route.ts:77
Function
putHandler
(req: NextRequest, authContext: AuthResult)
app/api/caretaker/route.ts:120
Function
putHandler
* PUT handler for AppConfig * Updates the app configuration with encrypted adminPass * Requires system administrator authentication
app/api/app-config/route.ts:105
Function
putHandler
(req: NextRequest)
app/api/beta-subscribers/route.ts:46
Function
putHandler
(req: NextRequest, authContext: AuthResult)
app/api/family/route.ts:53
Function
putHandler
(req: NextRequest)
app/api/family/manage/route.ts:137
Function
putHandler
(req: NextRequest, authContext: AuthResult)
app/api/family/update-setup-stage/route.ts:6
Function
randomFloat
(min, max)
scripts/generate-breast-feeds.js:26
Function
refreshConfig
()
app/context/deployment.tsx:168
Function
resetToNormalMode
()
src/components/LoginSecurity/PinLogin.tsx:460
Function
sanitizeForCsv
(value: any)
app/api/utils/csv-export.ts:81
Function
saveActivitySettings
()
src/components/ActivityTileGroup/index.tsx:324
Function
saveActivitySettings
* POST /api/activity-settings * * Saves activity settings for the current user * If caretakerId is provided in the body, saves settings for that c
app/api/activity-settings/route.ts:294
Function
saveFamily
(family: FamilyData)
app/family-manager/families/page.tsx:178
Function
saveLeftDuration
()
src/components/forms/FeedForm/BreastFeedForm.tsx:215
Function
saveRightDuration
()
src/components/forms/FeedForm/BreastFeedForm.tsx:222
Function
sendFeedbackConfirmationEmail
(email: string, firstName: string, subject: string)
app/api/utils/account-emails.ts:175
Function
sendWelcomeEmail
(email: string, firstName: string, familySlug: string, familyPin: string, caretakerLoginId: string)
app/api/utils/account-emails.ts:114
Function
setSelectedBabyWithValidation
(baby: Baby | null)
app/context/baby.tsx:319
Function
showForgotPassword
()
src/components/modals/AccountModal/index.tsx:370
Function
showForgotPassword
()
src/components/LoginSecurity/AccountLogin.tsx:184
Function
sortByTime
(a: any, b: any)
src/components/CalendarDayView/index.tsx:137
Function
startTimer
(breast: 'LEFT' | 'RIGHT')
src/components/forms/FeedForm/index.tsx:761
Function
toggleLoginMode
()
src/components/LoginSecurity/index.tsx:114
Function
toggleMode
()
src/components/modals/AccountModal/index.tsx:358
Function
triggerUpdate
()
src/components/GuardianUpdate/index.tsx:86
Function
updateAccount
(id: string, closed: boolean)
app/family-manager/accounts/page.tsx:92
Function
updateUnlockTimer
()
app/(app)/[slug]/log-entry/page.tsx:162
Function
updateUnlockTimer
()
app/(app)/[slug]/full-log/page.tsx:78
Function
updateUnlockTimer
()
app/(app)/[slug]/calendar/page.tsx:22
Function
useEmailValidation
()
src/hooks/useEmailValidation.ts:16
Function
verifyAuthentication
(req: NextRequest)
app/api/utils/auth.ts:145
Function
verifyPasswordSync
(password: string, hashedPassword: string)
app/api/utils/password-utils.ts:106
Function
withAdminAuth
( handler: (req: NextRequest) => Promise<NextResponse<ApiResponse<T>>> )
app/api/utils/auth.ts:547
Function
withAuth
( handler: (req: NextRequest) => Promise<NextResponse<ApiResponse<T>>> )
app/api/utils/auth.ts:522
Function
withAuthAndLogging
( handler: (req: NextRequest, authContext: AuthResult) => Promise<NextResponse<T>>, authWrapper: ( han
app/api/utils/with-logging.ts:84
← previous
1,801–1,881 of 1,881, ranked by callers