MCPcopy Create free account

hub / github.com/burakorkmez/northwind-store / functions

Functions106 in github.com/burakorkmez/northwind-store

↓ 21 callersFunctionapiFetch
(path, opts = {})
frontend/src/lib/api.js:7
↓ 15 callersFunctionlogDemo
Attributes for Sentry Logs
frontend/src/pages/SentryDemoPage.jsx:6
↓ 11 callersFunctionformatPrice
(cents, currency)
frontend/src/utils/format.js:1
↓ 9 callersFunctionimageKitOptimizedUrl
(url, opts = {})
frontend/src/lib/imagekitUrl.js:79
↓ 8 callersFunctiongetLocalUser
(clerkUserId: string)
backend/src/lib/users.ts:5
↓ 7 callersFunctiongetEnv
()
backend/src/lib/env.ts:48
↓ 6 callersFunctionapplyDemoScope
(scope, scenarioId)
frontend/src/pages/SentryDemoPage.jsx:25
↓ 4 callersFunctioncheckoutBreadcrumbs
()
frontend/src/pages/SentryDemoPage.jsx:10
↓ 4 callersFunctionisStaff
(role: UserRole)
backend/src/lib/roles.ts:16
↓ 4 callersFunctionstreamUserId
(clerkUserId: string)
backend/src/lib/stream.ts:20
↓ 3 callersFunctiongetStreamChatServer
(env: Env)
backend/src/lib/stream.ts:16
↓ 3 callersFunctionheaderString
(headers: Request["headers"], name: string)
backend/src/webhooks/polar.ts:8
↓ 3 callersFunctionsetCategory
(category)
frontend/src/hooks/useHomeCatalog.js:9
↓ 3 callersFunctionstreamChatDisplayName
( role: UserRole, displayName: string | null, email: string, )
backend/src/lib/stream.ts:5
↓ 2 callersFunctionaddItem
(productId, qty = 1)
frontend/src/store/cart.js:10
↓ 2 callersFunctionalreadyPaid
(polarOrderId?: string, checkoutId?: string)
backend/src/webhooks/polar.ts:20
↓ 2 callersFunctionformatOrderWhen
(iso, opts = {})
frontend/src/utils/format.js:8
↓ 2 callersFunctionsetQty
(productId, quantity)
frontend/src/store/cart.js:25
↓ 1 callersFunctionbuildNorthwindTextLayer
* Text overlay (brand watermark). Chained after base transforms with ":". * @see https://imagekit.io/docs/add-overlays-on-images
frontend/src/lib/imagekitUrl.js:21
↓ 1 callersFunctionbuildProductUpdateSet
(body: z.infer<typeof productPatch>)
backend/src/controllers/adminController.ts:32
↓ 1 callersFunctionbuildTrSegment
* Build ImageKit transformation path segment (resize, crop, quality, format). * @see https://imagekit.io/docs/image-optimization * @see https://imag
frontend/src/lib/imagekitUrl.js:38
↓ 1 callersFunctioncheckoutSessionIdFromMetadata
(order: Record<string, unknown>)
backend/src/webhooks/polar.ts:13
↓ 1 callersFunctionclerkWebhookHandler
(req: Request, res: Response)
backend/src/webhooks/clerk.ts:9
↓ 1 callersFunctionconnectOrderChat
()
frontend/src/hooks/useOrderChatPage.js:33
↓ 1 callersFunctionconnectOrderVideo
()
frontend/src/hooks/useOrderVideoPage.js:35
↓ 1 callersFunctiondeleteImageKitAsset
(env: Env, storedFileId: string | null)
backend/src/lib/imagekit.ts:5
↓ 1 callersFunctionfulfillCheckoutSession
( sessionId: string, polarOrderId: string | undefined, checkoutId: string | undefined, )
backend/src/webhooks/polar.ts:40
↓ 1 callersFunctionhandleDeleteProduct
(product)
frontend/src/pages/AdminProductsPage.jsx:26
↓ 1 callersFunctionimageKitWatermarkedUrl
(url, opts = {})
frontend/src/lib/imagekitUrl.js:126
↓ 1 callersFunctionisAdmin
(role: UserRole)
backend/src/lib/roles.ts:12
↓ 1 callersFunctionisImageKitDeliveryUrl
* @param {string} url * @returns {boolean}
frontend/src/lib/imagekitUrl.js:59
↓ 1 callersFunctionloadEnv
()
backend/src/lib/env.ts:34
↓ 1 callersFunctionmain
()
backend/scripts/seed.ts:174
↓ 1 callersFunctionparseRole
(value: unknown)
backend/src/lib/roles.ts:5
↓ 1 callersFunctionpolarCreateCheckout
(env: Env, body: CheckoutCreateBody)
backend/src/lib/polar.ts:20
↓ 1 callersFunctionpolarWebhookHandler
(req: Request, res: Response)
backend/src/webhooks/polar.ts:82
↓ 1 callersFunctionremoveItem
(productId)
frontend/src/store/cart.js:21
↓ 1 callersFunctionuploadImageToImageKit
(file, getToken, opts = {})
frontend/src/lib/imagekitUpload.js:5
↓ 1 callersFunctionuseAdminProductsPage
()
frontend/src/hooks/useAdminProductsPage.js:6
↓ 1 callersFunctionuseCartPage
()
frontend/src/hooks/useCartPage.js:8
↓ 1 callersFunctionuseHomeCatalog
()
frontend/src/hooks/useHomeCatalog.js:5
↓ 1 callersFunctionuseOrderChatPage
()
frontend/src/hooks/useOrderChatPage.js:8
↓ 1 callersFunctionuseOrderDetailPage
()
frontend/src/hooks/useOrderDetailPage.js:6
↓ 1 callersFunctionuseOrderVideoPage
()
frontend/src/hooks/useOrderVideoPage.js:8
↓ 1 callersFunctionuseOrdersPage
()
frontend/src/hooks/useOrdersPage.js:5
↓ 1 callersFunctionuseProductPage
()
frontend/src/hooks/useProductPage.js:5
FunctionAdminProductForm
({ initial, saving, error, getToken, onCancel, onSubmit })
frontend/src/components/AdminProductForm.jsx:5
FunctionAdminProductsPage
()
frontend/src/pages/AdminProductsPage.jsx:8
FunctionAdminProductsTableSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:75
FunctionApp
()
frontend/src/App.jsx:17
FunctionCartPage
()
frontend/src/pages/CartPage.jsx:18
FunctionCartSkeleton
({ lines = 3 })
frontend/src/components/LoadingSkeletons.jsx:16
FunctionCatalogProductCard
({ product })
frontend/src/components/CatalogProductCard.jsx:7
FunctionCheckoutReturnPage
()
frontend/src/pages/CheckoutReturnPage.jsx:7
FunctionEmptyCart
()
frontend/src/components/EmptyCart.jsx:4
FunctionFooter
()
frontend/src/components/Footer.jsx:4
FunctionHomeHero
({ categories, loadingCategories })
frontend/src/components/HomeHero.jsx:4
FunctionHomePage
()
frontend/src/pages/HomePage.jsx:7
FunctionLayout
({ children })
frontend/src/components/Layout.jsx:4
FunctionNavbar
()
frontend/src/components/Navbar.jsx:16
FunctionOrderChatPage
()
frontend/src/pages/OrderChatPage.jsx:16
FunctionOrderChatPanelSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:146
FunctionOrderDetailPage
()
frontend/src/pages/OrderDetailPage.jsx:16
FunctionOrderDetailSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:107
FunctionOrderPreview
({ items, size = "md" })
frontend/src/components/OrderPreview.jsx:9
FunctionOrderSummaryPage
()
frontend/src/pages/OrderSummaryPage.jsx:6
FunctionOrderVideoPage
()
frontend/src/pages/OrderVideoPage.jsx:16
FunctionOrderVideoSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:137
FunctionOrdersListSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:52
FunctionOrdersPage
()
frontend/src/pages/OrdersPage.jsx:9
FunctionPageError
({ message, action })
frontend/src/components/PageError.jsx:3
FunctionPageLoader
()
frontend/src/components/PageLoader.jsx:3
FunctionProductDetailPage
()
frontend/src/pages/ProductDetailPage.jsx:16
FunctionProductPageSkeleton
()
frontend/src/components/LoadingSkeletons.jsx:3
FunctionSentryDemoPage
()
frontend/src/pages/SentryDemoPage.jsx:296
FunctionSentryErrorFallback
()
frontend/src/components/SentryErrorFallback.jsx:3
FunctionSentryUserSync
()
frontend/src/components/SentryUserSync.jsx:6
FunctionTrustStrip
()
frontend/src/components/TrustStrip.jsx:26
Functioncheckout
()
frontend/src/hooks/useCartPage.js:38
Functionclear
()
frontend/src/store/cart.js:36
FunctioncreateAdminProduct
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/adminController.ts:92
FunctioncreateCheckout
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/checkoutController.ts:24
FunctioncreateStreamChannel
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/orderController.ts:123
FunctioncreateStreamToken
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/streamController.ts:9
FunctioncreateVideoInvite
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/orderController.ts:184
FunctiondeleteAdminProduct
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/adminController.ts:147
FunctiongetCategories
(_req: Request, res: Response, next: NextFunction)
backend/src/controllers/productController.ts:25
FunctiongetImageKitAuth
(_req: Request, res: Response, next: NextFunction)
backend/src/controllers/adminController.ts:67
FunctiongetOrder
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/orderController.ts:75
FunctiongetProductBySlug
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/productController.ts:40
FunctionhandleImageUpload
(e)
frontend/src/components/AdminProductForm.jsx:57
FunctionhandleSubmit
(e)
frontend/src/components/AdminProductForm.jsx:18
FunctionlistAdminProducts
(_req: Request, res: Response, next: NextFunction)
backend/src/controllers/adminController.ts:83
FunctionlistOrders
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/orderController.ts:13
FunctionlistProducts
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/productController.ts:6
FunctionrequireAdmin
(req: Request, res: Response, next: NextFunction)
backend/src/controllers/adminController.ts:48
FunctionsendErrorBatch
()
frontend/src/pages/SentryDemoPage.jsx:283
FunctionsendInsufficientStockError
()
frontend/src/pages/SentryDemoPage.jsx:81
FunctionsendPaymentDeclinedError
()
frontend/src/pages/SentryDemoPage.jsx:30
FunctionsendRateLimitWarning
()
frontend/src/pages/SentryDemoPage.jsx:255
next →1–100 of 106, ranked by callers