MCPcopy Create free account

hub / github.com/Kuzma02/Electronics-eCommerce-Shop-With-Admin-Dashboard-NextJS-NodeJS / functions

Functions320 in github.com/Kuzma02/Electronics-eCommerce-Shop-With-Admin-Dashboard-NextJS-NodeJS

FunctionRegisterPage
()
app/register/page.tsx:9
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:19
FunctionSearchInput
()
components/SearchInput.tsx:16
FunctionSearchPage
({ searchParams }: Props)
app/search/page.tsx:11
FunctionSectionTitle
({title, path} : {title: string; path: string})
components/SectionTitle.tsx:13
FunctionSessionTimeoutTest
()
components/SessionTimeoutTest.tsx:6
FunctionSessionTimeoutWrapper
()
components/SessionTimeoutWrapper.tsx:5
FunctionShopPage
({ params, searchParams }: { params: Promise<{ slug?: string[] }>, searchParams: Promise<{ [key: string]: stri
app/shop/[[...slug]]/page.tsx:25
FunctionSimpleSlider
()
components/SimpleSlider.tsx:18
FunctionSingleProductDynamicFields
({ product }: { product: Product })
components/SingleProductDynamicFields.tsx:17
FunctionSingleProductPage
({ params }: SingleProductPageProps)
app/product/[productSlug]/page.tsx:28
FunctionSortBy
()
components/SortBy.tsx:15
FunctionStatsElement
()
components/StatsElement.tsx:9
FunctionStockAvailabillity
({ stock, inStock } : { stock: number, inStock: number })
components/StockAvailabillity.tsx:16
FunctionUrgencyText
({stock} : { stock: number })
components/UrgencyText.tsx:7
FunctionWishlistModule
()
components/modules/wishlist/index.tsx:9
FunctionaddNewCategory
()
app/(dashboard)/admin/categories/new/page.tsx:13
FunctionaddNewUser
()
app/(dashboard)/admin/users/new/page.tsx:19
FunctionaddProduct
()
app/(dashboard)/admin/products/new/page.tsx:34
FunctionaddRequestId
(req, res, next)
server/middleware/requestLogger.js:32
FunctionasyncApiHandler
(fn: Function)
utils/errorHandler.ts:232
FunctionasyncHandler
(fn: Function)
utils/errorHandler.ts:223
Functionauthorize
(credentials: any)
app/api/auth/[...nextauth]/route.ts:20
FunctionbulkDeleteNotifications
* Bulk delete notifications
lib/notification-api.ts:108
FunctionbulkDeleteNotifications
(req, res)
server/controllers/notificationController.js:219
FunctionbulkMarkAsRead
* Bulk mark notifications as read
lib/notification-api.ts:79
FunctionbulkMarkAsRead
(req, res)
server/controllers/notificationController.js:158
Methodconstructor
(message: string, statusCode: number = 500, isOperational: boolean = true)
utils/errorHandler.ts:8
Methodconstructor
()
server/scripts/migration-validator.js:6
Methodconstructor
()
server/scripts/backup-database.js:6
Methodconstructor
(message, field = null)
server/utills/validation.js:7
Methodconstructor
(message, statusCode = 500, isOperational = true)
server/utills/errorHandler.js:3
FunctioncreateBulkNotifications
( userIds: string[], title: string, message: string, type: NotificationType, priority: NotificationP
lib/notification-helpers.ts:138
FunctioncreateBulkNotifications
(userIds, title, message, type = 'SYSTEM_ALERT', priority = 'NORMAL', metadata = {})
server/utills/notificationHelpers.js:210
FunctioncreateCustomerOrder
(request, response)
server/controllers/customer_orders.js:6
FunctioncreateDynamicLimiter
(windowMs, max, message)
server/middleware/advancedRateLimiter.js:76
FunctioncreateImage
(request, response)
server/controllers/productImages.js:15
FunctioncreateMerchant
(request, response)
server/controllers/merchant.js:41
FunctioncreateNotification
* Create a new notification
lib/notification-api.ts:53
FunctioncreateNotification
(req, res)
server/controllers/notificationController.js:78
FunctioncreateOrderUpdateNotification
( userId: string, orderStatus: string, orderId: string )
lib/notification-helpers.ts:33
FunctioncreatePaymentNotification
( userId: string, paymentStatus: 'success' | 'failed' | 'pending', amount: number, orderId: string )
lib/notification-helpers.ts:69
FunctioncreatePaymentNotification
(userId, paymentStatus, amount, orderId)
server/utills/notificationHelpers.js:93
FunctioncreatePromotionNotification
( userId: string, title: string, message: string, promoCode?: string, discount?: number )
lib/notification-helpers.ts:100
FunctioncreatePromotionNotification
(userId, title, message, promoCode = null, discount = null)
server/utills/notificationHelpers.js:149
FunctioncreateSystemAlertNotification
( userId: string, title: string, message: string, priority: NotificationPriority = NotificationPriorit
lib/notification-helpers.ts:120
FunctioncreateSystemAlertNotification
(userId, title, message, priority = 'HIGH')
server/utills/notificationHelpers.js:180
FunctiondeleteCategory
()
app/(dashboard)/admin/categories/[id]/page.tsx:23
FunctiondeleteCustomerOrder
(request, response)
server/controllers/customer_orders.js:285
FunctiondeleteImage
(request, response)
server/controllers/productImages.js:68
FunctiondeleteMerchant
(request, response)
server/controllers/merchant.js:89
FunctiondeleteNotification
(req, res)
server/controllers/notificationController.js:191
FunctiondeleteOrder
()
app/(dashboard)/admin/orders/[id]/page.tsx:124
FunctiondeleteProduct
()
app/(dashboard)/admin/products/[id]/page.tsx:28
FunctiondeleteUser
()
app/(dashboard)/admin/users/[id]/page.tsx:28
FunctiondeleteWishItem
(id: string)
app/actions/index.ts:6
FunctiondownloadTemplate
()
app/(dashboard)/admin/bulk-upload/page.tsx:136
MethodformatInsertValues
(data)
server/scripts/migration-validator.js:106
FunctiongetAllMerchants
(request, response)
server/controllers/merchant.js:4
FunctiongetAllOrders
(request, response)
server/controllers/customer_orders.js:366
FunctiongetCustomerOrder
(request, response)
server/controllers/customer_orders.js:332
FunctiongetMerchantById
(request, response)
server/controllers/merchant.js:18
FunctiongetProductBySlug
(request, response)
server/controllers/slugs.js:3
FunctiongetSingleProductImages
(request, response)
server/controllers/productImages.js:4
FunctiongetUnreadCount
* Get unread notification count for a user
lib/notification-api.ts:40
FunctiongetUnreadCount
(req, res)
server/controllers/notificationController.js:251
FunctiongetUserNotifications
* Get user notifications with filtering and pagination
lib/notification-api.ts:13
FunctiongetUserNotifications
(req, res)
server/controllers/notificationController.js:7
FunctionhandleAddToCart
()
components/AddToCartSingleProductBtn.tsx:23
FunctionhandleAddToCart
()
components/BuyNowSingleProductBtn.tsx:24
FunctionhandleBulkDelete
()
app/notifications/page.tsx:109
FunctionhandleBulkMarkAsRead
()
app/notifications/page.tsx:103
FunctionhandleClickOutside
(event: MouseEvent)
components/NotificationBell.tsx:21
FunctionhandleDelete
()
app/(dashboard)/admin/merchant/[id]/page.tsx:114
FunctionhandleDeleteCancel
()
components/BulkUploadHistory.tsx:128
FunctionhandleDeleteConfirm
()
components/BulkUploadHistory.tsx:76
FunctionhandleDrag
(e: React.DragEvent)
app/(dashboard)/admin/bulk-upload/page.tsx:41
FunctionhandleDrop
(e: React.DragEvent)
app/(dashboard)/admin/bulk-upload/page.tsx:51
FunctionhandleFileChange
(e: React.ChangeEvent<HTMLInputElement>)
app/(dashboard)/admin/bulk-upload/page.tsx:70
FunctionhandleInputChange
( e: React.ChangeEvent< HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement > )
app/(dashboard)/admin/merchant/new/page.tsx:21
FunctionhandleInputChange
( e: React.ChangeEvent< HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement > )
app/(dashboard)/admin/merchant/[id]/page.tsx:86
FunctionhandleLogout
()
components/Header.tsx:33
FunctionhandleOrderCompleted
()
hooks/useNotifications.ts:234
FunctionhandleRange
(e: React.ChangeEvent<HTMLInputElement>)
components/Range.tsx:24
FunctionhandleSearch
(e: React.FormEvent)
app/notifications/page.tsx:74
FunctionhandleSelectAll
()
app/notifications/page.tsx:115
FunctionhandleSubmit
(e: any)
app/register/page.tsx:26
FunctionhandleSubmit
(e: React.FormEvent)
app/(dashboard)/admin/merchant/new/page.tsx:30
FunctionhandleSubmit
(e: React.FormEvent)
app/(dashboard)/admin/merchant/[id]/page.tsx:95
FunctionhandleSubmit
(e: any)
app/login/page.tsx:30
FunctionhandleUpload
()
app/(dashboard)/admin/bulk-upload/page.tsx:85
Functionheaders
()
next.config.mjs:15
FunctionisAdmin
()
utils/adminAuth.ts:19
FunctionisSmallScreen
()
helpers/is-small-screen.ts:3
FunctionisValidCardNumber
(input: string)
lib/utils.ts:122
FunctionisValidCreditCardCVVOrCVC
(input: string)
lib/utils.ts:250
FunctionisValidCreditCardExpirationDate
(input: string)
lib/utils.ts:244
Functionjwt
({ token, user })
app/api/auth/[...nextauth]/route.ts:93
FunctionmakePurchase
()
app/checkout/page.tsx:90
Functionrequest
(endpoint: string, options: RequestInit = {})
lib/api.ts:6
← previousnext →201–300 of 320, ranked by callers