MCPcopy Create free account

hub / github.com/bespoyasov/frontend-clean-architecture / functions

Functions44 in github.com/bespoyasov/frontend-clean-architecture

↓ 7 callersFunctionuseUserStorage
()
src/services/storageAdapter.ts:12
↓ 6 callersFunctionuseCartStorage
()
src/services/storageAdapter.ts:16
↓ 4 callersFunctionuseStore
()
src/services/store.tsx:6
↓ 2 callersFunctionfakeApi
(response: TResponse)
src/services/api.ts:1
↓ 2 callersFunctionhasAllergy
(user: User, ingredient: Ingredient)
src/domain/user.ts:10
↓ 2 callersMethodnotify
(message: string)
src/application/ports.ts:26
↓ 2 callersFunctiontotalPrice
(products: Product[])
src/domain/product.ts:17
↓ 2 callersFunctionuseNotifier
()
src/services/notificationAdapter.ts:3
↓ 2 callersFunctionuseOrdersStorage
()
src/services/storageAdapter.ts:20
↓ 1 callersFunctionaddProduct
(cart: Cart, product: Product)
src/domain/cart.ts:7
↓ 1 callersFunctionaddToCart
(user: User, product: Product)
src/application/addToCart.ts:13
↓ 1 callersMethodauth
(name: UserName, email: Email)
src/application/ports.ts:22
↓ 1 callersFunctionauthenticate
(name: UserName, email: Email)
src/application/authenticate.ts:20
↓ 1 callersFunctioncontains
(cart: Cart, product: Product)
src/domain/cart.ts:11
↓ 1 callersFunctioncreateOrder
(user: User, cart: Cart)
src/domain/order.ts:16
↓ 1 callersFunctioncurrentDatetime
()
src/lib/datetime.ts:1
↓ 1 callersMethodemptyCart
()
src/application/ports.ts:13
↓ 1 callersFunctionhasPreference
(user: User, ingredient: Ingredient)
src/domain/user.ts:14
↓ 1 callersFunctionorderProducts
(user: User, cart: Cart)
src/application/orderProducts.ts:24
↓ 1 callersMethodtryPay
(amount: PriceCents)
src/application/ports.ts:30
↓ 1 callersMethodupdateCart
(cart: Cart)
src/application/ports.ts:12
↓ 1 callersMethodupdateOrders
(orders: Order[])
src/application/ports.ts:18
↓ 1 callersMethodupdateUser
(user: User)
src/application/ports.ts:7
↓ 1 callersFunctionuseAddToCart
()
src/application/addToCart.ts:9
↓ 1 callersFunctionuseAuth
()
src/services/authAdapter.ts:6
↓ 1 callersFunctionuseAuthenticate
()
src/application/authenticate.ts:9
↓ 1 callersFunctionuseOrderProducts
()
src/application/orderProducts.ts:11
↓ 1 callersFunctionusePayment
()
src/services/paymentAdapter.ts:4
FunctionApp
()
src/App.tsx:9
FunctionAuth
()
src/ui/Auth/Auth.tsx:8
FunctionBuy
()
src/ui/Buy/Buy.tsx:7
FunctionCart
()
src/ui/Cart/Cart.tsx:6
FunctionCookie
({ cookie }: CookieProps)
src/ui/Cookie/Cookie.tsx:13
FunctionFront
()
src/ui/Front/Front.tsx:6
FunctionHeader
()
src/ui/Header/Header.tsx:5
FunctionOrders
()
src/ui/Orders/Orders.tsx:3
FunctionProfile
()
src/ui/Profile/Profile.tsx:4
FunctionProvider
({ children })
src/services/store.tsx:8
FunctionToppings
({ cookie }: ToppingsProps)
src/ui/Cookie/Toppings.tsx:9
FunctionUser
()
src/ui/User/User.tsx:8
Functionauth
(name: UserName, email: Email)
src/services/authAdapter.ts:8
FunctionhandleSubmit
(e: React.FormEvent)
src/ui/Auth/Auth.tsx:16
FunctionhandleSubmit
(e: React.FormEvent)
src/ui/Buy/Buy.tsx:19
FunctiontryPay
(amount: PriceCents)
src/services/paymentAdapter.ts:6