@jetshop/core 5.16.1 → 5.16.2-build-tools.77
Sign up to get free protection for your applications and to get access to all the features.
- package/data/fragments/StockStatusFragment.gql +0 -1
- package/global.d.ts +26 -2
- package/package.json +4 -3
- package/types.d.ts +19 -88
- package/ChannelHandler/ChannelHandler.d.ts +0 -53
- package/ChannelHandler/ChannelHandler.js +0 -114
- package/ChannelHandler/ChannelHandler.js.map +0 -1
- package/ChannelHandler/channelUtils.d.ts +0 -73
- package/ChannelHandler/channelUtils.js +0 -313
- package/ChannelHandler/channelUtils.js.map +0 -1
- package/ChannelHandler/redirectUtils.d.ts +0 -4
- package/ChannelHandler/redirectUtils.js +0 -50
- package/ChannelHandler/redirectUtils.js.map +0 -1
- package/analytics/Analytics.d.ts +0 -18
- package/analytics/Analytics.js +0 -57
- package/analytics/Analytics.js.map +0 -1
- package/analytics/AnalyticsProvider.d.ts +0 -54
- package/analytics/AnalyticsProvider.js +0 -229
- package/analytics/AnalyticsProvider.js.map +0 -1
- package/analytics/deprecatedTracking.d.ts +0 -17
- package/analytics/deprecatedTracking.js +0 -33
- package/analytics/deprecatedTracking.js.map +0 -1
- package/analytics/integrations/ga4.d.ts +0 -28
- package/analytics/integrations/ga4.js +0 -189
- package/analytics/integrations/ga4.js.map +0 -1
- package/analytics/integrations/gtag/gtag.d.ts +0 -8
- package/analytics/integrations/gtag/gtag.js +0 -209
- package/analytics/integrations/gtag/gtag.js.map +0 -1
- package/analytics/integrations/gtag/index.d.ts +0 -1
- package/analytics/integrations/gtag/index.js +0 -2
- package/analytics/integrations/gtag/index.js.map +0 -1
- package/analytics/integrations/gtm/gtm.d.ts +0 -12
- package/analytics/integrations/gtm/gtm.js +0 -227
- package/analytics/integrations/gtm/gtm.js.map +0 -1
- package/analytics/integrations/gtm/index.d.ts +0 -1
- package/analytics/integrations/gtm/index.js +0 -2
- package/analytics/integrations/gtm/index.js.map +0 -1
- package/analytics/integrations/gtm/referrerModifier.d.ts +0 -1
- package/analytics/integrations/gtm/referrerModifier.js +0 -62
- package/analytics/integrations/gtm/referrerModifier.js.map +0 -1
- package/analytics/integrations/releware/index.d.ts +0 -3
- package/analytics/integrations/releware/index.js +0 -39
- package/analytics/integrations/releware/index.js.map +0 -1
- package/analytics/integrations/unslugify.d.ts +0 -1
- package/analytics/integrations/unslugify.js +0 -16
- package/analytics/integrations/unslugify.js.map +0 -1
- package/analytics/trackerRegistry.d.ts +0 -113
- package/analytics/trackerRegistry.js +0 -222
- package/analytics/trackerRegistry.js.map +0 -1
- package/analytics/tracking.d.ts +0 -14
- package/analytics/tracking.js +0 -72
- package/analytics/tracking.js.map +0 -1
- package/analytics/utils/breadcrumbsWithoutProduct.d.ts +0 -1
- package/analytics/utils/breadcrumbsWithoutProduct.js +0 -9
- package/analytics/utils/breadcrumbsWithoutProduct.js.map +0 -1
- package/analytics/utils/script.d.ts +0 -8
- package/analytics/utils/script.js +0 -40
- package/analytics/utils/script.js.map +0 -1
- package/analytics/webVitals.d.ts +0 -5
- package/analytics/webVitals.js +0 -39
- package/analytics/webVitals.js.map +0 -1
- package/boot/AuthHandler.d.ts +0 -14
- package/boot/AuthHandler.js +0 -39
- package/boot/AuthHandler.js.map +0 -1
- package/boot/PreviewHandler.d.ts +0 -7
- package/boot/PreviewHandler.js +0 -14
- package/boot/PreviewHandler.js.map +0 -1
- package/boot/SharedTree.d.ts +0 -25
- package/boot/SharedTree.js +0 -29
- package/boot/SharedTree.js.map +0 -1
- package/boot/addMissingConfig.d.ts +0 -5
- package/boot/addMissingConfig.js +0 -34
- package/boot/addMissingConfig.js.map +0 -1
- package/boot/apollo.d.ts +0 -21
- package/boot/apollo.js +0 -198
- package/boot/apollo.js.map +0 -1
- package/boot/client/entrypoint.d.ts +0 -1
- package/boot/client/entrypoint.js +0 -5
- package/boot/client/entrypoint.js.map +0 -1
- package/boot/client/index.d.ts +0 -1
- package/boot/client/index.js +0 -2
- package/boot/client/index.js.map +0 -1
- package/boot/client/startClient.d.ts +0 -4
- package/boot/client/startClient.js +0 -144
- package/boot/client/startClient.js.map +0 -1
- package/boot/server/IntervalQuery.d.ts +0 -32
- package/boot/server/IntervalQuery.js +0 -95
- package/boot/server/IntervalQuery.js.map +0 -1
- package/boot/server/PersistedApolloClient.d.ts +0 -20
- package/boot/server/PersistedApolloClient.js +0 -40
- package/boot/server/PersistedApolloClient.js.map +0 -1
- package/boot/server/asyncErrorHandler.d.ts +0 -3
- package/boot/server/asyncErrorHandler.js +0 -5
- package/boot/server/asyncErrorHandler.js.map +0 -1
- package/boot/server/breakpointMiddleware.d.ts +0 -3
- package/boot/server/breakpointMiddleware.js +0 -10
- package/boot/server/breakpointMiddleware.js.map +0 -1
- package/boot/server/createApolloServer.d.ts +0 -28
- package/boot/server/createApolloServer.js +0 -144
- package/boot/server/createApolloServer.js.map +0 -1
- package/boot/server/createDevServer.d.ts +0 -14
- package/boot/server/createDevServer.js +0 -30
- package/boot/server/createDevServer.js.map +0 -1
- package/boot/server/createRenderer.d.ts +0 -28
- package/boot/server/createRenderer.js +0 -237
- package/boot/server/createRenderer.js.map +0 -1
- package/boot/server/createServer.d.ts +0 -14
- package/boot/server/createServer.js +0 -42
- package/boot/server/createServer.js.map +0 -1
- package/boot/server/entrypoint.d.ts +0 -1
- package/boot/server/entrypoint.js +0 -36
- package/boot/server/entrypoint.js.map +0 -1
- package/boot/server/getPrefetchFiles.d.ts +0 -10
- package/boot/server/getPrefetchFiles.js +0 -20
- package/boot/server/getPrefetchFiles.js.map +0 -1
- package/boot/server/getPreloadAssets.d.ts +0 -10
- package/boot/server/getPreloadAssets.js +0 -18
- package/boot/server/getPreloadAssets.js.map +0 -1
- package/boot/server/index.d.ts +0 -9
- package/boot/server/index.js +0 -123
- package/boot/server/index.js.map +0 -1
- package/boot/server/listen.d.ts +0 -13
- package/boot/server/listen.js +0 -17
- package/boot/server/listen.js.map +0 -1
- package/boot/server/persistedQueries/PersistedClient.d.ts +0 -22
- package/boot/server/persistedQueries/PersistedClient.js +0 -58
- package/boot/server/persistedQueries/PersistedClient.js.map +0 -1
- package/boot/server/persistedQueries/getPersistedQueriesForRequest.d.ts +0 -3
- package/boot/server/persistedQueries/getPersistedQueriesForRequest.js +0 -27
- package/boot/server/persistedQueries/getPersistedQueriesForRequest.js.map +0 -1
- package/boot/server/salesSource.d.ts +0 -8
- package/boot/server/salesSource.js +0 -16
- package/boot/server/salesSource.js.map +0 -1
- package/boot/utils/createIntOptions.d.ts +0 -6
- package/boot/utils/createIntOptions.js +0 -19
- package/boot/utils/createIntOptions.js.map +0 -1
- package/boot/utils/queryLoggingMiddleware.d.ts +0 -2
- package/boot/utils/queryLoggingMiddleware.js +0 -15
- package/boot/utils/queryLoggingMiddleware.js.map +0 -1
- package/boot/utils/uid.d.ts +0 -3
- package/boot/utils/uid.js +0 -20
- package/boot/utils/uid.js.map +0 -1
- package/cart/AddToCartFormik.d.ts +0 -42
- package/cart/AddToCartFormik.js +0 -77
- package/cart/AddToCartFormik.js.map +0 -1
- package/cart/useAddToCart.d.ts +0 -88
- package/cart/useAddToCart.js +0 -119
- package/cart/useAddToCart.js.map +0 -1
- package/cart/useCart.d.ts +0 -0
- package/cart/useCart.js +0 -1
- package/cart/useCart.js.map +0 -1
- package/components/Auth/CustomerFormContainer.d.ts +0 -0
- package/components/Auth/CustomerFormContainer.js +0 -1
- package/components/Auth/CustomerFormContainer.js.map +0 -1
- package/components/Auth/CustomerUpdateForm.d.ts +0 -32
- package/components/Auth/CustomerUpdateForm.js +0 -122
- package/components/Auth/CustomerUpdateForm.js.map +0 -1
- package/components/Auth/ForgotPasswordProvider.d.ts +0 -71
- package/components/Auth/ForgotPasswordProvider.js +0 -57
- package/components/Auth/ForgotPasswordProvider.js.map +0 -1
- package/components/Auth/ResetPasswordProvider.d.ts +0 -88
- package/components/Auth/ResetPasswordProvider.js +0 -78
- package/components/Auth/ResetPasswordProvider.js.map +0 -1
- package/components/Auth/SSN.d.ts +0 -12
- package/components/Auth/SSN.js +0 -35
- package/components/Auth/SSN.js.map +0 -1
- package/components/Auth/SSNLookupContainer.d.ts +0 -15
- package/components/Auth/SSNLookupContainer.js +0 -20
- package/components/Auth/SSNLookupContainer.js.map +0 -1
- package/components/Auth/SignupFormContainer.d.ts +0 -19
- package/components/Auth/SignupFormContainer.js +0 -82
- package/components/Auth/SignupFormContainer.js.map +0 -1
- package/components/Auth/UpdatePasswordForm.d.ts +0 -44
- package/components/Auth/UpdatePasswordForm.js +0 -98
- package/components/Auth/UpdatePasswordForm.js.map +0 -1
- package/components/Auth/formFieldsFromSettings.d.ts +0 -65
- package/components/Auth/formFieldsFromSettings.js +0 -77
- package/components/Auth/formFieldsFromSettings.js.map +0 -1
- package/components/Auth/formatSignupInput.d.ts +0 -8
- package/components/Auth/formatSignupInput.js +0 -43
- package/components/Auth/formatSignupInput.js.map +0 -1
- package/components/Auth/signup-context.d.ts +0 -36
- package/components/Auth/signup-context.js +0 -72
- package/components/Auth/signup-context.js.map +0 -1
- package/components/Auth/signup-field-translations.d.ts +0 -3
- package/components/Auth/signup-field-translations.js +0 -44
- package/components/Auth/signup-field-translations.js.map +0 -1
- package/components/Auth/signupSubmit.d.ts +0 -6
- package/components/Auth/signupSubmit.js +0 -57
- package/components/Auth/signupSubmit.js.map +0 -1
- package/components/Auth/useAddressFields.d.ts +0 -22
- package/components/Auth/useAddressFields.js +0 -33
- package/components/Auth/useAddressFields.js.map +0 -1
- package/components/Auth/useCustomer.d.ts +0 -116
- package/components/Auth/useCustomer.js +0 -189
- package/components/Auth/useCustomer.js.map +0 -1
- package/components/Auth/useLoginFields.d.ts +0 -20
- package/components/Auth/useLoginFields.js +0 -21
- package/components/Auth/useLoginFields.js.map +0 -1
- package/components/Auth/useSignupForm.d.ts +0 -7
- package/components/Auth/useSignupForm.js +0 -15
- package/components/Auth/useSignupForm.js.map +0 -1
- package/components/AuthContext/AuthContext.d.ts +0 -8
- package/components/AuthContext/AuthContext.js +0 -9
- package/components/AuthContext/AuthContext.js.map +0 -1
- package/components/AuthContext/AuthProvider.d.ts +0 -6
- package/components/AuthContext/AuthProvider.js +0 -85
- package/components/AuthContext/AuthProvider.js.map +0 -1
- package/components/AuthContext/LogOut.d.ts +0 -5
- package/components/AuthContext/LogOut.js +0 -15
- package/components/AuthContext/LogOut.js.map +0 -1
- package/components/AuthContext/useAuth.d.ts +0 -6
- package/components/AuthContext/useAuth.js +0 -21
- package/components/AuthContext/useAuth.js.map +0 -1
- package/components/BreakpointProvider.d.ts +0 -21
- package/components/BreakpointProvider.js +0 -24
- package/components/BreakpointProvider.js.map +0 -1
- package/components/Cart/CartIdContext.d.ts +0 -11
- package/components/Cart/CartIdContext.js +0 -61
- package/components/Cart/CartIdContext.js.map +0 -1
- package/components/ChannelContext/ChannelContext.d.ts +0 -21
- package/components/ChannelContext/ChannelContext.js +0 -4
- package/components/ChannelContext/ChannelContext.js.map +0 -1
- package/components/ChannelContext/ChannelProvider.d.ts +0 -10
- package/components/ChannelContext/ChannelProvider.js +0 -45
- package/components/ChannelContext/ChannelProvider.js.map +0 -1
- package/components/ChannelContext/index.d.ts +0 -2
- package/components/ChannelContext/index.js +0 -3
- package/components/ChannelContext/index.js.map +0 -1
- package/components/ChannelContext/useCountrySettings.d.ts +0 -8
- package/components/ChannelContext/useCountrySettings.js +0 -24
- package/components/ChannelContext/useCountrySettings.js.map +0 -1
- package/components/ConfigProvider.d.ts +0 -108
- package/components/ConfigProvider.js +0 -20
- package/components/ConfigProvider.js.map +0 -1
- package/components/DynamicRoute/CategoryRoute.d.ts +0 -13
- package/components/DynamicRoute/CategoryRoute.js +0 -56
- package/components/DynamicRoute/CategoryRoute.js.map +0 -1
- package/components/DynamicRoute/ContentRoute.d.ts +0 -14
- package/components/DynamicRoute/ContentRoute.js +0 -28
- package/components/DynamicRoute/ContentRoute.js.map +0 -1
- package/components/DynamicRoute/CustomerRoute.d.ts +0 -0
- package/components/DynamicRoute/CustomerRoute.js +0 -1
- package/components/DynamicRoute/CustomerRoute.js.map +0 -1
- package/components/DynamicRoute/PreviewRoute.d.ts +0 -17
- package/components/DynamicRoute/PreviewRoute.js +0 -58
- package/components/DynamicRoute/PreviewRoute.js.map +0 -1
- package/components/DynamicRoute/ProductByArticlenumber.d.ts +0 -5
- package/components/DynamicRoute/ProductByArticlenumber.js +0 -22
- package/components/DynamicRoute/ProductByArticlenumber.js.map +0 -1
- package/components/DynamicRoute/ProductRoute.d.ts +0 -15
- package/components/DynamicRoute/ProductRoute.js +0 -65
- package/components/DynamicRoute/ProductRoute.js.map +0 -1
- package/components/DynamicRoute/RouteResolver.d.ts +0 -22
- package/components/DynamicRoute/RouteResolver.js +0 -65
- package/components/DynamicRoute/RouteResolver.js.map +0 -1
- package/components/DynamicRoute/Status.d.ts +0 -14
- package/components/DynamicRoute/Status.js +0 -20
- package/components/DynamicRoute/Status.js.map +0 -1
- package/components/DynamicRoute/index.d.ts +0 -17
- package/components/DynamicRoute/index.js +0 -96
- package/components/DynamicRoute/index.js.map +0 -1
- package/components/Filters/index.d.ts +0 -1
- package/components/Filters/index.js +0 -2
- package/components/Filters/index.js.map +0 -1
- package/components/Filters/utils/replaceInSearch.d.ts +0 -14
- package/components/Filters/utils/replaceInSearch.js +0 -23
- package/components/Filters/utils/replaceInSearch.js.map +0 -1
- package/components/Filters/utils/updateHistory.d.ts +0 -25
- package/components/Filters/utils/updateHistory.js +0 -30
- package/components/Filters/utils/updateHistory.js.map +0 -1
- package/components/Fonts/CustomFont.d.ts +0 -14
- package/components/Fonts/CustomFont.js +0 -17
- package/components/Fonts/CustomFont.js.map +0 -1
- package/components/Fonts/GoogleFont.d.ts +0 -10
- package/components/Fonts/GoogleFont.js +0 -35
- package/components/Fonts/GoogleFont.js.map +0 -1
- package/components/Fonts/TypekitFont.d.ts +0 -16
- package/components/Fonts/TypekitFont.js +0 -25
- package/components/Fonts/TypekitFont.js.map +0 -1
- package/components/Fonts/injectFont.d.ts +0 -11
- package/components/Fonts/injectFont.js +0 -30
- package/components/Fonts/injectFont.js.map +0 -1
- package/components/Head.d.ts +0 -11
- package/components/Head.js +0 -84
- package/components/Head.js.map +0 -1
- package/components/Mutation/AddToCart/addToCartUtils.d.ts +0 -18
- package/components/Mutation/AddToCart/addToCartUtils.js +0 -52
- package/components/Mutation/AddToCart/addToCartUtils.js.map +0 -1
- package/components/Mutation/AddToCartFormik.d.ts +0 -53
- package/components/Mutation/AddToCartFormik.js +0 -173
- package/components/Mutation/AddToCartFormik.js.map +0 -1
- package/components/Mutation/DecrementQuantity.d.ts +0 -4
- package/components/Mutation/DecrementQuantity.js +0 -35
- package/components/Mutation/DecrementQuantity.js.map +0 -1
- package/components/Mutation/IncrementQuantity.d.ts +0 -4
- package/components/Mutation/IncrementQuantity.js +0 -35
- package/components/Mutation/IncrementQuantity.js.map +0 -1
- package/components/Mutation/RemoveFromCart.d.ts +0 -5
- package/components/Mutation/RemoveFromCart.js +0 -52
- package/components/Mutation/RemoveFromCart.js.map +0 -1
- package/components/Mutation/SetQuantity.d.ts +0 -4
- package/components/Mutation/SetQuantity.js +0 -37
- package/components/Mutation/SetQuantity.js.map +0 -1
- package/components/Mutation/SubscribeToNewsletter.d.ts +0 -4
- package/components/Mutation/SubscribeToNewsletter.js +0 -30
- package/components/Mutation/SubscribeToNewsletter.js.map +0 -1
- package/components/Mutation/SubscribeToStockNotifications.d.ts +0 -4
- package/components/Mutation/SubscribeToStockNotifications.js +0 -31
- package/components/Mutation/SubscribeToStockNotifications.js.map +0 -1
- package/components/Mutation/cartMutationUtils.d.ts +0 -28
- package/components/Mutation/cartMutationUtils.js +0 -109
- package/components/Mutation/cartMutationUtils.js.map +0 -1
- package/components/Mutation/useDecrementQuantity.d.ts +0 -11
- package/components/Mutation/useDecrementQuantity.js +0 -54
- package/components/Mutation/useDecrementQuantity.js.map +0 -1
- package/components/Mutation/useIncrementQuantity.d.ts +0 -11
- package/components/Mutation/useIncrementQuantity.js +0 -54
- package/components/Mutation/useIncrementQuantity.js.map +0 -1
- package/components/Mutation/useRemoveFromCart.d.ts +0 -13
- package/components/Mutation/useRemoveFromCart.js +0 -50
- package/components/Mutation/useRemoveFromCart.js.map +0 -1
- package/components/Mutation/useSetQuantity.d.ts +0 -12
- package/components/Mutation/useSetQuantity.js +0 -38
- package/components/Mutation/useSetQuantity.js.map +0 -1
- package/components/Notifications/Notifications.d.ts +0 -15
- package/components/Notifications/Notifications.js +0 -27
- package/components/Notifications/Notifications.js.map +0 -1
- package/components/Notifications/index.d.ts +0 -2
- package/components/Notifications/index.js +0 -3
- package/components/Notifications/index.js.map +0 -1
- package/components/Notifications/notificationMachine.d.ts +0 -30
- package/components/Notifications/notificationMachine.js +0 -74
- package/components/Notifications/notificationMachine.js.map +0 -1
- package/components/Notifications/notificationsMachine.d.ts +0 -37
- package/components/Notifications/notificationsMachine.js +0 -66
- package/components/Notifications/notificationsMachine.js.map +0 -1
- package/components/Notifications/useNotification.d.ts +0 -9
- package/components/Notifications/useNotification.js +0 -27
- package/components/Notifications/useNotification.js.map +0 -1
- package/components/OpenGraph/OpenGraphGeneralPageData.d.ts +0 -25
- package/components/OpenGraph/OpenGraphGeneralPageData.js +0 -37
- package/components/OpenGraph/OpenGraphGeneralPageData.js.map +0 -1
- package/components/OpenGraph/OpenGraphProductData.d.ts +0 -25
- package/components/OpenGraph/OpenGraphProductData.js +0 -49
- package/components/OpenGraph/OpenGraphProductData.js.map +0 -1
- package/components/OpenGraph/index.d.ts +0 -2
- package/components/OpenGraph/index.js +0 -3
- package/components/OpenGraph/index.js.map +0 -1
- package/components/Pagination/PaginationContainer.d.ts +0 -2
- package/components/Pagination/PaginationContainer.js +0 -5
- package/components/Pagination/PaginationContainer.js.map +0 -1
- package/components/Pagination/PaginationContext.d.ts +0 -14
- package/components/Pagination/PaginationContext.js +0 -4
- package/components/Pagination/PaginationContext.js.map +0 -1
- package/components/Pagination/PaginationProvider.d.ts +0 -19
- package/components/Pagination/PaginationProvider.js +0 -95
- package/components/Pagination/PaginationProvider.js.map +0 -1
- package/components/PreviewContext.d.ts +0 -10
- package/components/PreviewContext.js +0 -27
- package/components/PreviewContext.js.map +0 -1
- package/components/ProductConfigurationProvider/ProductConfigurationContext.d.ts +0 -13
- package/components/ProductConfigurationProvider/ProductConfigurationContext.js +0 -5
- package/components/ProductConfigurationProvider/ProductConfigurationContext.js.map +0 -1
- package/components/ProductConfigurationProvider/ProductConfigurationProvider.d.ts +0 -6
- package/components/ProductConfigurationProvider/ProductConfigurationProvider.js +0 -50
- package/components/ProductConfigurationProvider/ProductConfigurationProvider.js.map +0 -1
- package/components/Query/CartProvider.d.ts +0 -22
- package/components/Query/CartProvider.js +0 -68
- package/components/Query/CartProvider.js.map +0 -1
- package/components/SortOrder/SortOrderContainer.d.ts +0 -40
- package/components/SortOrder/SortOrderContainer.js +0 -108
- package/components/SortOrder/SortOrderContainer.js.map +0 -1
- package/components/SortOrder/SortOrderContext.d.ts +0 -9
- package/components/SortOrder/SortOrderContext.js +0 -9
- package/components/SortOrder/SortOrderContext.js.map +0 -1
- package/components/StructuredData/SiteLinksSearchStructuredData.d.ts +0 -3
- package/components/StructuredData/SiteLinksSearchStructuredData.js +0 -25
- package/components/StructuredData/SiteLinksSearchStructuredData.js.map +0 -1
- package/components/StructuredData/StructuredBreadcrumbData.d.ts +0 -12
- package/components/StructuredData/StructuredBreadcrumbData.js +0 -55
- package/components/StructuredData/StructuredBreadcrumbData.js.map +0 -1
- package/components/StructuredData/StructuredCategoryData.d.ts +0 -16
- package/components/StructuredData/StructuredCategoryData.js +0 -18
- package/components/StructuredData/StructuredCategoryData.js.map +0 -1
- package/components/StructuredData/StructuredData.d.ts +0 -9
- package/components/StructuredData/StructuredData.js +0 -7
- package/components/StructuredData/StructuredData.js.map +0 -1
- package/components/StructuredData/StructuredPageData.d.ts +0 -16
- package/components/StructuredData/StructuredPageData.js +0 -17
- package/components/StructuredData/StructuredPageData.js.map +0 -1
- package/components/StructuredData/StructuredProductData.d.ts +0 -18
- package/components/StructuredData/StructuredProductData.js +0 -43
- package/components/StructuredData/StructuredProductData.js.map +0 -1
- package/components/StructuredData/index.d.ts +0 -5
- package/components/StructuredData/index.js +0 -6
- package/components/StructuredData/index.js.map +0 -1
- package/data/cache.d.ts +0 -3
- package/data/cache.js +0 -21
- package/data/cache.js.map +0 -1
- package/data/fragmentTypes.d.ts +0 -8
- package/data/fragmentTypes.js +0 -84
- package/data/fragmentTypes.js.map +0 -1
- package/data/fragments/index.d.ts +0 -1
- package/data/fragments/index.js +0 -2
- package/data/fragments/index.js.map +0 -1
- package/errorReporting.browser.d.ts +0 -3
- package/errorReporting.browser.js +0 -12
- package/errorReporting.browser.js.map +0 -1
- package/errorReporting.d.ts +0 -3
- package/errorReporting.js +0 -20
- package/errorReporting.js.map +0 -1
- package/errorReporting.server.d.ts +0 -3
- package/errorReporting.server.js +0 -12
- package/errorReporting.server.js.map +0 -1
- package/errorReporting.shared.d.ts +0 -5
- package/errorReporting.shared.js +0 -17
- package/errorReporting.shared.js.map +0 -1
- package/experiments/ExperimentsProvider.d.ts +0 -4
- package/experiments/ExperimentsProvider.js +0 -29
- package/experiments/ExperimentsProvider.js.map +0 -1
- package/experiments/selectExperimentVariant.d.ts +0 -3
- package/experiments/selectExperimentVariant.js +0 -35
- package/experiments/selectExperimentVariant.js.map +0 -1
- package/experiments/useExperiment.d.ts +0 -2
- package/experiments/useExperiment.js +0 -11
- package/experiments/useExperiment.js.map +0 -1
- package/helpers/decodeUrlQuery.d.ts +0 -9
- package/helpers/decodeUrlQuery.js +0 -27
- package/helpers/decodeUrlQuery.js.map +0 -1
- package/helpers/distance.d.ts +0 -7
- package/helpers/distance.js +0 -13
- package/helpers/distance.js.map +0 -1
- package/helpers/encodeVariant.d.ts +0 -3
- package/helpers/encodeVariant.js +0 -25
- package/helpers/encodeVariant.js.map +0 -1
- package/helpers/getBreakpointsFromValues.d.ts +0 -6
- package/helpers/getBreakpointsFromValues.js +0 -15
- package/helpers/getBreakpointsFromValues.js.map +0 -1
- package/helpers/getCartItemVariant.d.ts +0 -7
- package/helpers/getCartItemVariant.js +0 -9
- package/helpers/getCartItemVariant.js.map +0 -1
- package/helpers/getErrorDetail.d.ts +0 -7
- package/helpers/getErrorDetail.js +0 -12
- package/helpers/getErrorDetail.js.map +0 -1
- package/helpers/getHeaders.d.ts +0 -6
- package/helpers/getHeaders.js +0 -4
- package/helpers/getHeaders.js.map +0 -1
- package/helpers/isRelativeUrl.d.ts +0 -1
- package/helpers/isRelativeUrl.js +0 -4
- package/helpers/isRelativeUrl.js.map +0 -1
- package/helpers/logError.d.ts +0 -1
- package/helpers/logError.js +0 -17
- package/helpers/logError.js.map +0 -1
- package/helpers/logWarningInDev.d.ts +0 -1
- package/helpers/logWarningInDev.js +0 -7
- package/helpers/logWarningInDev.js.map +0 -1
- package/helpers/throwErrorInDev.d.ts +0 -6
- package/helpers/throwErrorInDev.js +0 -15
- package/helpers/throwErrorInDev.js.map +0 -1
- package/helpers/uniqueId.d.ts +0 -5
- package/helpers/uniqueId.js +0 -10
- package/helpers/uniqueId.js.map +0 -1
- package/hooks/Channels/useChannelSettings.d.ts +0 -7
- package/hooks/Channels/useChannelSettings.js +0 -12
- package/hooks/Channels/useChannelSettings.js.map +0 -1
- package/hooks/Filters/useBooleanFilter.d.ts +0 -8
- package/hooks/Filters/useBooleanFilter.js +0 -21
- package/hooks/Filters/useBooleanFilter.js.map +0 -1
- package/hooks/Filters/useFilters.d.ts +0 -3
- package/hooks/Filters/useFilters.js +0 -16
- package/hooks/Filters/useFilters.js.map +0 -1
- package/hooks/Filters/useListFilter.d.ts +0 -10
- package/hooks/Filters/useListFilter.js +0 -38
- package/hooks/Filters/useListFilter.js.map +0 -1
- package/hooks/Filters/useMultiFilter.d.ts +0 -13
- package/hooks/Filters/useMultiFilter.js +0 -50
- package/hooks/Filters/useMultiFilter.js.map +0 -1
- package/hooks/Filters/useRangeFilter.d.ts +0 -10
- package/hooks/Filters/useRangeFilter.js +0 -36
- package/hooks/Filters/useRangeFilter.js.map +0 -1
- package/hooks/Filters/useSortOrder.d.ts +0 -11
- package/hooks/Filters/useSortOrder.js +0 -22
- package/hooks/Filters/useSortOrder.js.map +0 -1
- package/hooks/PackageProducts/index.d.ts +0 -2
- package/hooks/PackageProducts/index.js +0 -3
- package/hooks/PackageProducts/index.js.map +0 -1
- package/hooks/PackageProducts/usePackageProductItem.d.ts +0 -17
- package/hooks/PackageProducts/usePackageProductItem.js +0 -27
- package/hooks/PackageProducts/usePackageProductItem.js.map +0 -1
- package/hooks/PackageProducts/usePackageProducts.d.ts +0 -19
- package/hooks/PackageProducts/usePackageProducts.js +0 -346
- package/hooks/PackageProducts/usePackageProducts.js.map +0 -1
- package/hooks/Product/index.d.ts +0 -1
- package/hooks/Product/index.js +0 -2
- package/hooks/Product/index.js.map +0 -1
- package/hooks/Product/useStockStatus.d.ts +0 -9
- package/hooks/Product/useStockStatus.js +0 -26
- package/hooks/Product/useStockStatus.js.map +0 -1
- package/hooks/Product/useSwitchToVariantImage.d.ts +0 -9
- package/hooks/Product/useSwitchToVariantImage.js +0 -21
- package/hooks/Product/useSwitchToVariantImage.js.map +0 -1
- package/hooks/ProductList/ProductListContext.d.ts +0 -7
- package/hooks/ProductList/ProductListContext.js +0 -111
- package/hooks/ProductList/ProductListContext.js.map +0 -1
- package/hooks/ProductList/action-creators.d.ts +0 -46
- package/hooks/ProductList/action-creators.js +0 -297
- package/hooks/ProductList/action-creators.js.map +0 -1
- package/hooks/ProductList/index.d.ts +0 -118
- package/hooks/ProductList/index.js +0 -22
- package/hooks/ProductList/index.js.map +0 -1
- package/hooks/ProductList/list-transforms.d.ts +0 -75
- package/hooks/ProductList/list-transforms.js +0 -107
- package/hooks/ProductList/list-transforms.js.map +0 -1
- package/hooks/ProductList/product-list-reducer.d.ts +0 -76
- package/hooks/ProductList/product-list-reducer.js +0 -198
- package/hooks/ProductList/product-list-reducer.js.map +0 -1
- package/hooks/ProductList/useProductList.d.ts +0 -13
- package/hooks/ProductList/useProductList.js +0 -94
- package/hooks/ProductList/useProductList.js.map +0 -1
- package/hooks/ProductList/useProductListItems.d.ts +0 -10
- package/hooks/ProductList/useProductListItems.js +0 -49
- package/hooks/ProductList/useProductListItems.js.map +0 -1
- package/hooks/ProductList/validate-product.d.ts +0 -6
- package/hooks/ProductList/validate-product.js +0 -41
- package/hooks/ProductList/validate-product.js.map +0 -1
- package/hooks/Subscriptions/useNewsletterSubscription.d.ts +0 -38
- package/hooks/Subscriptions/useNewsletterSubscription.js +0 -42
- package/hooks/Subscriptions/useNewsletterSubscription.js.map +0 -1
- package/hooks/Subscriptions/useStockNotifications.d.ts +0 -36
- package/hooks/Subscriptions/useStockNotifications.js +0 -38
- package/hooks/Subscriptions/useStockNotifications.js.map +0 -1
- package/hooks/Subscriptions/useStoreSubscriptions.d.ts +0 -48
- package/hooks/Subscriptions/useStoreSubscriptions.js +0 -151
- package/hooks/Subscriptions/useStoreSubscriptions.js.map +0 -1
- package/hooks/useAddMultipleToCart.d.ts +0 -27
- package/hooks/useAddMultipleToCart.js +0 -114
- package/hooks/useAddMultipleToCart.js.map +0 -1
- package/hooks/useChannels.d.ts +0 -1
- package/hooks/useChannels.js +0 -10
- package/hooks/useChannels.js.map +0 -1
- package/hooks/useCustomerOrdersQuery.d.ts +0 -21
- package/hooks/useCustomerOrdersQuery.js +0 -21
- package/hooks/useCustomerOrdersQuery.js.map +0 -1
- package/hooks/useDeleteAccountMutation.d.ts +0 -15
- package/hooks/useDeleteAccountMutation.js +0 -39
- package/hooks/useDeleteAccountMutation.js.map +0 -1
- package/hooks/useDynamicPrice.d.ts +0 -3
- package/hooks/useDynamicPrice.js +0 -25
- package/hooks/useDynamicPrice.js.map +0 -1
- package/hooks/useFreeShippingCheck.d.ts +0 -15
- package/hooks/useFreeShippingCheck.js +0 -31
- package/hooks/useFreeShippingCheck.js.map +0 -1
- package/hooks/useGeolocation.d.ts +0 -11
- package/hooks/useGeolocation.js +0 -34
- package/hooks/useGeolocation.js.map +0 -1
- package/hooks/useInfinitePagination.d.ts +0 -37
- package/hooks/useInfinitePagination.js +0 -139
- package/hooks/useInfinitePagination.js.map +0 -1
- package/hooks/useLogError.d.ts +0 -1
- package/hooks/useLogError.js +0 -8
- package/hooks/useLogError.js.map +0 -1
- package/hooks/useLoginMutation.d.ts +0 -12
- package/hooks/useLoginMutation.js +0 -15
- package/hooks/useLoginMutation.js.map +0 -1
- package/hooks/useLoginRedirect.d.ts +0 -4
- package/hooks/useLoginRedirect.js +0 -37
- package/hooks/useLoginRedirect.js.map +0 -1
- package/hooks/useOrderDetailQuery.d.ts +0 -20
- package/hooks/useOrderDetailQuery.js +0 -29
- package/hooks/useOrderDetailQuery.js.map +0 -1
- package/hooks/usePreconnectLinks.d.ts +0 -10
- package/hooks/usePreconnectLinks.js +0 -30
- package/hooks/usePreconnectLinks.js.map +0 -1
- package/hooks/usePrice.d.ts +0 -41
- package/hooks/usePrice.js +0 -73
- package/hooks/usePrice.js.map +0 -1
- package/hooks/useProductVariants/index.d.ts +0 -1
- package/hooks/useProductVariants/index.js +0 -2
- package/hooks/useProductVariants/index.js.map +0 -1
- package/hooks/useProductVariants/useProductVariants.d.ts +0 -19
- package/hooks/useProductVariants/useProductVariants.js +0 -203
- package/hooks/useProductVariants/useProductVariants.js.map +0 -1
- package/hooks/useProductVariants/useVariantFromUrl.d.ts +0 -5
- package/hooks/useProductVariants/useVariantFromUrl.js +0 -16
- package/hooks/useProductVariants/useVariantFromUrl.js.map +0 -1
- package/hooks/useRoutePreload.d.ts +0 -24
- package/hooks/useRoutePreload.js +0 -40
- package/hooks/useRoutePreload.js.map +0 -1
- package/hooks/useShopConfig.d.ts +0 -1
- package/hooks/useShopConfig.js +0 -11
- package/hooks/useShopConfig.js.map +0 -1
- package/hooks/useThrowErrorInDev.d.ts +0 -1
- package/hooks/useThrowErrorInDev.js +0 -8
- package/hooks/useThrowErrorInDev.js.map +0 -1
- package/hooks/useThunkReducer.d.ts +0 -7
- package/hooks/useThunkReducer.js +0 -24
- package/hooks/useThunkReducer.js.map +0 -1
- package/hooks/useWarningInDev.d.ts +0 -1
- package/hooks/useWarningInDev.js +0 -10
- package/hooks/useWarningInDev.js.map +0 -1
- package/inServer.d.ts +0 -1
- package/inServer.js +0 -3
- package/inServer.js.map +0 -1
- package/index.d.ts +0 -1
- package/index.js +0 -2
- package/index.js.map +0 -1
- package/integrations/addwishSchemaExtension.d.ts +0 -35
- package/integrations/addwishSchemaExtension.js +0 -141
- package/integrations/addwishSchemaExtension.js.map +0 -1
- package/integrations/nostoSchemaExtension.d.ts +0 -5
- package/integrations/nostoSchemaExtension.js +0 -77
- package/integrations/nostoSchemaExtension.js.map +0 -1
- package/integrations/sluggishSchemaExtension.d.ts +0 -2
- package/integrations/sluggishSchemaExtension.js +0 -27
- package/integrations/sluggishSchemaExtension.js.map +0 -1
- package/polyfills.d.ts +0 -1
- package/polyfills.js +0 -38
- package/polyfills.js.map +0 -1
- package/resolvers/filters/boolFilter.d.ts +0 -3
- package/resolvers/filters/boolFilter.js +0 -85
- package/resolvers/filters/boolFilter.js.map +0 -1
- package/resolvers/filters/defaultActiveFilters.d.ts +0 -3
- package/resolvers/filters/defaultActiveFilters.js +0 -9
- package/resolvers/filters/defaultActiveFilters.js.map +0 -1
- package/resolvers/filters/filterParams.d.ts +0 -3
- package/resolvers/filters/filterParams.js +0 -85
- package/resolvers/filters/filterParams.js.map +0 -1
- package/resolvers/filters/filters.d.ts +0 -5
- package/resolvers/filters/filters.js +0 -79
- package/resolvers/filters/filters.js.map +0 -1
- package/resolvers/filters/index.d.ts +0 -27
- package/resolvers/filters/index.js +0 -8
- package/resolvers/filters/index.js.map +0 -1
- package/resolvers/filters/listFilter.d.ts +0 -7
- package/resolvers/filters/listFilter.js +0 -74
- package/resolvers/filters/listFilter.js.map +0 -1
- package/resolvers/filters/listFilterItem.d.ts +0 -3
- package/resolvers/filters/listFilterItem.js +0 -123
- package/resolvers/filters/listFilterItem.js.map +0 -1
- package/resolvers/filters/multiListFilter.d.ts +0 -5
- package/resolvers/filters/multiListFilter.js +0 -196
- package/resolvers/filters/multiListFilter.js.map +0 -1
- package/resolvers/filters/multiListFilterList.d.ts +0 -3
- package/resolvers/filters/multiListFilterList.js +0 -56
- package/resolvers/filters/multiListFilterList.js.map +0 -1
- package/resolvers/filters/rangeFilter.d.ts +0 -5
- package/resolvers/filters/rangeFilter.js +0 -138
- package/resolvers/filters/rangeFilter.js.map +0 -1
- package/resolvers/filters/updateQueryString.d.ts +0 -12
- package/resolvers/filters/updateQueryString.js +0 -117
- package/resolvers/filters/updateQueryString.js.map +0 -1
- package/resolvers/index.d.ts +0 -37
- package/resolvers/index.js +0 -38
- package/resolvers/index.js.map +0 -1
- package/sentry/client.d.ts +0 -1
- package/sentry/client.js +0 -30
- package/sentry/client.js.map +0 -1
- package/sentry/common.d.ts +0 -1
- package/sentry/common.js +0 -5
- package/sentry/common.js.map +0 -1
- package/sentry/server.d.ts +0 -1
- package/sentry/server.js +0 -20
- package/sentry/server.js.map +0 -1
- package/sentry/utils.d.ts +0 -1
- package/sentry/utils.js +0 -2
- package/sentry/utils.js.map +0 -1
- package/server/graphql.d.ts +0 -20
- package/server/graphql.js +0 -119
- package/server/graphql.js.map +0 -1
- package/server/index.d.ts +0 -2
- package/server/index.js +0 -3
- package/server/index.js.map +0 -1
- package/server/tracking/facebook.d.ts +0 -5
- package/server/tracking/facebook.js +0 -148
- package/server/tracking/facebook.js.map +0 -1
- package/server/tracking/middleware.d.ts +0 -8
- package/server/tracking/middleware.js +0 -15
- package/server/tracking/middleware.js.map +0 -1
- package/time.d.ts +0 -1
- package/time.js +0 -6
- package/time.js.map +0 -1
package/global.d.ts
CHANGED
@@ -1,2 +1,26 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import * as ReactRouter from 'react-router';
|
2
|
+
import * as History from 'history';
|
3
|
+
declare let __IN_SERVER__: boolean;
|
4
|
+
|
5
|
+
declare module 'format-message-generate-id';
|
6
|
+
|
7
|
+
declare global {
|
8
|
+
let __IN_SERVER__: boolean;
|
9
|
+
}
|
10
|
+
|
11
|
+
declare module 'history' {
|
12
|
+
export type Location = {
|
13
|
+
state?: {
|
14
|
+
type: any;
|
15
|
+
list: any;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
}
|
19
|
+
declare module 'react-router' {
|
20
|
+
export namespace History {
|
21
|
+
export type LocationState = {
|
22
|
+
list: any;
|
23
|
+
type: any;
|
24
|
+
};
|
25
|
+
}
|
26
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jetshop/core",
|
3
|
-
"version": "5.16.
|
3
|
+
"version": "5.16.2-build-tools.77+539ee0513",
|
4
4
|
"license": "MIT",
|
5
5
|
"files": [
|
6
6
|
"**/*.js",
|
@@ -124,7 +124,7 @@
|
|
124
124
|
"@types/request-ip": "^0.0.36",
|
125
125
|
"@types/uuid": "^8.3.0",
|
126
126
|
"apollo-link-mock": "^1.0.1",
|
127
|
-
"chalk": "^
|
127
|
+
"chalk": "^4.1.2",
|
128
128
|
"jest-dom": "^3.4.0",
|
129
129
|
"lint-staged": "^8.1.5",
|
130
130
|
"nock": "^10.0.6",
|
@@ -133,5 +133,6 @@
|
|
133
133
|
"peerDependencies": {
|
134
134
|
"react": "^16.9.0",
|
135
135
|
"react-dom": "^16.9.0"
|
136
|
-
}
|
136
|
+
},
|
137
|
+
"gitHead": "539ee0513eef9ea7e80af0976d65ae3d462790b9"
|
137
138
|
}
|
package/types.d.ts
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
export type Maybe<T> = T | null;
|
2
|
-
export type Exact<T extends { [key: string]: unknown }> = {
|
3
|
-
|
4
|
-
|
2
|
+
export type Exact<T extends { [key: string]: unknown }> = {
|
3
|
+
[K in keyof T]: T[K];
|
4
|
+
};
|
5
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
6
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
7
|
+
};
|
8
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
9
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
10
|
+
};
|
5
11
|
/** All built-in and custom scalars, mapped to their actual values */
|
6
12
|
export type Scalars = {
|
7
13
|
ID: string;
|
@@ -17,7 +23,6 @@ export type Scalars = {
|
|
17
23
|
Paging: any;
|
18
24
|
};
|
19
25
|
|
20
|
-
|
21
26
|
export type ActivateExternalCustomerByIdInput = {
|
22
27
|
externalCustomerId: Scalars['String'];
|
23
28
|
};
|
@@ -133,7 +138,6 @@ export type BusinessCustomer = Customer & {
|
|
133
138
|
googleUserId?: Maybe<Scalars['String']>;
|
134
139
|
};
|
135
140
|
|
136
|
-
|
137
141
|
export type BusinessCustomerOrderHeadersArgs = {
|
138
142
|
first?: Maybe<Scalars['Int']>;
|
139
143
|
offset?: Maybe<Scalars['Int']>;
|
@@ -249,7 +253,6 @@ export type Category = Document & {
|
|
249
253
|
allowWebIndexing?: Maybe<Scalars['Boolean']>;
|
250
254
|
};
|
251
255
|
|
252
|
-
|
253
256
|
export type CategoryProductsArgs = {
|
254
257
|
first?: Maybe<Scalars['Paging']>;
|
255
258
|
offset?: Maybe<Scalars['Int']>;
|
@@ -275,7 +278,10 @@ export type CategoryDynamicFilter = {
|
|
275
278
|
value?: Maybe<CategoryDynamicFilterValue>;
|
276
279
|
};
|
277
280
|
|
278
|
-
export type CategoryDynamicFilterValue =
|
281
|
+
export type CategoryDynamicFilterValue =
|
282
|
+
| StringValue
|
283
|
+
| ListStringValue
|
284
|
+
| BoolValue;
|
279
285
|
|
280
286
|
export type CategoryImage = {
|
281
287
|
__typename?: 'CategoryImage';
|
@@ -354,7 +360,6 @@ export type ContentItem = {
|
|
354
360
|
children?: Maybe<Array<Maybe<ContentItem>>>;
|
355
361
|
};
|
356
362
|
|
357
|
-
|
358
363
|
export type ContentItemPropertiesArgs = {
|
359
364
|
getImageAsImageValue?: Maybe<Scalars['Boolean']>;
|
360
365
|
};
|
@@ -367,7 +372,12 @@ export type ContentItemProperty = {
|
|
367
372
|
value?: Maybe<ContentItemPropertyValue>;
|
368
373
|
};
|
369
374
|
|
370
|
-
export type ContentItemPropertyValue =
|
375
|
+
export type ContentItemPropertyValue =
|
376
|
+
| StringValue
|
377
|
+
| ImageValue
|
378
|
+
| BoolValue
|
379
|
+
| Product
|
380
|
+
| Category;
|
371
381
|
|
372
382
|
export enum ContentPropertyValueType {
|
373
383
|
Object = 'OBJECT',
|
@@ -466,7 +476,6 @@ export type Customer = {
|
|
466
476
|
googleUserId?: Maybe<Scalars['String']>;
|
467
477
|
};
|
468
478
|
|
469
|
-
|
470
479
|
export type CustomerOrderHeadersArgs = {
|
471
480
|
first?: Maybe<Scalars['Int']>;
|
472
481
|
offset?: Maybe<Scalars['Int']>;
|
@@ -523,7 +532,6 @@ export type CustomerLoyalty = {
|
|
523
532
|
bonusPoints?: Maybe<CustomerLoyaltyBonusPoints>;
|
524
533
|
};
|
525
534
|
|
526
|
-
|
527
535
|
export type CustomerLoyaltyDiscountsArgs = {
|
528
536
|
includeRedeemed?: Scalars['Boolean'];
|
529
537
|
};
|
@@ -756,8 +764,6 @@ export type CustomStringField = CustomField & {
|
|
756
764
|
title?: Maybe<Scalars['String']>;
|
757
765
|
};
|
758
766
|
|
759
|
-
|
760
|
-
|
761
767
|
export type DeleteCustomerProductListResult = {
|
762
768
|
__typename?: 'DeleteCustomerProductListResult';
|
763
769
|
success?: Maybe<Scalars['Boolean']>;
|
@@ -1211,65 +1217,53 @@ export type Mutation = {
|
|
1211
1217
|
clearMultiListFilterList?: Maybe<MultiListFilter>;
|
1212
1218
|
};
|
1213
1219
|
|
1214
|
-
|
1215
1220
|
export type MutationSubscribeToStockNotificationsArgs = {
|
1216
1221
|
email: Scalars['String'];
|
1217
1222
|
articleNumber: Scalars['String'];
|
1218
1223
|
};
|
1219
1224
|
|
1220
|
-
|
1221
1225
|
export type MutationSubscribeToNewsletterArgs = {
|
1222
1226
|
email: Scalars['String'];
|
1223
1227
|
};
|
1224
1228
|
|
1225
|
-
|
1226
1229
|
export type MutationAddToCustomerProductListArgs = {
|
1227
1230
|
id?: Maybe<Scalars['ID']>;
|
1228
1231
|
items: Array<AddToCustomerProductListInput>;
|
1229
1232
|
};
|
1230
1233
|
|
1231
|
-
|
1232
1234
|
export type MutationCreateCustomerProductListArgs = {
|
1233
1235
|
input: CreateCustomerProductListInput;
|
1234
1236
|
};
|
1235
1237
|
|
1236
|
-
|
1237
1238
|
export type MutationDeleteCustomerProductListArgs = {
|
1238
1239
|
id: Scalars['ID'];
|
1239
1240
|
};
|
1240
1241
|
|
1241
|
-
|
1242
1242
|
export type MutationRemoveFromCustomerProductListArgs = {
|
1243
1243
|
id?: Maybe<Scalars['ID']>;
|
1244
1244
|
articleNumbers?: Maybe<Array<Scalars['String']>>;
|
1245
1245
|
};
|
1246
1246
|
|
1247
|
-
|
1248
1247
|
export type MutationUpdateCustomerProductListItemArgs = {
|
1249
1248
|
input: UpdateCustomerProductListItemInput;
|
1250
1249
|
};
|
1251
1250
|
|
1252
|
-
|
1253
1251
|
export type MutationUpdateCustomerProductListArgs = {
|
1254
1252
|
input: UpdateCustomerProductListInput;
|
1255
1253
|
};
|
1256
1254
|
|
1257
|
-
|
1258
1255
|
export type MutationActivateExternalCustomerByIdArgs = {
|
1259
1256
|
input?: Maybe<ActivateExternalCustomerByIdInput>;
|
1260
1257
|
};
|
1261
1258
|
|
1262
|
-
|
1263
1259
|
export type MutationActivateExternalCustomerByTokenArgs = {
|
1264
1260
|
input?: Maybe<ActivateExternalCustomerByTokenInput>;
|
1265
1261
|
};
|
1266
1262
|
|
1267
|
-
|
1268
1263
|
export type MutationLoginExternalCustomerArgs = {
|
1269
1264
|
input?: Maybe<LoginExternalCustomerInput>;
|
1270
1265
|
};
|
1271
1266
|
|
1272
|
-
|
1273
1267
|
export type MutationLoginArgs = {
|
1274
1268
|
password?: Maybe<Scalars['String']>;
|
1275
1269
|
email?: Maybe<Scalars['String']>;
|
@@ -1281,132 +1275,108 @@ export type MutationLoginArgs = {
|
|
1281
1275
|
customerId?: Maybe<Scalars['Int']>;
|
1282
1276
|
};
|
1283
1277
|
|
1284
|
-
|
1285
1278
|
export type MutationRequestPasswordResetArgs = {
|
1286
1279
|
email: Scalars['String'];
|
1287
1280
|
};
|
1288
1281
|
|
1289
|
-
|
1290
1282
|
export type MutationResetPasswordArgs = {
|
1291
1283
|
resetPasswordToken: Scalars['String'];
|
1292
1284
|
newPassword: Scalars['String'];
|
1293
1285
|
};
|
1294
1286
|
|
1295
|
-
|
1296
1287
|
export type MutationSignUpArgs = {
|
1297
1288
|
input: SignUpInput;
|
1298
1289
|
};
|
1299
1290
|
|
1300
|
-
|
1301
1291
|
export type MutationUpdateCustomerGroupArgs = {
|
1302
1292
|
customerGroupAccessCode: Scalars['String'];
|
1303
1293
|
};
|
1304
1294
|
|
1305
|
-
|
1306
1295
|
export type MutationUpdateCustomerArgs = {
|
1307
1296
|
input: CustomerUpdateInput;
|
1308
1297
|
};
|
1309
1298
|
|
1310
|
-
|
1311
1299
|
export type MutationUpdateCustomerPriceListArgs = {
|
1312
1300
|
priceListAccessCode: Scalars['String'];
|
1313
1301
|
};
|
1314
1302
|
|
1315
|
-
|
1316
1303
|
export type MutationUpdatePasswordArgs = {
|
1317
1304
|
oldPassword: Scalars['String'];
|
1318
1305
|
newPassword: Scalars['String'];
|
1319
1306
|
};
|
1320
1307
|
|
1321
|
-
|
1322
1308
|
export type MutationAddMultipleToCartArgs = {
|
1323
1309
|
cartId?: Maybe<Scalars['String']>;
|
1324
1310
|
items: Array<Maybe<AddMultipleToCartInput>>;
|
1325
1311
|
};
|
1326
1312
|
|
1327
|
-
|
1328
1313
|
export type MutationAddToCartArgs = {
|
1329
1314
|
input: AddToCartInput;
|
1330
1315
|
};
|
1331
1316
|
|
1332
|
-
|
1333
1317
|
export type MutationDecrementItemQuantityArgs = {
|
1334
1318
|
input: ChangeByOneItemQuantityInput;
|
1335
1319
|
};
|
1336
1320
|
|
1337
|
-
|
1338
1321
|
export type MutationSetItemQuantityArgs = {
|
1339
1322
|
input: SetItemQuantityInput;
|
1340
1323
|
};
|
1341
1324
|
|
1342
|
-
|
1343
1325
|
export type MutationIncrementItemQuantityArgs = {
|
1344
1326
|
input: ChangeByOneItemQuantityInput;
|
1345
1327
|
};
|
1346
1328
|
|
1347
|
-
|
1348
1329
|
export type MutationRemoveFromCartArgs = {
|
1349
1330
|
input: RemoveFromCartInput;
|
1350
1331
|
};
|
1351
1332
|
|
1352
|
-
|
1353
1333
|
export type MutationRemoveMultipleFromCartArgs = {
|
1354
1334
|
input: RemoveMultipleFromCartInput;
|
1355
1335
|
};
|
1356
1336
|
|
1357
|
-
|
1358
1337
|
export type MutationUpdateCartArgs = {
|
1359
1338
|
input: UpdateCartInput;
|
1360
1339
|
};
|
1361
1340
|
|
1362
|
-
|
1363
1341
|
export type MutationToggleListFilterItemArgs = {
|
1364
1342
|
value: Scalars['String'];
|
1365
1343
|
parentId: Scalars['String'];
|
1366
1344
|
set?: Maybe<Scalars['Boolean']>;
|
1367
1345
|
};
|
1368
1346
|
|
1369
|
-
|
1370
1347
|
export type MutationClearListFilterArgs = {
|
1371
1348
|
id: Scalars['String'];
|
1372
1349
|
};
|
1373
1350
|
|
1374
|
-
|
1375
1351
|
export type MutationSetBoolFilterArgs = {
|
1376
1352
|
value: Scalars['Boolean'];
|
1377
1353
|
id: Scalars['String'];
|
1378
1354
|
};
|
1379
1355
|
|
1380
|
-
|
1381
1356
|
export type MutationSetRangeFilterArgs = {
|
1382
1357
|
value: Array<Scalars['Decimal']>;
|
1383
1358
|
id: Scalars['String'];
|
1384
1359
|
};
|
1385
1360
|
|
1386
|
-
|
1387
1361
|
export type MutationClearRangeFilterArgs = {
|
1388
1362
|
id: Scalars['String'];
|
1389
1363
|
};
|
1390
1364
|
|
1391
|
-
|
1392
1365
|
export type MutationToggleMultiListFilterItemArgs = {
|
1393
1366
|
value: Scalars['String'];
|
1394
1367
|
listIndex: Scalars['Int'];
|
1395
1368
|
filter: MultiListFilter;
|
1396
1369
|
};
|
1397
1370
|
|
1398
|
-
|
1399
1371
|
export type MutationSetMultiListFilterArgs = {
|
1400
1372
|
values?: Maybe<Array<Scalars['String']>>;
|
1401
1373
|
id: Scalars['String'];
|
1402
1374
|
};
|
1403
1375
|
|
1404
|
-
|
1405
1376
|
export type MutationClearMultiListFilterArgs = {
|
1406
1377
|
id: Scalars['String'];
|
1407
1378
|
};
|
1408
1379
|
|
1409
|
-
|
1410
1380
|
export type MutationClearMultiListFilterListArgs = {
|
1411
1381
|
listIndex: Scalars['Int'];
|
1412
1382
|
filter: MultiListFilter;
|
@@ -1446,7 +1416,6 @@ export type Order = {
|
|
1446
1416
|
orderPurchaseLocation?: Maybe<Scalars['String']>;
|
1447
1417
|
};
|
1448
1418
|
|
1449
|
-
|
1450
1419
|
export type OrderItemsArgs = {
|
1451
1420
|
first?: Maybe<Scalars['Int']>;
|
1452
1421
|
offset?: Maybe<Scalars['Int']>;
|
@@ -1653,7 +1622,6 @@ export type Page = Document & {
|
|
1653
1622
|
allowWebIndexing?: Maybe<Scalars['Boolean']>;
|
1654
1623
|
};
|
1655
1624
|
|
1656
|
-
|
1657
1625
|
export type PageSubPagesArgs = {
|
1658
1626
|
includeHidden?: Maybe<Scalars['Boolean']>;
|
1659
1627
|
};
|
@@ -1668,12 +1636,10 @@ export type PagedResult = {
|
|
1668
1636
|
result: Array<Maybe<Product>>;
|
1669
1637
|
};
|
1670
1638
|
|
1671
|
-
|
1672
1639
|
export type PagedResultFiltersArgs = {
|
1673
1640
|
ids?: Maybe<Array<Maybe<Scalars['String']>>>;
|
1674
1641
|
};
|
1675
1642
|
|
1676
|
-
|
1677
1643
|
export type PagingInput = {
|
1678
1644
|
first?: Maybe<Scalars['Paging']>;
|
1679
1645
|
offset?: Maybe<Scalars['Int']>;
|
@@ -1737,7 +1703,6 @@ export type PrivateCustomer = Customer & {
|
|
1737
1703
|
googleUserId?: Maybe<Scalars['String']>;
|
1738
1704
|
};
|
1739
1705
|
|
1740
|
-
|
1741
1706
|
export type PrivateCustomerOrderHeadersArgs = {
|
1742
1707
|
first?: Maybe<Scalars['Int']>;
|
1743
1708
|
offset?: Maybe<Scalars['Int']>;
|
@@ -1876,33 +1841,27 @@ export type Product = Document & {
|
|
1876
1841
|
history?: Maybe<ProductHistory>;
|
1877
1842
|
};
|
1878
1843
|
|
1879
|
-
|
1880
1844
|
export type ProductCategoriesArgs = {
|
1881
1845
|
includeHidden?: Maybe<Scalars['Boolean']>;
|
1882
1846
|
};
|
1883
1847
|
|
1884
|
-
|
1885
1848
|
export type ProductImagesArgs = {
|
1886
1849
|
includeVariantImages?: Maybe<Scalars['Boolean']>;
|
1887
1850
|
limit?: Maybe<Scalars['Int']>;
|
1888
1851
|
};
|
1889
1852
|
|
1890
|
-
|
1891
1853
|
export type ProductWarehouseStockArgs = {
|
1892
1854
|
includeInactive?: Maybe<Scalars['Boolean']>;
|
1893
1855
|
};
|
1894
1856
|
|
1895
|
-
|
1896
1857
|
export type ProductConfigurationPriceArgs = {
|
1897
1858
|
options?: Maybe<Array<ProductConfigurationPriceInput>>;
|
1898
1859
|
};
|
1899
1860
|
|
1900
|
-
|
1901
1861
|
export type ProductPackageArgs = {
|
1902
1862
|
articleNumbers?: Maybe<Array<Maybe<PackagePriceInput>>>;
|
1903
1863
|
};
|
1904
1864
|
|
1905
|
-
|
1906
1865
|
export type ProductHistoryArgs = {
|
1907
1866
|
days?: Maybe<Scalars['Int']>;
|
1908
1867
|
};
|
@@ -2102,12 +2061,10 @@ export type ProductVariant = {
|
|
2102
2061
|
history?: Maybe<ProductVariantHistory>;
|
2103
2062
|
};
|
2104
2063
|
|
2105
|
-
|
2106
2064
|
export type ProductVariantWarehouseStockArgs = {
|
2107
2065
|
includeInactive?: Maybe<Scalars['Boolean']>;
|
2108
2066
|
};
|
2109
2067
|
|
2110
|
-
|
2111
2068
|
export type ProductVariantHistoryArgs = {
|
2112
2069
|
days?: Maybe<Scalars['Int']>;
|
2113
2070
|
};
|
@@ -2182,106 +2139,87 @@ export type Query = {
|
|
2182
2139
|
cart?: Maybe<Cart>;
|
2183
2140
|
};
|
2184
2141
|
|
2185
|
-
|
2186
2142
|
export type QueryStoreArgs = {
|
2187
2143
|
id: Scalars['Int'];
|
2188
2144
|
};
|
2189
2145
|
|
2190
|
-
|
2191
2146
|
export type QueryStoresArgs = {
|
2192
2147
|
includeInactive?: Scalars['Boolean'];
|
2193
2148
|
};
|
2194
2149
|
|
2195
|
-
|
2196
2150
|
export type QueryStartPageArgs = {
|
2197
2151
|
id?: Maybe<Scalars['Int']>;
|
2198
2152
|
};
|
2199
2153
|
|
2200
|
-
|
2201
2154
|
export type QuerySearchAutoCompleteArgs = {
|
2202
2155
|
term: Scalars['String'];
|
2203
2156
|
};
|
2204
2157
|
|
2205
|
-
|
2206
2158
|
export type QuerySearchArgs = {
|
2207
2159
|
term: Scalars['String'];
|
2208
2160
|
};
|
2209
2161
|
|
2210
|
-
|
2211
2162
|
export type QueryRouteArgs = {
|
2212
2163
|
path: Scalars['String'];
|
2213
2164
|
};
|
2214
2165
|
|
2215
|
-
|
2216
2166
|
export type QueryProductArgs = {
|
2217
2167
|
articleNumber?: Maybe<Scalars['String']>;
|
2218
2168
|
id?: Maybe<Scalars['Int']>;
|
2219
2169
|
barcode?: Maybe<Scalars['String']>;
|
2220
2170
|
};
|
2221
2171
|
|
2222
|
-
|
2223
2172
|
export type QueryProductsArgs = {
|
2224
2173
|
articleNumbers?: Maybe<Array<Maybe<Scalars['String']>>>;
|
2225
2174
|
ids?: Maybe<Array<Maybe<Scalars['Int']>>>;
|
2226
2175
|
barcodes?: Maybe<Array<Maybe<Scalars['String']>>>;
|
2227
2176
|
};
|
2228
2177
|
|
2229
|
-
|
2230
2178
|
export type QueryPageArgs = {
|
2231
2179
|
id: Scalars['Int'];
|
2232
2180
|
};
|
2233
2181
|
|
2234
|
-
|
2235
2182
|
export type QueryOrderArgs = {
|
2236
2183
|
id?: Maybe<Scalars['Int']>;
|
2237
2184
|
orderId?: Maybe<Scalars['ID']>;
|
2238
2185
|
};
|
2239
2186
|
|
2240
|
-
|
2241
2187
|
export type QueryCustomerProductListArgs = {
|
2242
2188
|
id?: Maybe<Scalars['ID']>;
|
2243
2189
|
shareToken?: Maybe<Scalars['String']>;
|
2244
2190
|
};
|
2245
2191
|
|
2246
|
-
|
2247
2192
|
export type QueryCustomerLookupArgs = {
|
2248
2193
|
phoneNumber?: Maybe<Scalars['String']>;
|
2249
2194
|
};
|
2250
2195
|
|
2251
|
-
|
2252
2196
|
export type QueryExternalCustomerLookupArgs = {
|
2253
2197
|
key?: Maybe<Scalars['String']>;
|
2254
2198
|
};
|
2255
2199
|
|
2256
|
-
|
2257
2200
|
export type QueryPersonLookupArgs = {
|
2258
2201
|
key: Scalars['String'];
|
2259
2202
|
};
|
2260
2203
|
|
2261
|
-
|
2262
2204
|
export type QueryContentArgs = {
|
2263
2205
|
ids?: Maybe<Array<Maybe<Scalars['String']>>>;
|
2264
2206
|
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
2265
2207
|
};
|
2266
2208
|
|
2267
|
-
|
2268
2209
|
export type QueryChannelArgs = {
|
2269
2210
|
id?: Maybe<Scalars['String']>;
|
2270
2211
|
};
|
2271
2212
|
|
2272
|
-
|
2273
2213
|
export type QueryCategoriesArgs = {
|
2274
2214
|
root?: Maybe<Scalars['Int']>;
|
2275
2215
|
levels?: Maybe<Scalars['Int']>;
|
2276
2216
|
includeHidden?: Maybe<Scalars['Boolean']>;
|
2277
2217
|
};
|
2278
2218
|
|
2279
|
-
|
2280
2219
|
export type QueryCategoryArgs = {
|
2281
2220
|
id: Scalars['ID'];
|
2282
2221
|
};
|
2283
2222
|
|
2284
|
-
|
2285
2223
|
export type QueryCartArgs = {
|
2286
2224
|
id?: Maybe<Scalars['String']>;
|
2287
2225
|
};
|
@@ -2302,17 +2240,14 @@ export type RecommendedProducts = {
|
|
2302
2240
|
shuffledToplist?: Maybe<Array<Maybe<Product>>>;
|
2303
2241
|
};
|
2304
2242
|
|
2305
|
-
|
2306
2243
|
export type RecommendedProductsBoughtArgs = {
|
2307
2244
|
count?: Maybe<Scalars['Int']>;
|
2308
2245
|
};
|
2309
2246
|
|
2310
|
-
|
2311
2247
|
export type RecommendedProductsViewedArgs = {
|
2312
2248
|
count?: Maybe<Scalars['Int']>;
|
2313
2249
|
};
|
2314
2250
|
|
2315
|
-
|
2316
2251
|
export type RecommendedProductsShuffledToplistArgs = {
|
2317
2252
|
count?: Maybe<Scalars['Int']>;
|
2318
2253
|
};
|
@@ -2376,7 +2311,6 @@ export type SearchAutoCompleteResult = {
|
|
2376
2311
|
categories?: Maybe<CategoryAutoCompleteResult>;
|
2377
2312
|
};
|
2378
2313
|
|
2379
|
-
|
2380
2314
|
export type SearchAutoCompleteResultCategoriesArgs = {
|
2381
2315
|
first?: Maybe<Scalars['Paging']>;
|
2382
2316
|
};
|
@@ -2388,13 +2322,11 @@ export type SearchResult = {
|
|
2388
2322
|
categories?: Maybe<CategorySearchResult>;
|
2389
2323
|
};
|
2390
2324
|
|
2391
|
-
|
2392
2325
|
export type SearchResultProductsArgs = {
|
2393
2326
|
paging?: Maybe<PagingInput>;
|
2394
2327
|
filters?: Maybe<FilterInput>;
|
2395
2328
|
};
|
2396
2329
|
|
2397
|
-
|
2398
2330
|
export type SearchResultCategoriesArgs = {
|
2399
2331
|
paging?: Maybe<PagingInput>;
|
2400
2332
|
};
|
@@ -2682,7 +2614,6 @@ export type UpsellItem = {
|
|
2682
2614
|
discount: UpsellDiscount;
|
2683
2615
|
};
|
2684
2616
|
|
2685
|
-
|
2686
2617
|
export type Warehouse = {
|
2687
2618
|
__typename?: 'Warehouse';
|
2688
2619
|
stockLevel?: Maybe<Scalars['Int']>;
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import { SelectedChannel } from '@jetshop/core/components/ChannelContext/ChannelContext';
|
2
|
-
import { Channel } from '@jetshop/core/types';
|
3
|
-
import { RendererOptions } from '@jetshop/core/boot/server/createRenderer';
|
4
|
-
import { BootOptions, Routes } from '@jetshop/core/components/ConfigProvider';
|
5
|
-
import type { GetPrimaryRoutePath } from './redirectUtils';
|
6
|
-
export declare class ChannelHandler {
|
7
|
-
selectedChannel?: SelectedChannel;
|
8
|
-
recommendedChannel?: SelectedChannel;
|
9
|
-
channels?: Channel[];
|
10
|
-
getPrimaryRoutePath?: GetPrimaryRoutePath;
|
11
|
-
selectedChannelGroup?: Channel[] | undefined;
|
12
|
-
constructor(args?: {
|
13
|
-
selectedChannel?: SelectedChannel;
|
14
|
-
recommendedChannel?: SelectedChannel;
|
15
|
-
channels?: Channel[];
|
16
|
-
getPrimaryRoutePath?: GetPrimaryRoutePath;
|
17
|
-
selectedChannelGroup?: Channel[] | undefined;
|
18
|
-
});
|
19
|
-
setGetPrimaryRoutePath: (getPrimaryRoutePath: GetPrimaryRoutePath) => GetPrimaryRoutePath;
|
20
|
-
getSelectedChannel: () => SelectedChannel;
|
21
|
-
setSelectedChannel: (selectedChannel: SelectedChannel) => void;
|
22
|
-
setRecommendedChannel: (recommendedChannel: SelectedChannel) => void;
|
23
|
-
getRecommendedChannel: () => SelectedChannel;
|
24
|
-
setChannels: (channels: Channel[]) => void;
|
25
|
-
setChannelGroup: (channels: Channel[]) => void;
|
26
|
-
getChannels: () => Channel[];
|
27
|
-
getChannelHeaders: () => {
|
28
|
-
currency: string;
|
29
|
-
channelid: number;
|
30
|
-
culture: string;
|
31
|
-
country: string;
|
32
|
-
name: string;
|
33
|
-
} | {
|
34
|
-
currency?: undefined;
|
35
|
-
channelid?: undefined;
|
36
|
-
culture?: undefined;
|
37
|
-
country?: undefined;
|
38
|
-
name?: undefined;
|
39
|
-
};
|
40
|
-
getChannelBasename: () => string;
|
41
|
-
private getPreservedRedirect;
|
42
|
-
getRedirectUrl: ({ newChannel, preserveRedirect, url, routes }: {
|
43
|
-
newChannel: SelectedChannel;
|
44
|
-
preserveRedirect?: boolean;
|
45
|
-
url: string;
|
46
|
-
routes?: Routes;
|
47
|
-
}) => Promise<string>;
|
48
|
-
updateChannel: ({ config, ...args }: {
|
49
|
-
newChannel: SelectedChannel;
|
50
|
-
config: BootOptions | RendererOptions;
|
51
|
-
}) => void;
|
52
|
-
private getPathWithoutBasename;
|
53
|
-
}
|