MCPcopy Create free account

hub / github.com/ONEENTRY-PLATFORM/nextjs-shop-demo / functions

Functions528 in github.com/ONEENTRY-PLATFORM/nextjs-shop-demo

↓ 2 callersFunctionsignOut
(page: Page)
tests/e2e/helpers/auth-helpers.ts:79
↓ 2 callersFunctionsnap
(value: number)
components/layout/filter/components/price/PricePickerFilter.tsx:93
↓ 2 callersFunctiontoSlotDate
(t: TimePoint)
components/forms/CalendarForm.tsx:129
↓ 2 callersFunctionupdateUserState
({ favoritesMeta, cartMeta, }: { favoritesMeta: FavLedger; cartMeta: CartLedger; })
app/api/server/users/updateUserState.ts:35
↓ 2 callersFunctionuseApiErrorHandler
()
app/utils/errorHandler.ts:77
↓ 2 callersFunctionuseHydrated
()
components/hooks/useHydrated.ts:26
↓ 1 callersFunctionaddOrderCurrency
* Set the currency for the order * @param {WritableDraft<InitialStateType>} state - Current state * @param {PayloadAction<string>}
app/store/reducers/OrderSlice.ts:169
↓ 1 callersFunctionaddToCartHandle
()
components/layout/product/components/AddToCartButton.tsx:95
↓ 1 callersFunctionaddToCartHandle
()
components/layout/product/group-card/ApplyButton.tsx:42
↓ 1 callersFunctioncalculateRatingDistribution
(reviewsData: any)
components/layout/product/rating-block/RatingBlock.tsx:17
↓ 1 callersFunctioncancelOrderHandle
()
components/layout/orders/components/CancelOrderButton.tsx:41
↓ 1 callersFunctioncheckInView
()
components/layout/products-grid/animations/CardAnimations.tsx:58
↓ 1 callersFunctionclearFields
* Clear all form fields. * @param {WritableDraft<InitialStateType>} state - Current state
app/store/reducers/FormFieldsSlice.ts:74
↓ 1 callersFunctioncountAllComments
(reviewId: number)
components/layout/product/reviews-list/review-card/UserComment.tsx:55
↓ 1 callersFunctioncountAllComments
(reviewId: number)
components/layout/product/reviews-list/review-modal/TotalComments.tsx:22
↓ 1 callersFunctioncreateNoopStorage
()
app/store/store.ts:21
↓ 1 callersFunctiondict
(lang: string)
app/[lang]/dictionaries.ts:15
↓ 1 callersFunctiondispatchNext
()
app/api-test/ApiTestClient.tsx:273
↓ 1 callersFunctionfetchOrders
()
components/layout/orders/index.tsx:101
↓ 1 callersFunctionfilterIntervalsByDate
( intervals: [string, string][], targetDate: Date, )
components/forms/CalendarForm.tsx:44
↓ 1 callersFunctionflatMenuToNested
( data: [] | Array<IMenusPages>, pid: number | null, )
components/utils/utils.ts:129
↓ 1 callersFunctiongetAllOrdersByMarker
({ marker, offset, limit, lang, }: { marker: string; offset: number; limit: number; lang: stri
app/api/server/orders/getAllOrdersByMarker.ts:19
↓ 1 callersFunctiongetBaseUrl
()
app/sitemap.ts:9
↓ 1 callersFunctiongetFirstKey
* Utility function to get the first key of an object. * @param {Record<string, FieldType>} obj - Object to get the first key from. * @returns {str
app/store/reducers/FormFieldsSlice.ts:38
↓ 1 callersFunctiongetImagePreview
( name: string, attributeValues: Attrs, )
app/api/hooks/useAttributesData.ts:222
↓ 1 callersFunctiongetImageProps
()
components/shared/OptimizedImage.tsx:95
↓ 1 callersFunctiongetLocale
* Get the preferred locale, similar to Negotiator but without bundled locales * @param {NextRequest} request - The incoming HTTP request *
proxy.ts:15
↓ 1 callersFunctiongetLocales
()
app/api/server/locales/getLocales.ts:13
↓ 1 callersFunctiongetProductCategory
( product: IProductsEntity, )
app/api/hooks/useProductsData.ts:143
↓ 1 callersFunctiongetProductImageUrl
( name: string, product: IProductsEntity, type: 'image' | 'preview' = 'image', )
app/api/hooks/useProductsData.ts:55
↓ 1 callersFunctiongetProductsByPageUrl
(props: { lang: string; offset: number; limit: number; params: { handle: string; searchParams?
app/api/server/products/getProductsByPageUrl.ts:27
↓ 1 callersFunctiongetRelatedProductsById
( id: number, lang: string, )
app/api/server/products/getRelatedProductsById.ts:26
↓ 1 callersFunctiongetSingleAttributeByMarkerSet
({ setMarker, attributeMarker, lang, }: { setMarker: string; attributeMarker: string; lang: string
app/api/server/attributes/getSingleAttributeByMarkerSet.ts:17
↓ 1 callersFunctiongoToPayment
(page: Page)
tests/e2e/helpers/payment-helpers.ts:18
↓ 1 callersFunctiongoToShop
(page: Page)
tests/e2e/helpers/navigation-helpers.ts:23
↓ 1 callersFunctionhandleSearch
(term: string)
components/layout/header/search/SearchBar.tsx:78
↓ 1 callersFunctionhandleTimeSelect
(time: string, interval: [Date, Date])
components/forms/calendar/TimeSlots.tsx:41
↓ 1 callersFunctionhasActiveSession
()
app/api/api/api.ts:89
↓ 1 callersFunctioninitAuth
()
app/store/providers/AuthContext.tsx:244
↓ 1 callersFunctionisAuthenticated
(page: Page)
tests/e2e/helpers/auth-helpers.ts:101
↓ 1 callersFunctionisPreset
(v: string | null)
app/api/test-connection/route.ts:27
↓ 1 callersFunctionisSidebarRoute
(target: string | null)
app/animations/navigationRoutes.ts:41
↓ 1 callersFunctionloadRecaptchaScript
()
components/forms/inputs/FormReCaptcha.tsx:73
↓ 1 callersFunctionmaskToRegex
* Convert mask string to regex pattern * @param {string} mask - The mask string to convert * @returns {string} The regex pattern string
app/api/utils/compileRegex.ts:6
↓ 1 callersFunctionmergeCart
* Replace the ledger with a merged one (server + local) and recompute the * active cart from it. Dispatched once per session after authentication
app/store/reducers/CartSlice.ts:361
↓ 1 callersFunctionmergeFavorites
* Replace the ledger with a merged one (server + local) and recompute the * active list from it. Dispatched once per session after authentication
app/store/reducers/FavoritesSlice.ts:106
↓ 1 callersFunctiononChange
(value: string)
components/layout/header/nav/LangSelector.tsx:46
↓ 1 callersFunctiononChangeQtyHandle
(e: ChangeEvent<HTMLInputElement>)
components/layout/product/components/QuantityInput.tsx:37
↓ 1 callersFunctiononConfirmOrder
()
app/api/hooks/useCreateOrder.ts:139
↓ 1 callersFunctiononEditOrder
()
components/layout/payment/components/EditOrderButton.tsx:36
↓ 1 callersFunctionopenStripeMethod
(page: Page)
tests/e2e/helpers/payment-helpers.ts:50
↓ 1 callersFunctionproceedToCheckout
(page: Page)
tests/e2e/helpers/cart-helpers.ts:164
↓ 1 callersFunctionreDefine
( refreshToken: string, langCode?: string, )
app/api/api/api.ts:133
↓ 1 callersFunctionrefetch
()
app/api/hooks/useSearchProducts.ts:60
↓ 1 callersFunctionremoveFromCartHandle
()
components/layout/product/group-card/ApplyButton.tsx:50
↓ 1 callersFunctionrepeatOrderHandle
()
components/layout/orders/components/RepeatOrderButton.tsx:51
↓ 1 callersFunctionresult
()
app/api/hooks/useFormsData.ts:41
↓ 1 callersFunctionrunPerformanceTest
()
app/[lang]/api-test/page.tsx:22
↓ 1 callersFunctionrunProbe
(opts: { index: number; preset: Preset; marker: string; cached: boolean; signal: AbortSignal; })
app/api-test/ApiTestClient.tsx:87
↓ 1 callersFunctionrunRequest
( preset: Preset, marker: string, lang: string, cached: boolean, )
app/api/test-connection/route.ts:43
↓ 1 callersFunctionselectCartItemWithIdLength
( state: { cartReducer: { productsData: IProducts[] }; }, id: number, )
app/store/reducers/CartSlice.ts:579
↓ 1 callersFunctionsetCartVersion
* Set the cart version * @param {WritableDraft<InitialStateType>} state - Current state * @param {PayloadAction<string>} action -
app/store/reducers/CartSlice.ts:416
↓ 1 callersFunctionsetPriceFrom
(_value: number | null)
app/store/providers/FilterContext.tsx:32
↓ 1 callersFunctionsetPriceTo
(_value: number | null)
app/store/providers/FilterContext.tsx:33
↓ 1 callersFunctionsetupStore
()
app/store/store.ts:155
↓ 1 callersFunctionsortObjectFieldsByPosition
( obj: Record<string, { position: number }>, )
components/utils/utils.ts:98
↓ 1 callersFunctionsubscribeToCartProduct
()
components/layout/product/components/AddToCartButton.tsx:82
↓ 1 callersFunctiontoSlide
( img: unknown, isMain: boolean, )
components/layout/product/product-single/ProductImageGallery.tsx:68
↓ 1 callersFunctiontotalRating
(reviewsData: any)
components/layout/product/ReviewsSection.tsx:18
↓ 1 callersFunctiontransformFormField
({ marker, type, value, productId, }: TransformFieldParams)
components/forms/utils/transformFormData.ts:76
↓ 1 callersFunctionupdateOrderByMarkerAndId
({ marker, id, data, lang, }: HandleProps)
app/api/server/orders/updateOrderByMarkerAndId.ts:30
↓ 1 callersFunctionuseSearchProducts
({ name, lang, }: { name: string; lang: string; })
app/api/hooks/useSearchProducts.ts:17
↓ 1 callersFunctionvalidateFormData
( transformedData: FormDataType[], )
components/forms/utils/transformFormData.ts:105
↓ 1 callersFunctionvalidateToken
()
components/forms/inputs/FormReCaptcha.tsx:125
FunctionAboutPage
({ page, }: { page: IPagesEntity; })
components/pages/AboutPage.tsx:23
FunctionAddToCartButton
({ id, units, productTitle, statusIdentifier, className, height, dict, }: { id: number; unit
components/layout/product/components/AddToCartButton.tsx:30
FunctionAddressRow
({ placeholder }: { placeholder: string })
components/layout/cart/delivery-table/AddressRow.tsx:22
FunctionAnswerButton
({ // dict, state, setState, }: { dict: IAttributeValues; state: boolean; setState: Dispatch<SetSt
components/layout/product/reviews-list/review-card/AnswerButton.tsx:4
FunctionApiTestClient
()
app/api-test/ApiTestClient.tsx:232
FunctionApiTestPage
()
app/api-test/page.tsx:17
FunctionApiTestPage
()
app/[lang]/api-test/page.tsx:10
FunctionApplyButton
({ product, dict, }: { // eslint-disable-next-line @typescript-eslint/no-explicit-any product: any;
components/layout/product/group-card/ApplyButton.tsx:21
FunctionApplyButton
({ dict }: { dict: IAttributeValues })
components/layout/filter/components/buttons/ApplyButton.tsx:19
FunctionArrowLeftIcon
(props?: { active?: boolean })
components/icons/arrow-left.tsx:1
FunctionArrowRightIcon
(props?: { active?: boolean })
components/icons/arrow-right.tsx:1
FunctionArrowUpIcon
(props?: { active?: boolean })
components/icons/arrow-up.tsx:1
FunctionAuthError
({ dict }: { dict: IAttributeValues })
components/pages/AuthError.tsx:16
FunctionAuthProvider
({ children, langCode, }: { children: ReactNode; langCode: string; })
app/store/providers/AuthContext.tsx:72
FunctionBackButton
()
components/layout/breadcrumbs/components/BackButton.tsx:12
FunctionBarChart
({ results, }: { results: RequestResult[]; })
app/api-test/charts.tsx:28
FunctionBlockCardAnimations
({ children, className, index, }: { children: ReactNode; className: string; index: number; })
components/layout/blocks-grid/animations/BlockCardAnimations.tsx:21
FunctionBlocksGrid
({ blocks, lang, }: { blocks: Array<string>; lang: string; })
components/layout/blocks-grid/index.tsx:18
FunctionBlocksGridAnimations
({ children, className, }: { children: ReactNode; className: string; })
components/layout/blocks-grid/animations/BlocksGridAnimations.tsx:19
FunctionBlocksGridCard
({ marker, index, lang, className, blocksColors, }: { marker: string; lang: string; className:
components/layout/blocks-grid/components/BlocksGridCard.tsx:33
FunctionBlocksGridImage
({ attributeValues, }: { // eslint-disable-next-line @typescript-eslint/no-explicit-any attributeValues:
components/layout/blocks-grid/components/BlocksGridImage.tsx:16
FunctionBlocksGridLoader
({ blocksData, blocksColors, }: { blocksData: any; blocksColors: object; })
components/layout/blocks-grid/components/BlocksGridLoader.tsx:16
FunctionBlocksGridTitle
({ identifier, title, }: { identifier: string; title?: { value?: string; }; })
components/layout/blocks-grid/components/BlocksGridTitle.tsx:45
FunctionBookOnlinePage
({ page, }: SimplePageProps)
components/pages/BookOnlinePage.tsx:16
FunctionBottomMobileMenu
()
components/layout/bottom-menu/index.tsx:22
FunctionBreadcrumbItem
({ link, isLast, lang, }: { link: string; lang: string; isLast: boolean; })
components/layout/breadcrumbs/components/BreadcrumbItem.tsx:16
← previousnext →101–200 of 528, ranked by callers