MCPcopy Create free account

hub / github.com/PiusLucky/furniro-ecommerce / functions

Functions73 in github.com/PiusLucky/furniro-ecommerce

↓ 32 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:5
↓ 9 callersFunctionerrorResponse
( message: string = "Error", code = 400, data: any = null )
src/lib/utils.ts:36
↓ 5 callersFunctiondispatch
(action: Action)
src/components/ui/use-toast.ts:136
↓ 5 callersFunctiontoast
({ ...props }: Toast)
src/components/ui/use-toast.ts:145
↓ 4 callersFunctionsuccessResponse
( data: any, message: string = "Success", code = 200 )
src/lib/utils.ts:21
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:42
↓ 3 callersFunctionconnectToDatabase
()
src/lib/database/connection/mongoose.ts:20
↓ 3 callersFunctionmakeApiCallService
( url: string, options: RequestOptions = {} )
src/lib/service/apiService.ts:10
↓ 3 callersFunctionuseToast
()
src/components/ui/use-toast.ts:174
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/components/ui/use-toast.ts:61
↓ 1 callersFunctioncomputeSubTotal
()
src/components/sections/shop/CartSection.tsx:27
↓ 1 callersFunctioncomputeSubTotal
()
src/components/sections/checkout/CheckoutDetailSection.tsx:17
↓ 1 callersFunctioncomputeSubTotal
()
src/lib/actions/payment.ts:28
↓ 1 callersFunctioncreateBillingInfo
(input: IBilling)
src/lib/actions/billing.ts:6
↓ 1 callersFunctiondismiss
()
src/components/ui/use-toast.ts:153
↓ 1 callersFunctionfetchBillingInfo
()
src/components/forms/CheckoutBillingForm.tsx:86
↓ 1 callersFunctiongenId
()
src/components/ui/use-toast.ts:30
↓ 1 callersFunctiongenerateStripeCheckoutUrl
( billingId: string, products: IProductInput[] )
src/lib/actions/payment.ts:15
↓ 1 callersFunctionprocessStripeWehookEvent
(request: Request)
src/lib/actions/payment.ts:81
↓ 1 callersFunctionreducer
(state: State, action: Action)
src/components/ui/use-toast.ts:77
↓ 1 callersFunctionremoveProductFromCart
(productId: number | string)
src/components/sections/shop/CartSection.tsx:20
↓ 1 callersFunctionupdateBillingInfo
(input: IBilling, billingId: string)
src/lib/actions/billing.ts:12
FunctionAboutPage
()
src/app/about/page.tsx:3
FunctionBadge
({ className, variant, ...props }: BadgeProps)
src/components/ui/badge.tsx:30
FunctionBrowseTheRangeSection
()
src/components/sections/BrowseTheRangeSection.tsx:3
FunctionCartSection
({ toggleShowCart, }: { toggleShowCart: () => void; })
src/components/sections/shop/CartSection.tsx:11
FunctionCheckoutBillingForm
()
src/components/forms/CheckoutBillingForm.tsx:32
FunctionCheckoutDetailSection
()
src/components/sections/checkout/CheckoutDetailSection.tsx:11
FunctionCheckoutPage
()
src/app/checkout/page.tsx:7
FunctionContactPage
()
src/app/contact/page.tsx:3
FunctionFooterSection
()
src/components/sections/FooterSection.tsx:6
FunctionFormField
({ ...props }: ControllerProps<TFieldValues, TName>)
src/components/ui/form.tsx:29
FunctionHero
({ title }: { title: string })
src/components/common/Hero.tsx:4
FunctionHeroSection
()
src/components/sections/HeroSection.tsx:4
FunctionHomePage
()
src/app/page.tsx:6
FunctionLoadingIndicator
()
src/components/common/LoadingIndicator.tsx:5
FunctionNavBar
()
src/components/common/NavBar.tsx:13
FunctionOurProductSection
()
src/components/sections/OurProductSection.tsx:6
FunctionPOST
(req: Request)
src/app/api/payment/route.ts:6
FunctionPOST
(request: Request)
src/app/api/payment/webhook/route.ts:4
FunctionPOST
(req: Request)
src/app/api/billing/route.ts:5
FunctionPUT
(req: Request)
src/app/api/billing/route.ts:31
FunctionPagination
({ className, ...props }: React.ComponentProps<"nav">)
src/components/ui/pagination.tsx:7
FunctionPaginationEllipsis
({ className, ...props }: React.ComponentProps<"span">)
src/components/ui/pagination.tsx:103
FunctionPaginationLink
({ className, isActive, size = "icon", ...props }: PaginationLinkProps)
src/components/ui/pagination.tsx:49
FunctionPaginationNext
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
src/components/ui/pagination.tsx:87
FunctionPaginationPrevious
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
src/components/ui/pagination.tsx:71
FunctionProductCard
({ id, imageUrl, title, description, price, otherPrice, type, typeValue, }: IProps)
src/components/cards/ProductCard.tsx:22
FunctionProductDetailExtraInfoSection
()
src/components/sections/shop/product-detail/ProductDetailExtraInfoSection.tsx:3
FunctionProductDetailPage
({ params, }: { params: { product_id: string; }; })
src/app/shop/product/[product_id]/page.tsx:10
FunctionProductDetailRelatedSection
()
src/components/sections/shop/product-detail/ProductDetailRelatedSection.tsx:5
FunctionProductDetailShowcaseSection
({ productId, }: { productId: string; })
src/components/sections/shop/product-detail/ProductDetailShowcaseSection.tsx:20
FunctionProductDetailTopSection
({ product_id, }: { product_id: string; })
src/components/sections/shop/product-detail/ProductDetailTopSection.tsx:5
FunctionRoomSection
()
src/components/sections/RoomSection.tsx:3
FunctionRootLayout
({ children, }: { children: React.ReactNode })
src/app/layout.tsx:17
FunctionShareSetupSection
()
src/components/sections/ShareSetupSection.tsx:3
FunctionShopBannerSection
()
src/components/sections/shop/ShopBannerSection.tsx:3
FunctionShopFilterSection
()
src/components/sections/shop/ShopFilterSection.tsx:13
FunctionShopHeroSection
()
src/components/sections/shop/ShopHeroSection.tsx:4
FunctionShopPage
()
src/app/shop/page.tsx:7
FunctionShopPaginationSection
()
src/components/sections/shop/ShopPaginationSection.tsx:10
FunctionShopProductSection
()
src/components/sections/shop/ShopProductSection.tsx:4
FunctionStripeCancelPage
()
src/app/stripe/cancel/page.tsx:3
FunctionStripeSuccessPage
()
src/app/stripe/success/page.tsx:7
FunctionToaster
()
src/components/ui/toaster.tsx:13
FunctionhandleAddToCart
()
src/components/sections/shop/product-detail/ProductDetailShowcaseSection.tsx:80
FunctionhandleCheckout
()
src/components/sections/checkout/CheckoutDetailSection.tsx:25
FunctionhandleError
(error: unknown)
src/lib/utils.ts:10
FunctionhandleQuantityDecrement
()
src/components/sections/shop/product-detail/ProductDetailShowcaseSection.tsx:71
FunctionhandleQuantityIncrement
()
src/components/sections/shop/product-detail/ProductDetailShowcaseSection.tsx:75
FunctiononSubmit
(data: z.infer<typeof FormSchema>)
src/components/forms/CheckoutBillingForm.tsx:53
FunctiontoggleMenu
()
src/components/common/NavBar.tsx:60
Functionupdate
(props: ToasterToast)
src/components/ui/use-toast.ts:148