Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PiusLucky/furniro-ecommerce
/ functions
Functions
73 in github.com/PiusLucky/furniro-ecommerce
⨍
Functions
73
◇
Types & classes
12
↓ 32 callers
Function
cn
(...inputs: ClassValue[])
src/lib/utils.ts:5
↓ 9 callers
Function
errorResponse
( message: string = "Error", code = 400, data: any = null )
src/lib/utils.ts:36
↓ 5 callers
Function
dispatch
(action: Action)
src/components/ui/use-toast.ts:136
↓ 5 callers
Function
toast
({ ...props }: Toast)
src/components/ui/use-toast.ts:145
↓ 4 callers
Function
successResponse
( data: any, message: string = "Success", code = 200 )
src/lib/utils.ts:21
↓ 4 callers
Function
useFormField
()
src/components/ui/form.tsx:42
↓ 3 callers
Function
connectToDatabase
()
src/lib/database/connection/mongoose.ts:20
↓ 3 callers
Function
makeApiCallService
( url: string, options: RequestOptions = {} )
src/lib/service/apiService.ts:10
↓ 3 callers
Function
useToast
()
src/components/ui/use-toast.ts:174
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
src/components/ui/use-toast.ts:61
↓ 1 callers
Function
computeSubTotal
()
src/components/sections/shop/CartSection.tsx:27
↓ 1 callers
Function
computeSubTotal
()
src/components/sections/checkout/CheckoutDetailSection.tsx:17
↓ 1 callers
Function
computeSubTotal
()
src/lib/actions/payment.ts:28
↓ 1 callers
Function
createBillingInfo
(input: IBilling)
src/lib/actions/billing.ts:6
↓ 1 callers
Function
dismiss
()
src/components/ui/use-toast.ts:153
↓ 1 callers
Function
fetchBillingInfo
()
src/components/forms/CheckoutBillingForm.tsx:86
↓ 1 callers
Function
genId
()
src/components/ui/use-toast.ts:30
↓ 1 callers
Function
generateStripeCheckoutUrl
( billingId: string, products: IProductInput[] )
src/lib/actions/payment.ts:15
↓ 1 callers
Function
processStripeWehookEvent
(request: Request)
src/lib/actions/payment.ts:81
↓ 1 callers
Function
reducer
(state: State, action: Action)
src/components/ui/use-toast.ts:77
↓ 1 callers
Function
removeProductFromCart
(productId: number | string)
src/components/sections/shop/CartSection.tsx:20
↓ 1 callers
Function
updateBillingInfo
(input: IBilling, billingId: string)
src/lib/actions/billing.ts:12
Function
AboutPage
()
src/app/about/page.tsx:3
Function
Badge
({ className, variant, ...props }: BadgeProps)
src/components/ui/badge.tsx:30
Function
BrowseTheRangeSection
()
src/components/sections/BrowseTheRangeSection.tsx:3
Function
CartSection
({ toggleShowCart, }: { toggleShowCart: () => void; })
src/components/sections/shop/CartSection.tsx:11
Function
CheckoutBillingForm
()
src/components/forms/CheckoutBillingForm.tsx:32
Function
CheckoutDetailSection
()
src/components/sections/checkout/CheckoutDetailSection.tsx:11
Function
CheckoutPage
()
src/app/checkout/page.tsx:7
Function
ContactPage
()
src/app/contact/page.tsx:3
Function
FooterSection
()
src/components/sections/FooterSection.tsx:6
Function
FormField
({ ...props }: ControllerProps<TFieldValues, TName>)
src/components/ui/form.tsx:29
Function
Hero
({ title }: { title: string })
src/components/common/Hero.tsx:4
Function
HeroSection
()
src/components/sections/HeroSection.tsx:4
Function
HomePage
()
src/app/page.tsx:6
Function
LoadingIndicator
()
src/components/common/LoadingIndicator.tsx:5
Function
NavBar
()
src/components/common/NavBar.tsx:13
Function
OurProductSection
()
src/components/sections/OurProductSection.tsx:6
Function
POST
(req: Request)
src/app/api/payment/route.ts:6
Function
POST
(request: Request)
src/app/api/payment/webhook/route.ts:4
Function
POST
(req: Request)
src/app/api/billing/route.ts:5
Function
PUT
(req: Request)
src/app/api/billing/route.ts:31
Function
Pagination
({ className, ...props }: React.ComponentProps<"nav">)
src/components/ui/pagination.tsx:7
Function
PaginationEllipsis
({ className, ...props }: React.ComponentProps<"span">)
src/components/ui/pagination.tsx:103
Function
PaginationLink
({ className, isActive, size = "icon", ...props }: PaginationLinkProps)
src/components/ui/pagination.tsx:49
Function
PaginationNext
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
src/components/ui/pagination.tsx:87
Function
PaginationPrevious
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
src/components/ui/pagination.tsx:71
Function
ProductCard
({ id, imageUrl, title, description, price, otherPrice, type, typeValue, }: IProps)
src/components/cards/ProductCard.tsx:22
Function
ProductDetailExtraInfoSection
()
src/components/sections/shop/product-detail/ProductDetailExtraInfoSection.tsx:3
Function
ProductDetailPage
({ params, }: { params: { product_id: string; }; })
src/app/shop/product/[product_id]/page.tsx:10
Function
ProductDetailRelatedSection
()
src/components/sections/shop/product-detail/ProductDetailRelatedSection.tsx:5
Function
ProductDetailShowcaseSection
({ productId, }: { productId: string; })
src/components/sections/shop/product-detail/ProductDetailShowcaseSection.tsx:20
Function
ProductDetailTopSection
({ product_id, }: { product_id: string; })
src/components/sections/shop/product-detail/ProductDetailTopSection.tsx:5
Function
RoomSection
()
src/components/sections/RoomSection.tsx:3
Function
RootLayout
({ children, }: { children: React.ReactNode })
src/app/layout.tsx:17
Function
ShareSetupSection
()
src/components/sections/ShareSetupSection.tsx:3
Function
ShopBannerSection
()
src/components/sections/shop/ShopBannerSection.tsx:3
Function
ShopFilterSection
()
src/components/sections/shop/ShopFilterSection.tsx:13
Function
ShopHeroSection
()
src/components/sections/shop/ShopHeroSection.tsx:4
Function
ShopPage
()
src/app/shop/page.tsx:7
Function
ShopPaginationSection
()
src/components/sections/shop/ShopPaginationSection.tsx:10
Function
ShopProductSection
()
src/components/sections/shop/ShopProductSection.tsx:4
Function
StripeCancelPage
()
src/app/stripe/cancel/page.tsx:3
Function
StripeSuccessPage
()
src/app/stripe/success/page.tsx:7
Function
Toaster
()
src/components/ui/toaster.tsx:13
Function
handleAddToCart
()
src/components/sections/shop/product-detail/ProductDetailShowcaseSection.tsx:80
Function
handleCheckout
()
src/components/sections/checkout/CheckoutDetailSection.tsx:25
Function
handleError
(error: unknown)
src/lib/utils.ts:10
Function
handleQuantityDecrement
()
src/components/sections/shop/product-detail/ProductDetailShowcaseSection.tsx:71
Function
handleQuantityIncrement
()
src/components/sections/shop/product-detail/ProductDetailShowcaseSection.tsx:75
Function
onSubmit
(data: z.infer<typeof FormSchema>)
src/components/forms/CheckoutBillingForm.tsx:53
Function
toggleMenu
()
src/components/common/NavBar.tsx:60
Function
update
(props: ToasterToast)
src/components/ui/use-toast.ts:148