@lookiero/checkout 0.3.6 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +116 -0
- package/dist/src/ExpoRoot.d.ts +5 -0
- package/dist/src/ExpoRoot.js +94 -0
- package/dist/{index.d.ts → src/index.d.ts} +1 -1
- package/dist/{index.js → src/index.js} +6 -3
- package/dist/{infrastructure → src/infrastructure}/delivery/bootstrap.d.ts +1 -1
- package/dist/{infrastructure → src/infrastructure}/delivery/bootstrap.js +3 -3
- package/dist/{infrastructure → src/infrastructure}/delivery/http/fetchHttpClient.d.ts +1 -1
- package/dist/src/infrastructure/delivery/http/fetchHttpClient.js +20 -0
- package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.d.ts +2 -2
- package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.js +7 -3
- package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.d.ts +1 -1
- package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js +2 -2
- package/dist/{infrastructure → src/infrastructure}/ui/Root.d.ts +3 -0
- package/dist/{infrastructure → src/infrastructure}/ui/Root.js +3 -2
- package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.js +2 -2
- package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +3 -3
- package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.d.ts +8 -1
- package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.js +7 -0
- package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutMiddleware.js +5 -1
- package/dist/{infrastructure → src/infrastructure}/ui/routing/Routing.d.ts +3 -2
- package/dist/{infrastructure → src/infrastructure}/ui/routing/Routing.js +8 -2
- package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.d.ts +3 -1
- package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.js +2 -0
- package/dist/{infrastructure → src/infrastructure}/ui/views/App.js +2 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.js +78 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.style.d.ts +22 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.style.js +25 -0
- package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.js +25 -0
- package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.style.js +19 -0
- package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.d.ts +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.js +2 -2
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +1 -1
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +16 -0
- package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.js +1 -1
- package/dist/src/shared/notifications/domain/notification/command/createNotification.d.ts +17 -0
- package/dist/src/shared/notifications/domain/notification/command/createNotification.js +7 -0
- package/dist/src/shared/notifications/domain/notification/command/removeNotification.d.ts +13 -0
- package/dist/src/shared/notifications/domain/notification/command/removeNotification.js +4 -0
- package/dist/src/shared/notifications/domain/notification/command/removeNotification.tes.d.ts +1 -0
- package/dist/src/shared/notifications/domain/notification/command/removeNotification.tes.js +9 -0
- package/dist/src/shared/notifications/domain/notification/model/notification.d.ts +18 -0
- package/dist/src/shared/notifications/domain/notification/model/notification.js +27 -0
- package/dist/src/shared/notifications/domain/notification/model/notificationCreated.d.ts +13 -0
- package/dist/src/shared/notifications/domain/notification/model/notificationCreated.js +4 -0
- package/dist/src/shared/notifications/domain/notification/model/notificationRemoved.d.ts +13 -0
- package/dist/src/shared/notifications/domain/notification/model/notificationRemoved.js +4 -0
- package/dist/src/shared/notifications/domain/notification/model/notifications.d.ts +7 -0
- package/dist/src/shared/notifications/domain/notification/model/notifications.js +1 -0
- package/dist/src/shared/notifications/index.d.ts +8 -0
- package/dist/src/shared/notifications/index.js +5 -0
- package/dist/src/shared/notifications/infrastructure/delivery/bootstrap.d.ts +13 -0
- package/dist/src/shared/notifications/infrastructure/delivery/bootstrap.js +14 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotifications.d.ts +18 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotifications.js +23 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.d.ts +8 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.js +16 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.d.ts +5 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.js +10 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.d.ts +16 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.js +16 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.d.ts +12 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.js +10 -0
- package/dist/src/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.d.ts +7 -0
- package/dist/src/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.js +13 -0
- package/dist/src/shared/notifications/infrastructure/persistence/notificationDto.d.ts +8 -0
- package/dist/src/shared/notifications/infrastructure/persistence/notificationDto.js +1 -0
- package/dist/src/shared/notifications/infrastructure/persistence/storage.d.ts +7 -0
- package/dist/src/shared/notifications/infrastructure/persistence/storage.js +1 -0
- package/dist/src/shared/notifications/infrastructure/projection/notification/notification.d.ts +7 -0
- package/dist/src/shared/notifications/infrastructure/projection/notification/notification.js +7 -0
- package/dist/src/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.d.ts +13 -0
- package/dist/src/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.js +6 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/NotificationItem.d.ts +12 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/NotificationItem.js +24 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.d.ts +9 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.js +13 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.style.d.ts +25 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.style.js +28 -0
- package/dist/src/shared/notifications/infrastructure/ui/notificationsRoot.d.ts +13 -0
- package/dist/src/shared/notifications/infrastructure/ui/notificationsRoot.js +11 -0
- package/dist/src/shared/notifications/infrastructure/ui/views/Notifications.d.ts +3 -0
- package/dist/src/shared/notifications/infrastructure/ui/views/Notifications.js +11 -0
- package/dist/src/shared/notifications/projection/notification/listNotifications.d.ts +19 -0
- package/dist/src/shared/notifications/projection/notification/listNotifications.js +5 -0
- package/dist/src/shared/notifications/projection/notification/notification.d.ts +8 -0
- package/dist/src/shared/notifications/projection/notification/notification.js +1 -0
- package/dist/src/shared/notifications/projection/notification/react/useListNotifications.d.ts +7 -0
- package/dist/src/shared/notifications/projection/notification/react/useListNotifications.js +15 -0
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.style.js +1 -1
- package/dist/src/shared/ui/components/layouts/stack/Stack.d.ts +8 -0
- package/dist/src/shared/ui/components/layouts/stack/Stack.js +29 -0
- package/dist/src/shared/ui/components/layouts/stack/Stack.style.d.ts +10 -0
- package/dist/src/shared/ui/components/layouts/stack/Stack.style.js +11 -0
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.style.js +1 -1
- package/dist/src/shared/ui/components/molecules/toast/Toast.d.ts +25 -0
- package/dist/src/shared/ui/components/molecules/toast/Toast.js +22 -0
- package/dist/src/shared/ui/components/molecules/toast/Toast.style.d.ts +34 -0
- package/dist/src/shared/ui/components/molecules/toast/Toast.style.js +37 -0
- package/package.json +23 -4
- package/dist/infrastructure/delivery/http/fetchHttpClient.js +0 -20
- /package/dist/{domain → src/domain}/checkout/command/markCheckoutAsPaid.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/command/markCheckoutAsPaid.js +0 -0
- /package/dist/{domain → src/domain}/checkout/command/startCheckout.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/command/startCheckout.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkout.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkout.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutPaid.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutPaid.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkouts.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkouts.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookings.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookings.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/currency.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/currency.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/feedbacks.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/feedbacks.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/price.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/price.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/baseBootstrap.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/baseBootstrap.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/http/httpClient.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/http/httpClient.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckouts.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckouts.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useStartCheckout.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useStartCheckout.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItems.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItems.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useKeepCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReplaceCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReturnCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useIncrementIntroShownCount.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useIncrementIntroShownCount.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useUpdateUiSetting.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useUpdateUiSetting.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/storage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/storage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpCheckoutByIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpCheckoutByIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutBooking/httpCheckoutBookingByIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/httpPricingByCheckoutIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/httpPricingByCheckoutIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useShouldIntroBeShown.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useShouldIntroBeShown.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewIntroShownCount.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewIntroShownCount.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/SafeAreaScrollView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/SafeAreaScrollView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutMiddleware.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/theme/theme.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/theme/theme.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/App.d.ts +0 -0
- /package/dist/{infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts → src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.style.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.d.ts +0 -0
- /package/dist/{infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts → src/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.js +0 -0
- /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.d.ts +0 -0
- /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.js +0 -0
- /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.js +0 -0
- /package/dist/{projection → src/projection}/checkout/checkout.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/checkout.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewCheckoutById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewCheckoutById.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/checkoutBooking.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/checkoutBooking.js +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.js +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.js +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.js +0 -0
- /package/dist/{projection → src/projection}/feedback/feedback.d.ts +0 -0
- /package/dist/{projection → src/projection}/feedback/feedback.js +0 -0
- /package/dist/{projection → src/projection}/payment/paymentFlowPayload.d.ts +0 -0
- /package/dist/{projection → src/projection}/payment/paymentFlowPayload.js +0 -0
- /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/pricing/pricing.d.ts +0 -0
- /package/dist/{projection → src/projection}/pricing/pricing.js +0 -0
- /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.js +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.d.ts +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.js +0 -0
- /package/dist/{projection → src/projection}/shared/price.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/price.js +0 -0
- /package/dist/{projection → src/projection}/shared/size.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/size.js +0 -0
- /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.d.ts +0 -0
- /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/hooks/useScreenSize.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/hooks/useScreenSize.js +0 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Button } from "@lookiero/aurora-next/build/components/atoms/Button/Button";
|
|
2
|
+
import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
|
|
3
|
+
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
4
|
+
import { CommandStatus, QueryStatus } from "@lookiero/messaging-react";
|
|
5
|
+
import { CheckoutStatus, PaymentFlow } from "@lookiero/payments-front";
|
|
6
|
+
import React, { useCallback, useRef, useState } from "react";
|
|
7
|
+
import { View } from "react-native";
|
|
8
|
+
import { useNavigate } from "react-router-native";
|
|
9
|
+
import { useCreateNotification } from "../../../../shared/notifications";
|
|
10
|
+
import { NotificationLevel } from "../../../../shared/notifications/domain/notification/model/notification";
|
|
11
|
+
import { Spinner } from "../../../../shared/ui/components/atoms/spinner/Spinner";
|
|
12
|
+
import { useMarkCheckoutAsPaid } from "../../../domain/checkout/react/useMarkCheckoutAsPaid";
|
|
13
|
+
import { useViewFirstAvailableCheckoutByCustomerId } from "../../../projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId";
|
|
14
|
+
import { useViewPaymentFlowPayloadByCheckoutId } from "../../../projection/payment/react/useViewPaymentFlowPayloadByCheckoutId";
|
|
15
|
+
import { Body } from "../../components/layouts/body/Body";
|
|
16
|
+
import { SafeAreaScrollView } from "../../components/templates/SafeAreaScrollView";
|
|
17
|
+
import { I18nMessages } from "../../i18n/i18n";
|
|
18
|
+
import { Routes } from "../../routing/routes";
|
|
19
|
+
import { style } from "./Checkout.style";
|
|
20
|
+
import { CheckoutSuccessModal } from "./components/CheckoutSuccessModal";
|
|
21
|
+
const Checkout = ({ customerId, authToken }) => {
|
|
22
|
+
const titleText = useI18nMessage({ id: I18nMessages.CHECKOUT_TITLE });
|
|
23
|
+
const payButtonText = useI18nMessage({ id: I18nMessages.CHECKOUT_PAY_BUTTON });
|
|
24
|
+
const paymentFlowRef = useRef(null);
|
|
25
|
+
const [checkout, checkoutStatus] = useViewFirstAvailableCheckoutByCustomerId({ customerId });
|
|
26
|
+
const [paymentFlowPayload] = useViewPaymentFlowPayloadByCheckoutId({
|
|
27
|
+
checkoutId: checkout?.id,
|
|
28
|
+
});
|
|
29
|
+
const [markAsPaid, markAsPaidStatus] = useMarkCheckoutAsPaid({ checkoutId: checkout?.id });
|
|
30
|
+
const [createNotification] = useCreateNotification();
|
|
31
|
+
const [processingCheckout, setProcessingCheckout] = useState(false);
|
|
32
|
+
const navigate = useNavigate();
|
|
33
|
+
const onSubmitCheckout = useCallback(() => {
|
|
34
|
+
if (!paymentFlowRef.current) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
setProcessingCheckout(true);
|
|
38
|
+
paymentFlowRef.current.startLegacyBoxCheckout(
|
|
39
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
paymentFlowPayload,
|
|
42
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
43
|
+
// @ts-ignore
|
|
44
|
+
async ({ status, final, ...rest }) => {
|
|
45
|
+
console.log("Checkout flow event", status, final, rest);
|
|
46
|
+
if (status === CheckoutStatus.REJECTED) {
|
|
47
|
+
createNotification({ level: NotificationLevel.ERROR, bodyI18nKey: I18nMessages.CHECKOUT_TOAST_REJECTED });
|
|
48
|
+
}
|
|
49
|
+
else if (status === CheckoutStatus.ERROR) {
|
|
50
|
+
createNotification({ level: NotificationLevel.ERROR, bodyI18nKey: I18nMessages.CHECKOUT_TOAST_ERROR });
|
|
51
|
+
}
|
|
52
|
+
else if (status === CheckoutStatus.FULFILLED) {
|
|
53
|
+
markAsPaid();
|
|
54
|
+
}
|
|
55
|
+
if (final) {
|
|
56
|
+
setProcessingCheckout(false);
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}, [createNotification, markAsPaid, paymentFlowPayload]);
|
|
60
|
+
const handleOnSuccessModalDismiss = useCallback(() => navigate(Routes.FEEDBACK), [navigate]);
|
|
61
|
+
const dependenciesLoadedStatuses = [QueryStatus.ERROR, QueryStatus.SUCCESS];
|
|
62
|
+
const dependenciesLoaded = dependenciesLoadedStatuses.includes(checkoutStatus);
|
|
63
|
+
if (!dependenciesLoaded)
|
|
64
|
+
return React.createElement(Spinner, null);
|
|
65
|
+
return (React.createElement(React.Fragment, null,
|
|
66
|
+
React.createElement(SafeAreaScrollView, null,
|
|
67
|
+
React.createElement(Body, { style: { column: style.bodyColumn } },
|
|
68
|
+
React.createElement(View, { style: style.container },
|
|
69
|
+
React.createElement(View, { style: style.content },
|
|
70
|
+
React.createElement(Text, { level: 3, style: style.title, heading: true }, titleText),
|
|
71
|
+
React.createElement(Button, { busy: processingCheckout || markAsPaidStatus === CommandStatus.LOADING,
|
|
72
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
73
|
+
// @ts-ignore
|
|
74
|
+
testID: "submit-checkout-button", onPress: onSubmitCheckout }, payButtonText),
|
|
75
|
+
React.createElement(CheckoutSuccessModal, { visible: markAsPaidStatus === CommandStatus.SUCCESS, onDismiss: handleOnSuccessModalDismiss }))))),
|
|
76
|
+
React.createElement(PaymentFlow, { ref: paymentFlowRef, token: authToken })));
|
|
77
|
+
};
|
|
78
|
+
export { Checkout };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const style: {
|
|
2
|
+
bodyColumn: {
|
|
3
|
+
paddingHorizontal: number;
|
|
4
|
+
};
|
|
5
|
+
bullet: {
|
|
6
|
+
alignItems: "center";
|
|
7
|
+
flexDirection: "row";
|
|
8
|
+
marginVertical: number;
|
|
9
|
+
};
|
|
10
|
+
container: {
|
|
11
|
+
flex: number;
|
|
12
|
+
justifyContent: "space-between";
|
|
13
|
+
};
|
|
14
|
+
content: {
|
|
15
|
+
alignItems: "center";
|
|
16
|
+
};
|
|
17
|
+
title: {
|
|
18
|
+
marginBottom: number;
|
|
19
|
+
textAlign: "center";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export { style };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "../../theme/theme";
|
|
3
|
+
const { spaceS, spaceM, spaceXL } = theme();
|
|
4
|
+
const style = StyleSheet.create({
|
|
5
|
+
bodyColumn: {
|
|
6
|
+
paddingHorizontal: spaceXL,
|
|
7
|
+
},
|
|
8
|
+
bullet: {
|
|
9
|
+
alignItems: "center",
|
|
10
|
+
flexDirection: "row",
|
|
11
|
+
marginVertical: spaceS,
|
|
12
|
+
},
|
|
13
|
+
container: {
|
|
14
|
+
flex: 1,
|
|
15
|
+
justifyContent: "space-between",
|
|
16
|
+
},
|
|
17
|
+
content: {
|
|
18
|
+
alignItems: "center",
|
|
19
|
+
},
|
|
20
|
+
title: {
|
|
21
|
+
marginBottom: spaceM,
|
|
22
|
+
textAlign: "center",
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
export { style };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Button } from "@lookiero/aurora-next/build/components/atoms/Button/Button";
|
|
2
|
+
import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
|
|
3
|
+
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { View } from "react-native";
|
|
6
|
+
import { Modal } from "../../../../../shared/ui/components/layouts/modal/Modal";
|
|
7
|
+
import { I18nMessages } from "../../../i18n/i18n";
|
|
8
|
+
import { style } from "./CheckoutSuccessModal.style";
|
|
9
|
+
const CheckoutSuccessModal = ({ visible, onDismiss }) => {
|
|
10
|
+
const titleText = useI18nMessage({ id: I18nMessages.CHECKOUT_SUCCESS_MODAL_TITLE });
|
|
11
|
+
const descriptionText = useI18nMessage({ id: I18nMessages.CHECKOUT_SUCCESS_MODAL_DESCRIPTION });
|
|
12
|
+
const buttonText = useI18nMessage({ id: I18nMessages.CHECKOUT_SUCCESS_MODAL_BUTTON });
|
|
13
|
+
return (React.createElement(Modal, { visible: visible, onClose: onDismiss },
|
|
14
|
+
React.createElement(View, { style: style.modal },
|
|
15
|
+
React.createElement(Text, { level: 1, style: style.modalTitle, body: true }, titleText),
|
|
16
|
+
React.createElement(Text, { level: 3, style: style.modalDescription, body: true }, descriptionText),
|
|
17
|
+
React.createElement(Button
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
, {
|
|
21
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
style: style.button, onPress: onDismiss }, buttonText))));
|
|
24
|
+
};
|
|
25
|
+
export { CheckoutSuccessModal };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "../../../theme/theme";
|
|
3
|
+
const { spaceXL } = theme();
|
|
4
|
+
const style = StyleSheet.create({
|
|
5
|
+
button: {
|
|
6
|
+
flex: 0,
|
|
7
|
+
},
|
|
8
|
+
modal: {
|
|
9
|
+
padding: spaceXL,
|
|
10
|
+
},
|
|
11
|
+
modalDescription: {
|
|
12
|
+
marginVertical: spaceXL,
|
|
13
|
+
textAlign: "center",
|
|
14
|
+
},
|
|
15
|
+
modalTitle: {
|
|
16
|
+
textAlign: "center",
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
export { style };
|
|
@@ -5,12 +5,12 @@ import { useI18nMessage } from "@lookiero/i18n-react";
|
|
|
5
5
|
import { CommandStatus, QueryStatus } from "@lookiero/messaging-react";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View } from "react-native";
|
|
8
|
+
import { Spinner } from "../../../../shared/ui/components/atoms/spinner/Spinner";
|
|
8
9
|
import { useIncrementIntroShownCount } from "../../../domain/uiSetting/react/useIncrementIntroShownCount";
|
|
9
10
|
import { useViewFiveItemsDiscountByCustomerId } from "../../../projection/checkout/react/useViewFiveItemsDiscountByCustomerId";
|
|
10
11
|
import { Body } from "../../components/layouts/body/Body";
|
|
11
12
|
import { SafeAreaScrollView } from "../../components/templates/SafeAreaScrollView";
|
|
12
13
|
import { I18nMessages } from "../../i18n/i18n";
|
|
13
|
-
import { Spinner } from "../../shared/components/atoms/spinner/Spinner";
|
|
14
14
|
import { style } from "./Intro.style";
|
|
15
15
|
const Bullet = ({ text }) => (React.createElement(View, { style: style.bullet },
|
|
16
16
|
React.createElement(Icon, { name: "rounded-tick", style: style.tickIcon }),
|
|
@@ -4,6 +4,7 @@ import { View } from "react-native";
|
|
|
4
4
|
import { useParams } from "react-router-native";
|
|
5
5
|
import { CheckoutItemStatus } from "../../../../domain/checkoutItem/model/checkoutItem";
|
|
6
6
|
import "../../../../projection/checkout/viewFirstAvailableCheckoutByCustomerId";
|
|
7
|
+
import { Spinner } from "../../../../shared/ui/components/atoms/spinner/Spinner";
|
|
7
8
|
import { useBookCheckouBookingForCheckoutItem } from "../../../domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem";
|
|
8
9
|
import { useKeepCheckoutItem } from "../../../domain/checkoutItem/react/useKeepCheckoutItem";
|
|
9
10
|
import { useReplaceCheckoutItem } from "../../../domain/checkoutItem/react/useReplaceCheckoutItem";
|
|
@@ -14,7 +15,6 @@ import { useListReturnQuestionsByCheckoutItemId } from "../../../projection/retu
|
|
|
14
15
|
import { Body } from "../../components/layouts/body/Body";
|
|
15
16
|
import { ReturnQuestionFeedbackProvider } from "../../components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback";
|
|
16
17
|
import { SafeAreaScrollView } from "../../components/templates/SafeAreaScrollView";
|
|
17
|
-
import { Spinner } from "../../shared/components/atoms/spinner/Spinner";
|
|
18
18
|
import { style } from "./Item.style";
|
|
19
19
|
import { CustomerDecissionBanner } from "./components/banner/CustomerDecissionBanner";
|
|
20
20
|
import { ItemActions } from "./components/itemActions/ItemActions";
|
|
@@ -4,8 +4,8 @@ import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Tex
|
|
|
4
4
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
5
5
|
import React from "react";
|
|
6
6
|
import { View } from "react-native";
|
|
7
|
+
import { Modal } from "../../../../../../shared/ui/components/layouts/modal/Modal";
|
|
7
8
|
import { I18nMessages } from "../../../../i18n/i18n";
|
|
8
|
-
import { Modal } from "../../../../shared/components/layouts/modal/Modal";
|
|
9
9
|
import { style } from "./GetOutOfCheckoutModal.style";
|
|
10
10
|
const GetOutOfCheckoutModal = ({ visible, onDismiss, onConfirm }) => {
|
|
11
11
|
const titleText = useI18nMessage({ id: I18nMessages.GET_OUT_OF_CHECKOUT_MODAL_TITLE });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { ProductVariantProjection } from "../../../../../../projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants";
|
|
3
|
-
import { Layout } from "
|
|
3
|
+
import { Layout } from "../../../../../../shared/ui/components/layouts/sticky/Sticky";
|
|
4
4
|
interface ItemActionsProps {
|
|
5
5
|
readonly productVariants: ProductVariantProjection[];
|
|
6
6
|
readonly productVariantSelected: ProductVariantProjection;
|
|
@@ -3,10 +3,10 @@ import { BUTTON_VARIANT } from "@lookiero/aurora-next/build/components/atoms/But
|
|
|
3
3
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
4
4
|
import React, { useCallback, useMemo } from "react";
|
|
5
5
|
import { View } from "react-native";
|
|
6
|
+
import { Sticky } from "../../../../../../shared/ui/components/layouts/sticky/Sticky";
|
|
7
|
+
import { SelectField } from "../../../../../../shared/ui/components/molecules/selectField/SelectField";
|
|
6
8
|
import { Body } from "../../../../components/layouts/body/Body";
|
|
7
9
|
import { I18nMessages } from "../../../../i18n/i18n";
|
|
8
|
-
import { Sticky } from "../../../../shared/components/layouts/sticky/Sticky";
|
|
9
|
-
import { SelectField } from "../../../../shared/components/molecules/selectField/SelectField";
|
|
10
10
|
import { style } from "./ItemActions.style";
|
|
11
11
|
const ItemActions = ({ productVariants, productVariantSelected, keepButtonLoading = false, returnButtonLoading = false, sizeSelectorDisabled = false, onSizeSelectorPress = () => void 0, onKeep, onReplace, onReturn, onLayout, }) => {
|
|
12
12
|
const sizeSelectorLabelText = useI18nMessage({ id: I18nMessages.ITEM_SIZES_LABEL });
|
|
@@ -4,10 +4,10 @@ import React from "react";
|
|
|
4
4
|
import { Image, Pressable, View } from "react-native";
|
|
5
5
|
import Svg, { Line } from "react-native-svg";
|
|
6
6
|
import { CheckoutItemStatus } from "../../../../../../domain/checkoutItem/model/checkoutItem";
|
|
7
|
+
import { ButtonIcon } from "../../../../../../shared/ui/components/molecules/buttonIcon/ButtonIcon";
|
|
7
8
|
import { Price } from "../../../../components/atoms/price/Price";
|
|
8
9
|
import { useMediaImage } from "../../../../hooks/useMediaImage";
|
|
9
10
|
import { COLOR_I18N_PREFIX, I18nMessages } from "../../../../i18n/i18n";
|
|
10
|
-
import { ButtonIcon } from "../../../../shared/components/molecules/buttonIcon/ButtonIcon";
|
|
11
11
|
import { IMAGE_WIDTH, style } from "./ProductVariant.style";
|
|
12
12
|
const ProductVariant = ({ media, brand, name, price, size, color, status, discarded, style: customStyle, onPress, }) => {
|
|
13
13
|
const uniqueText = useI18nMessage({ id: I18nMessages.ITEM_UNIQUE });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useCallback, useState } from "react";
|
|
2
2
|
import { Image } from "react-native";
|
|
3
|
+
import { Slider } from "../../../../../../shared/ui/components/layouts/slider/Slider";
|
|
3
4
|
import { useMediaImage } from "../../../../hooks/useMediaImage";
|
|
4
|
-
import { Slider } from "../../../../shared/components/layouts/slider/Slider";
|
|
5
5
|
import { style } from "./ProductVariantSlider.style";
|
|
6
6
|
const ProductVariantSlider = ({ producVariantMedia }) => {
|
|
7
7
|
const cdnImageUrl = useMediaImage();
|
|
@@ -3,12 +3,12 @@ import { useI18nMessage } from "@lookiero/i18n-react";
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { View } from "react-native";
|
|
5
5
|
import { ReturnQuestionType, } from "../../../../../../projection/returnQuestion/returnQuestion";
|
|
6
|
+
import { ButtonIcon } from "../../../../../../shared/ui/components/molecules/buttonIcon/ButtonIcon";
|
|
6
7
|
import { ReturnQuestions } from "../../../../components/organisms/returnQuestions/ReturnQuestions";
|
|
7
8
|
import { ReturnQuestionItemProvider, } from "../../../../components/organisms/returnQuestions/behaviors/useReturnQuestionItem";
|
|
8
9
|
import { HostDefaultReturnQuestionFeedbackItem } from "../../../../components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem";
|
|
9
10
|
import { ReturnQuestionFeedbackItem } from "../../../../components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem";
|
|
10
11
|
import { I18nMessages, RETURN_QUESTIONS_FEEDBACK_PREFIX } from "../../../../i18n/i18n";
|
|
11
|
-
import { ButtonIcon } from "../../../../shared/components/molecules/buttonIcon/ButtonIcon";
|
|
12
12
|
import { style } from "./ReturnQuestionsFeedback.style";
|
|
13
13
|
const returnQuestionItems = {
|
|
14
14
|
[ReturnQuestionType.HOST_DEFAULT]: HostDefaultReturnQuestionFeedbackItem,
|
|
@@ -5,6 +5,7 @@ import { useI18nMessage } from "@lookiero/i18n-react";
|
|
|
5
5
|
import React, { useCallback } from "react";
|
|
6
6
|
import { View } from "react-native";
|
|
7
7
|
import { ReturnQuestionType, } from "../../../../../../projection/returnQuestion/returnQuestion";
|
|
8
|
+
import { Modal } from "../../../../../../shared/ui/components/layouts/modal/Modal";
|
|
8
9
|
import { ReturnQuestions } from "../../../../components/organisms/returnQuestions/ReturnQuestions";
|
|
9
10
|
import { useReturnQuestionFeedback } from "../../../../components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback";
|
|
10
11
|
import { ReturnQuestionItemProvider, } from "../../../../components/organisms/returnQuestions/behaviors/useReturnQuestionItem";
|
|
@@ -14,7 +15,6 @@ import { HostStackReturnQuestionItem } from "../../../../components/organisms/re
|
|
|
14
15
|
import { OptionReturnQuestionItem } from "../../../../components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem";
|
|
15
16
|
import { TextareaReturnQuestionItem } from "../../../../components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem";
|
|
16
17
|
import { I18nMessages, RETURN_QUESTIONS_PREFIX } from "../../../../i18n/i18n";
|
|
17
|
-
import { Modal } from "../../../../shared/components/layouts/modal/Modal";
|
|
18
18
|
import { ProductVariant } from "../productVariant/ProductVariant";
|
|
19
19
|
import { style } from "./ReturnQuestionsForm.style";
|
|
20
20
|
const RETURN_QUESTION_FORM_PORTAL_HOST_NAME = "return-question-form-portal";
|
|
@@ -3,8 +3,8 @@ import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Tex
|
|
|
3
3
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { View } from "react-native";
|
|
6
|
+
import { Modal } from "../../../../../../shared/ui/components/layouts/modal/Modal";
|
|
6
7
|
import { I18nMessages } from "../../../../i18n/i18n";
|
|
7
|
-
import { Modal } from "../../../../shared/components/layouts/modal/Modal";
|
|
8
8
|
import { style } from "./SizeChangeModal.style";
|
|
9
9
|
const SizeChangeModal = ({ visible, onDismiss }) => {
|
|
10
10
|
const titleText = useI18nMessage({ id: I18nMessages.SIZE_CHANGE_MODAL_TITLE });
|
|
@@ -3,8 +3,8 @@ import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Tex
|
|
|
3
3
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { View } from "react-native";
|
|
6
|
+
import { Modal } from "../../../../../../shared/ui/components/layouts/modal/Modal";
|
|
6
7
|
import { I18nMessages } from "../../../../i18n/i18n";
|
|
7
|
-
import { Modal } from "../../../../shared/components/layouts/modal/Modal";
|
|
8
8
|
import { style } from "./SizeWithoutStockModal.style";
|
|
9
9
|
const SizeWithoutStockModal = ({ visible, onDismiss }) => {
|
|
10
10
|
const titleText = useI18nMessage({ id: I18nMessages.SIZE_WITHOUT_STOCK_MODAL_TITLE });
|
|
@@ -5,6 +5,7 @@ import React, { useCallback, useMemo, useState } from "react";
|
|
|
5
5
|
import { View } from "react-native";
|
|
6
6
|
import { generatePath, useNavigate } from "react-router-native";
|
|
7
7
|
import { CheckoutItemStatus } from "../../../../domain/checkoutItem/model/checkoutItem";
|
|
8
|
+
import { Spinner } from "../../../../shared/ui/components/atoms/spinner/Spinner";
|
|
8
9
|
import { useViewFirstAvailableCheckoutByCustomerId } from "../../../projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId";
|
|
9
10
|
import { useViewFiveItemsDiscountByCustomerId } from "../../../projection/checkout/react/useViewFiveItemsDiscountByCustomerId";
|
|
10
11
|
import { useViewPricingByCheckoutId } from "../../../projection/pricing/react/useViewPricingByCheckoutId";
|
|
@@ -12,7 +13,6 @@ import { Body } from "../../components/layouts/body/Body";
|
|
|
12
13
|
import { SafeAreaScrollView } from "../../components/templates/SafeAreaScrollView";
|
|
13
14
|
import { I18nMessages } from "../../i18n/i18n";
|
|
14
15
|
import { Routes } from "../../routing/routes";
|
|
15
|
-
import { Spinner } from "../../shared/components/atoms/spinner/Spinner";
|
|
16
16
|
import { style } from "./Summary.style";
|
|
17
17
|
import { CheckoutItemsTabs } from "./components/checkoutItemsTabs/CheckoutItemsTabs";
|
|
18
18
|
import { FiveItemsDiscountBanner } from "./components/fiveItemsDiscountBanner/FiveItemsDiscountBanner";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { Sticky } from "../../../../../../shared/ui/components/layouts/sticky/Sticky";
|
|
2
3
|
import { Body } from "../../../../components/layouts/body/Body";
|
|
3
|
-
import { Sticky } from "../../../../shared/components/layouts/sticky/Sticky";
|
|
4
4
|
import { Pricing } from "../pricing/Pricing";
|
|
5
5
|
import { style } from "./StickyPricing.style";
|
|
6
6
|
const StickyPricing = ({ pricing, totalCheckoutItemsKept, collapsed, onPress, onSubmit }) => (React.createElement(Sticky, null,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command } from "@lookiero/messaging";
|
|
2
|
+
import { NotificationLevel } from "../model/notification";
|
|
3
|
+
declare const CREATE_NOTIFICATION = "create_notification";
|
|
4
|
+
interface CreateNotificationPayload {
|
|
5
|
+
readonly aggregateId: string;
|
|
6
|
+
readonly level: NotificationLevel;
|
|
7
|
+
readonly bodyI18nKey: string;
|
|
8
|
+
readonly titleI18nKey: string | undefined;
|
|
9
|
+
}
|
|
10
|
+
interface CreateNotification extends Command<typeof CREATE_NOTIFICATION>, CreateNotificationPayload {
|
|
11
|
+
}
|
|
12
|
+
interface CreateNotificationFunction {
|
|
13
|
+
(payload: CreateNotificationPayload): CreateNotification;
|
|
14
|
+
}
|
|
15
|
+
declare const createNotification: CreateNotificationFunction;
|
|
16
|
+
export type { CreateNotification };
|
|
17
|
+
export { CREATE_NOTIFICATION, createNotification };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { command } from "@lookiero/messaging";
|
|
2
|
+
const CREATE_NOTIFICATION = "create_notification";
|
|
3
|
+
const createNotification = ({ aggregateId, ...payload }) => ({
|
|
4
|
+
...command({ aggregateId, name: CREATE_NOTIFICATION }),
|
|
5
|
+
...payload,
|
|
6
|
+
});
|
|
7
|
+
export { CREATE_NOTIFICATION, createNotification };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Command } from "@lookiero/messaging";
|
|
2
|
+
declare const REMOVE_NOTIFICATION = "REMOVE_NOTIFICATION";
|
|
3
|
+
interface RemoveNotificationPayload {
|
|
4
|
+
readonly aggregateId: string;
|
|
5
|
+
}
|
|
6
|
+
interface RemoveNotification extends Command<typeof REMOVE_NOTIFICATION>, RemoveNotificationPayload {
|
|
7
|
+
}
|
|
8
|
+
interface RemoveNotificationFunction {
|
|
9
|
+
(payload: RemoveNotificationPayload): RemoveNotification;
|
|
10
|
+
}
|
|
11
|
+
declare const removeNotification: RemoveNotificationFunction;
|
|
12
|
+
export type { RemoveNotification };
|
|
13
|
+
export { REMOVE_NOTIFICATION, removeNotification };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { removeNotification as sut, REMOVE_NOTIFICATION } from "./removeNotification";
|
|
2
|
+
describe("removeNotification", () => {
|
|
3
|
+
it("returns a RemoveNotification command", () => {
|
|
4
|
+
const aggregateId = "67ac1d5c-6d24-4b19-bc01-8f61c266670c";
|
|
5
|
+
const command = sut({ aggregateId });
|
|
6
|
+
expect(command.aggregateId).toBe(aggregateId);
|
|
7
|
+
expect(command.name).toBe(REMOVE_NOTIFICATION);
|
|
8
|
+
});
|
|
9
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AggregateRoot, CommandHandlerFunction } from "@lookiero/messaging";
|
|
2
|
+
import { CreateNotification } from "../command/createNotification";
|
|
3
|
+
import { RemoveNotification } from "../command/removeNotification";
|
|
4
|
+
declare enum NotificationLevel {
|
|
5
|
+
INFO = "INFO",
|
|
6
|
+
ERROR = "ERROR",
|
|
7
|
+
SUCCESS = "SUCCESS"
|
|
8
|
+
}
|
|
9
|
+
export { NotificationLevel };
|
|
10
|
+
interface Notification extends AggregateRoot {
|
|
11
|
+
readonly level: NotificationLevel;
|
|
12
|
+
readonly bodyI18nKey: string;
|
|
13
|
+
readonly titleI18nKey: string | undefined;
|
|
14
|
+
}
|
|
15
|
+
declare const createNotificationHandler: CommandHandlerFunction<CreateNotification, Notification>;
|
|
16
|
+
declare const removeNotificationHandler: CommandHandlerFunction<RemoveNotification, Notification>;
|
|
17
|
+
export type { Notification };
|
|
18
|
+
export { createNotificationHandler, removeNotificationHandler };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { notificationCreated } from "./notificationCreated";
|
|
2
|
+
import { notificationRemoved } from "./notificationRemoved";
|
|
3
|
+
var NotificationLevel;
|
|
4
|
+
(function (NotificationLevel) {
|
|
5
|
+
NotificationLevel["INFO"] = "INFO";
|
|
6
|
+
NotificationLevel["ERROR"] = "ERROR";
|
|
7
|
+
NotificationLevel["SUCCESS"] = "SUCCESS";
|
|
8
|
+
})(NotificationLevel || (NotificationLevel = {}));
|
|
9
|
+
export { NotificationLevel };
|
|
10
|
+
const createNotificationHandler = () => async ({ aggregateRoot, command }) => {
|
|
11
|
+
const { aggregateId, level, titleI18nKey, bodyI18nKey } = command;
|
|
12
|
+
return {
|
|
13
|
+
...aggregateRoot,
|
|
14
|
+
level,
|
|
15
|
+
titleI18nKey,
|
|
16
|
+
bodyI18nKey,
|
|
17
|
+
domainEvents: [notificationCreated({ aggregateId })],
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
const removeNotificationHandler = () => async ({ aggregateRoot, command }) => {
|
|
21
|
+
const { aggregateId } = command;
|
|
22
|
+
return {
|
|
23
|
+
...aggregateRoot,
|
|
24
|
+
domainEvents: [notificationRemoved({ aggregateId })],
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export { createNotificationHandler, removeNotificationHandler };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DomainEvent } from "@lookiero/messaging";
|
|
2
|
+
declare const NOTIFICATION_CREATED = "notification_created";
|
|
3
|
+
interface NotificationCreatedPayload {
|
|
4
|
+
readonly aggregateId: string;
|
|
5
|
+
}
|
|
6
|
+
interface NotificationCreated extends DomainEvent<typeof NOTIFICATION_CREATED>, NotificationCreatedPayload {
|
|
7
|
+
}
|
|
8
|
+
interface NotificationCreatedFunction {
|
|
9
|
+
(payload: NotificationCreatedPayload): NotificationCreated;
|
|
10
|
+
}
|
|
11
|
+
declare const notificationCreated: NotificationCreatedFunction;
|
|
12
|
+
export type { NotificationCreated };
|
|
13
|
+
export { NOTIFICATION_CREATED, notificationCreated };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DomainEvent } from "@lookiero/messaging";
|
|
2
|
+
declare const NOTIFICATION_REMOVED = "notification_removed";
|
|
3
|
+
interface NotificationRemovedPayload {
|
|
4
|
+
readonly aggregateId: string;
|
|
5
|
+
}
|
|
6
|
+
interface NotificationRemoved extends DomainEvent<typeof NOTIFICATION_REMOVED>, NotificationRemovedPayload {
|
|
7
|
+
}
|
|
8
|
+
interface NotificationRemovedFunction {
|
|
9
|
+
(payload: NotificationRemovedPayload): NotificationRemoved;
|
|
10
|
+
}
|
|
11
|
+
declare const notificationRemoved: NotificationRemovedFunction;
|
|
12
|
+
export type { NotificationRemoved };
|
|
13
|
+
export { NOTIFICATION_REMOVED, notificationRemoved };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RepositoryGetFunction, RepositoryGetFunctionArgs, RepositorySaveFunction, RepositorySaveFunctionArgs } from "@lookiero/messaging";
|
|
2
|
+
import { Notification } from "./notification";
|
|
3
|
+
interface NotificationsGetFunction<NotificationsGetFunctionArgs extends RepositoryGetFunctionArgs> extends RepositoryGetFunction<Notification, NotificationsGetFunctionArgs> {
|
|
4
|
+
}
|
|
5
|
+
interface NotificationsSaveFunction<NotificationsSaveFunctionArgs extends RepositorySaveFunctionArgs> extends RepositorySaveFunction<Notification, NotificationsSaveFunctionArgs> {
|
|
6
|
+
}
|
|
7
|
+
export type { NotificationsGetFunction, NotificationsSaveFunction };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { useCreateNotification } from "./infrastructure/domain/notification/react/useCreateNotification";
|
|
2
|
+
import { useRemoveNotification } from "./infrastructure/domain/notification/react/useRemoveNotification";
|
|
3
|
+
import { NotificationDto } from "./infrastructure/persistence/notificationDto";
|
|
4
|
+
import { Storage } from "./infrastructure/persistence/storage";
|
|
5
|
+
import { notificationsRoot, NotificationsRoot } from "./infrastructure/ui/notificationsRoot";
|
|
6
|
+
import { useListNotifications } from "./projection/notification/react/useListNotifications";
|
|
7
|
+
export type { Storage, NotificationDto, NotificationsRoot };
|
|
8
|
+
export { useListNotifications, useCreateNotification, useRemoveNotification, notificationsRoot };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { useCreateNotification } from "./infrastructure/domain/notification/react/useCreateNotification";
|
|
2
|
+
import { useRemoveNotification } from "./infrastructure/domain/notification/react/useRemoveNotification";
|
|
3
|
+
import { notificationsRoot } from "./infrastructure/ui/notificationsRoot";
|
|
4
|
+
import { useListNotifications } from "./projection/notification/react/useListNotifications";
|
|
5
|
+
export { useListNotifications, useCreateNotification, useRemoveNotification, notificationsRoot };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BuildBootstrapFunctionReturn } from "@lookiero/messaging-react";
|
|
2
|
+
import { NotificationDto } from "../persistence/notificationDto";
|
|
3
|
+
import { Storage } from "../persistence/storage";
|
|
4
|
+
declare const NOTIFICATIONS_MESSAGING_CONTEXT_ID = "notifications";
|
|
5
|
+
interface BootstrapFunctionArgs {
|
|
6
|
+
readonly storage: Storage<NotificationDto>;
|
|
7
|
+
}
|
|
8
|
+
interface BootstrapFunction {
|
|
9
|
+
(args: BootstrapFunctionArgs): BuildBootstrapFunctionReturn;
|
|
10
|
+
}
|
|
11
|
+
declare const bootstrap: BootstrapFunction;
|
|
12
|
+
export type { BootstrapFunctionArgs };
|
|
13
|
+
export { NOTIFICATIONS_MESSAGING_CONTEXT_ID, bootstrap };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { bootstrap as messagingReactBootstrap } from "@lookiero/messaging-react";
|
|
2
|
+
import { CREATE_NOTIFICATION } from "../../domain/notification/command/createNotification";
|
|
3
|
+
import { REMOVE_NOTIFICATION } from "../../domain/notification/command/removeNotification";
|
|
4
|
+
import { createNotificationHandler, removeNotificationHandler } from "../../domain/notification/model/notification";
|
|
5
|
+
import { listNotificationsHandler, LIST_NOTIFICATIONS } from "../../projection/notification/listNotifications";
|
|
6
|
+
import { getNotification, saveNotification } from "../domain/notification/model/storageNotifications";
|
|
7
|
+
import { storageListNotificationsView } from "../projection/notification/storageListNotificationsView";
|
|
8
|
+
const NOTIFICATIONS_MESSAGING_CONTEXT_ID = "notifications";
|
|
9
|
+
const bootstrap = ({ storage }) => messagingReactBootstrap({ id: NOTIFICATIONS_MESSAGING_CONTEXT_ID })
|
|
10
|
+
.query(LIST_NOTIFICATIONS, listNotificationsHandler, { view: storageListNotificationsView({ storage }) })
|
|
11
|
+
.command(CREATE_NOTIFICATION, createNotificationHandler)(getNotification, saveNotification, { storage })
|
|
12
|
+
.command(REMOVE_NOTIFICATION, removeNotificationHandler)(getNotification, saveNotification, { storage })
|
|
13
|
+
.build();
|
|
14
|
+
export { NOTIFICATIONS_MESSAGING_CONTEXT_ID, bootstrap };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RepositoryGetFunctionArgs, RepositorySaveFunctionArgs } from "@lookiero/messaging";
|
|
2
|
+
import { NotificationsGetFunction, NotificationsSaveFunction } from "../../../../domain/notification/model/notifications";
|
|
3
|
+
import { NotificationDto } from "../../../persistence/notificationDto";
|
|
4
|
+
import { Storage } from "../../../persistence/storage";
|
|
5
|
+
interface StorageNotificationsGetFunctionArgs extends RepositoryGetFunctionArgs {
|
|
6
|
+
readonly storage: Storage<NotificationDto>;
|
|
7
|
+
}
|
|
8
|
+
interface StorageNotificationsGetFunction extends NotificationsGetFunction<StorageNotificationsGetFunctionArgs> {
|
|
9
|
+
}
|
|
10
|
+
declare const getNotification: StorageNotificationsGetFunction;
|
|
11
|
+
interface StorageNotificationsSaveFunctionArgs extends RepositorySaveFunctionArgs {
|
|
12
|
+
readonly storage: Storage<NotificationDto>;
|
|
13
|
+
}
|
|
14
|
+
interface StorageNotificationsSaveFunction extends NotificationsSaveFunction<StorageNotificationsSaveFunctionArgs> {
|
|
15
|
+
}
|
|
16
|
+
declare const saveNotification: StorageNotificationsSaveFunction;
|
|
17
|
+
export type { StorageNotificationsSaveFunction };
|
|
18
|
+
export { getNotification, saveNotification };
|