MCPcopy Create free account

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

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

FunctionhandleVisibilityChange
()
src/components/forms/FeedForm/index.tsx:124
FunctionhandleVisibilityChange
()
src/components/forms/ActivityForm/index.tsx:119
FunctionhandleVisibilityChange
()
src/components/ui/status-bubble/index.tsx:89
FunctionhandleVisibilityChange
()
src/hooks/useWakeLock.ts:46
FunctionhandleVisibilityChange
()
app/(app)/[slug]/log-entry/page.tsx:213
FunctionhandleWheel
(e: WheelEvent)
src/components/ActivityTileGroup/index.tsx:121
FunctionhandleYearSelect
(year: number)
src/components/ui/calendar/index.tsx:228
Functionhandler
(request: NextRequest)
app/api/database/migrate/route.ts:11
Functionhandler
(request: NextRequest, authContext: AuthResult)
app/api/database/restore-initial/route.ts:16
Functionhandler
(request: NextRequest, authContext: AuthResult)
app/api/database/migrate-initial/route.ts:11
Functionhandler
(req: NextRequest)
app/api/accounts/link-caretaker/route.ts:14
Functionhandler
(req: NextRequest)
app/api/accounts/status/route.ts:25
Functionhandler
* 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
Functionhandler
* 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
Functionhandler
* 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
Functionhandler
* 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
Functionhandler
* 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
Functionhandler
* 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
Functionhandler
(req: NextRequest)
app/api/setup/validate-token/route.ts:14
Functionhandler
( req: NextRequest, authContext: AuthResult )
app/api/family/create-setup-link/route.ts:15
Functionhandler
* 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
FunctionhashPasswordSync
(password: string)
app/api/utils/password-utils.ts:85
Functionhome
()
app/home/page.tsx:18
FunctionincrementAdjustAmount
()
src/components/forms/PumpForm/index.tsx:533
FunctionincrementAmount
()
src/components/modals/FeedModal.tsx:123
FunctionincrementAmount
()
src/components/forms/FeedForm/index.tsx:427
FunctionincrementBreastMilkAmount
()
src/components/forms/FeedForm/index.tsx:475
FunctionincrementFormulaAmount
()
src/components/forms/FeedForm/index.tsx:489
FunctionisToday
(isoString: string | null | undefined)
app/context/timezone.tsx:366
FunctionisValidSlug
(slug: string)
app/api/utils/slug-generator.ts:46
FunctionisYesterday
(isoString: string | null | undefined)
app/context/timezone.tsx:394
FunctionloadFamilies
()
src/context/family.tsx:130
FunctionloadMore
()
src/components/account-manager/PaymentHistory.tsx:113
FunctionmoveActivityDown
(activity: ActivityType)
src/components/ActivityTileGroup/index.tsx:388
FunctionmoveActivityUp
(activity: ActivityType)
src/components/ActivityTileGroup/index.tsx:378
FunctiononLandscape
(e: MediaQueryListEvent)
src/components/features/nursery-mode/NurseryModeContainer.tsx:63
FunctiononMobile
(e: MediaQueryListEvent)
src/components/features/nursery-mode/NurseryModeContainer.tsx:64
FunctiononTouchEnd
()
src/components/Timeline/TimelineActivityList.tsx:109
FunctiononTouchMove
(e: React.TouchEvent)
src/components/Timeline/TimelineActivityList.tsx:88
FunctiononTouchStart
(e: React.TouchEvent)
src/components/Timeline/TimelineActivityList.tsx:78
FunctionpostHandler
* 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
FunctionpostHandler
(req: NextRequest)
app/api/database/route.ts:66
FunctionpostHandler
(req: NextRequest, authContext: AuthResult)
app/api/caretaker/route.ts:8
FunctionpostHandler
(req: NextRequest)
app/api/guardian/update/route.ts:64
FunctionpostHandler
(req: NextRequest)
app/api/family/manage/route.ts:82
FunctionputHandler
(req: NextRequest)
app/api/accounts/manage/route.ts:77
FunctionputHandler
(req: NextRequest, authContext: AuthResult)
app/api/caretaker/route.ts:120
FunctionputHandler
* PUT handler for AppConfig * Updates the app configuration with encrypted adminPass * Requires system administrator authentication
app/api/app-config/route.ts:105
FunctionputHandler
(req: NextRequest)
app/api/beta-subscribers/route.ts:46
FunctionputHandler
(req: NextRequest, authContext: AuthResult)
app/api/family/route.ts:53
FunctionputHandler
(req: NextRequest)
app/api/family/manage/route.ts:137
FunctionputHandler
(req: NextRequest, authContext: AuthResult)
app/api/family/update-setup-stage/route.ts:6
FunctionrandomFloat
(min, max)
scripts/generate-breast-feeds.js:26
FunctionrefreshConfig
()
app/context/deployment.tsx:168
FunctionresetToNormalMode
()
src/components/LoginSecurity/PinLogin.tsx:460
FunctionsanitizeForCsv
(value: any)
app/api/utils/csv-export.ts:81
FunctionsaveActivitySettings
()
src/components/ActivityTileGroup/index.tsx:324
FunctionsaveActivitySettings
* 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
FunctionsaveFamily
(family: FamilyData)
app/family-manager/families/page.tsx:178
FunctionsaveLeftDuration
()
src/components/forms/FeedForm/BreastFeedForm.tsx:215
FunctionsaveRightDuration
()
src/components/forms/FeedForm/BreastFeedForm.tsx:222
FunctionsendFeedbackConfirmationEmail
(email: string, firstName: string, subject: string)
app/api/utils/account-emails.ts:175
FunctionsendWelcomeEmail
(email: string, firstName: string, familySlug: string, familyPin: string, caretakerLoginId: string)
app/api/utils/account-emails.ts:114
FunctionsetSelectedBabyWithValidation
(baby: Baby | null)
app/context/baby.tsx:319
FunctionshowForgotPassword
()
src/components/modals/AccountModal/index.tsx:370
FunctionshowForgotPassword
()
src/components/LoginSecurity/AccountLogin.tsx:184
FunctionsortByTime
(a: any, b: any)
src/components/CalendarDayView/index.tsx:137
FunctionstartTimer
(breast: 'LEFT' | 'RIGHT')
src/components/forms/FeedForm/index.tsx:761
FunctiontoggleLoginMode
()
src/components/LoginSecurity/index.tsx:114
FunctiontoggleMode
()
src/components/modals/AccountModal/index.tsx:358
FunctiontriggerUpdate
()
src/components/GuardianUpdate/index.tsx:86
FunctionupdateAccount
(id: string, closed: boolean)
app/family-manager/accounts/page.tsx:92
FunctionupdateUnlockTimer
()
app/(app)/[slug]/log-entry/page.tsx:162
FunctionupdateUnlockTimer
()
app/(app)/[slug]/full-log/page.tsx:78
FunctionupdateUnlockTimer
()
app/(app)/[slug]/calendar/page.tsx:22
FunctionuseEmailValidation
()
src/hooks/useEmailValidation.ts:16
FunctionverifyAuthentication
(req: NextRequest)
app/api/utils/auth.ts:145
FunctionverifyPasswordSync
(password: string, hashedPassword: string)
app/api/utils/password-utils.ts:106
FunctionwithAdminAuth
( handler: (req: NextRequest) => Promise<NextResponse<ApiResponse<T>>> )
app/api/utils/auth.ts:547
FunctionwithAuth
( handler: (req: NextRequest) => Promise<NextResponse<ApiResponse<T>>> )
app/api/utils/auth.ts:522
FunctionwithAuthAndLogging
( handler: (req: NextRequest, authContext: AuthResult) => Promise<NextResponse<T>>, authWrapper: ( han
app/api/utils/with-logging.ts:84
← previous1,801–1,881 of 1,881, ranked by callers