MCPcopy Create free account

hub / github.com/adrianhajdin/uber / functions

Functions53 in github.com/adrianhajdin/uber

↓ 6 callersFunctionfetchAPI
(url: string, options?: RequestInit)
lib/fetch.ts:3
↓ 3 callersFunctionformatTime
(minutes: number)
lib/utils.ts:13
↓ 3 callersFunctionuseFetch
(url: string, options?: RequestInit)
lib/fetch.ts:16
↓ 1 callersFunctioncalculateDriverTimes
({ markers, userLatitude, userLongitude, destinationLatitude, destinationLongitude, }: { markers:
lib/map.ts:75
↓ 1 callersFunctioncalculateRegion
({ userLatitude, userLongitude, destinationLatitude, destinationLongitude, }: { userLatitude: number
lib/map.ts:27
↓ 1 callersFunctionformatDate
(dateString: string)
lib/utils.ts:25
↓ 1 callersFunctiongenerateMarkersFromData
({ data, userLatitude, userLongitude, }: { data: Driver[]; userLatitude: number; userLongitude: nu
lib/map.ts:5
↓ 1 callersFunctiongetBgVariantStyle
(variant: ButtonProps["bgVariant"])
components/CustomButton.tsx:5
↓ 1 callersFunctiongetTextVariantStyle
(variant: ButtonProps["textVariant"])
components/CustomButton.tsx:20
↓ 1 callersFunctiongoogleOAuth
(startOAuthFlow: any)
lib/auth.ts:31
↓ 1 callersFunctioninitializePaymentSheet
()
components/Payment.tsx:46
FunctionBookRide
()
app/(root)/book-ride.tsx:11
FunctionChat
()
app/(root)/(tabs)/chat.tsx:6
FunctionConfirmRide
()
app/(root)/confirm-ride.tsx:9
FunctionCustomButton
({ onPress, title, bgVariant = "primary", textVariant = "default", IconLeft, IconRight, classNam
components/CustomButton.tsx:35
FunctionDriverCard
({ item, selected, setSelected }: DriverCardProps)
components/DriverCard.tsx:8
FunctionFindRide
()
app/(root)/find-ride.tsx:10
FunctionGET
(request: Request)
app/(api)/driver+api.ts:3
FunctionGET
(request: Request, { id }: { id: string })
app/(api)/ride/[id]+api.ts:3
FunctionGoogleTextInput
({ icon, initialLocation, containerStyle, textInputBackgroundColor, handlePress, }: GoogleInputProps
components/GoogleTextInput.tsx:9
FunctionHome
()
app/(root)/(tabs)/home.tsx:24
FunctionHome
()
app/(auth)/welcome.tsx:10
FunctionInputField
({ label, icon, secureTextEntry = false, labelStyle, containerStyle, inputStyle, iconStyle, cl
components/InputField.tsx:14
FunctionLayout
()
app/(root)/_layout.tsx:3
FunctionLayout
()
app/(root)/(tabs)/_layout.tsx:29
FunctionLayout
()
app/(auth)/_layout.tsx:3
FunctionMap
()
components/Map.tsx:18
FunctionNotFoundScreen
()
app/+not-found.tsx:4
FunctionOAuth
()
components/OAuth.tsx:9
FunctionPOST
(request: Request)
app/(api)/user+api.ts:3
FunctionPOST
(request: Request)
app/(api)/(stripe)/create+api.ts:5
FunctionPOST
(request: Request)
app/(api)/(stripe)/pay+api.ts:5
FunctionPOST
(request: Request)
app/(api)/ride/create+api.ts:3
FunctionPage
()
app/index.tsx:4
FunctionPayment
({ fullName, email, amount, driverId, rideTime, }: PaymentProps)
components/Payment.tsx:14
FunctionProfile
()
app/(root)/(tabs)/profile.tsx:7
FunctionRideCard
({ ride }: { ride: Ride })
components/RideCard.tsx:7
FunctionRideLayout
({ title, snapPoints, children, }: { title: string; snapPoints?: string[]; children: React.ReactNo
components/RideLayout.tsx:13
FunctionRides
()
app/(root)/(tabs)/rides.tsx:10
FunctionRoot
({ children }: PropsWithChildren)
app/+html.tsx:8
FunctionRootLayout
()
app/_layout.tsx:24
FunctionSignIn
()
app/(auth)/sign-in.tsx:11
FunctionSignUp
()
app/(auth)/sign-up.tsx:13
FunctionTabIcon
({ source, focused, }: { source: ImageSourcePropType; focused: boolean; })
app/(root)/(tabs)/_layout.tsx:6
FunctiongetToken
(key: string)
lib/auth.ts:7
FunctionhandleDestinationPress
(location: { latitude: number; longitude: number; address: string; })
app/(root)/(tabs)/home.tsx:66
FunctionhandleGoogleSignIn
()
components/OAuth.tsx:12
FunctionhandleSignOut
()
app/(root)/(tabs)/home.tsx:30
FunctiononPressVerify
()
app/(auth)/sign-up.tsx:47
FunctiononSignUpPress
()
app/(auth)/sign-up.tsx:28
FunctionopenPaymentSheet
()
components/Payment.tsx:34
FunctionsaveToken
(key: string, value: string)
lib/auth.ts:22
FunctionsortRides
(rides: Ride[])
lib/utils.ts:3