@lookiero/checkout 0.4.0-beta.0 → 0.4.0-beta.2
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/domain/checkout/model/checkout.d.ts +5 -2
- package/dist/domain/checkout/model/checkout.js +13 -1
- package/dist/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.d.ts +0 -1
- package/dist/domain/checkoutBooking/model/checkoutBooking.d.ts +0 -1
- package/dist/domain/checkoutItem/model/checkoutItem.js +4 -4
- package/dist/domain/checkoutItem/model/feedbacks.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -3
- package/dist/infrastructure/delivery/baseBootstrap.d.ts +17 -4
- package/dist/infrastructure/delivery/baseBootstrap.js +19 -2
- package/dist/infrastructure/delivery/bootstrap.d.ts +1 -1
- package/dist/infrastructure/delivery/bootstrap.js +19 -3
- package/dist/infrastructure/delivery/http/fetchHttpClient.d.ts +1 -1
- package/dist/infrastructure/delivery/http/fetchHttpClient.js +4 -4
- package/dist/infrastructure/delivery/mock/dataSourceCheckoutBookings.js +2 -4
- package/dist/infrastructure/delivery/mock/dataSourceCheckoutItems.js +2 -2
- package/dist/infrastructure/domain/checkout/model/httpCheckouts.js +7 -1
- package/dist/infrastructure/domain/checkout/react/useStartCheckout.d.ts +1 -1
- package/dist/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -1
- package/dist/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.js +2 -3
- package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.d.ts +1 -3
- package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.js +3 -4
- package/dist/infrastructure/domain/checkoutItem/model/httpCheckoutItems.js +1 -1
- package/dist/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +1 -1
- package/dist/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +1 -1
- package/dist/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +1 -1
- package/dist/infrastructure/domain/uiSetting/react/useIncrementIntroShownCount.d.ts +1 -1
- package/dist/infrastructure/domain/uiSetting/react/useUpdateUiSetting.d.ts +1 -1
- package/dist/infrastructure/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.js +3 -0
- package/dist/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +12 -1
- package/dist/infrastructure/ui/Root.d.ts +6 -0
- package/dist/infrastructure/ui/Root.js +4 -3
- package/dist/infrastructure/ui/components/atoms/price/Price.d.ts +3 -3
- package/dist/infrastructure/ui/components/layouts/body/Body.d.ts +1 -1
- package/dist/infrastructure/ui/components/layouts/body/Body.js +2 -2
- package/dist/infrastructure/ui/components/layouts/tabs/Tabs.js +1 -1
- package/dist/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +2 -1
- package/dist/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +1 -1
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +1 -1
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +3 -3
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +1 -1
- package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.d.ts +3 -0
- package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.js +10 -6
- package/dist/infrastructure/ui/i18n/i18n.d.ts +28 -2
- package/dist/infrastructure/ui/i18n/i18n.js +27 -1
- package/dist/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +1 -1
- package/dist/infrastructure/ui/routing/CheckoutMiddleware.d.ts +0 -1
- package/dist/infrastructure/ui/routing/CheckoutMiddleware.js +31 -8
- package/dist/infrastructure/ui/routing/Routing.d.ts +6 -2
- package/dist/infrastructure/ui/routing/Routing.js +26 -7
- package/dist/infrastructure/ui/routing/routes.d.ts +5 -1
- package/dist/infrastructure/ui/routing/routes.js +4 -0
- package/dist/infrastructure/ui/theme/theme.d.ts +2 -2
- package/dist/infrastructure/ui/views/App.d.ts +3 -0
- package/dist/infrastructure/ui/views/App.js +9 -2
- package/dist/infrastructure/ui/views/intro/Intro.d.ts +1 -1
- package/dist/infrastructure/ui/views/intro/Intro.js +1 -1
- package/dist/infrastructure/ui/views/item/Item.js +23 -16
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +1 -1
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +5 -5
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +3 -11
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +4 -12
- package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +1 -1
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.d.ts +2 -3
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.js +3 -5
- package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.d.ts +12 -1
- package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.js +28 -17
- package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.d.ts +22 -0
- package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.js +23 -1
- package/dist/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +2 -1
- package/dist/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +1 -1
- package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -2
- package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +5 -7
- package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +2 -2
- package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +11 -11
- package/dist/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.js +1 -1
- package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +1 -1
- package/dist/infrastructure/ui/views/summary/Summary.js +39 -6
- package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +3 -1
- package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.js +11 -10
- package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +3 -0
- package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +4 -1
- package/dist/projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.d.ts +1 -4
- package/dist/projection/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.d.ts +1 -1
- package/dist/projection/checkout/viewCheckoutById.d.ts +1 -1
- package/dist/projection/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +1 -1
- package/dist/projection/checkout/viewFiveItemsDiscountByCustomerId.d.ts +1 -1
- package/dist/projection/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +1 -1
- package/dist/projection/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +1 -1
- package/dist/projection/checkoutBooking/checkoutBooking.d.ts +0 -1
- package/dist/projection/checkoutBooking/viewCheckoutBookingById.d.ts +1 -1
- package/dist/projection/checkoutItem/checkoutItem.d.ts +4 -12
- package/dist/projection/checkoutItem/checkoutItem.js +1 -2
- package/dist/projection/checkoutItem/viewCheckoutItemById.d.ts +1 -1
- package/dist/projection/feedback/feedback.d.ts +2 -2
- package/dist/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +1 -1
- package/dist/projection/uiSetting/viewUiSettingByKey.d.ts +1 -1
- package/package.json +1 -1
- package/dist/domain/checkoutBooking/command/bookSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -15
- package/dist/domain/checkoutBooking/command/bookSizeReplaceableProductVariantsForCheckoutItem.js +0 -7
- package/dist/infrastructure/domain/checkoutBooking/react/useBookSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -15
- package/dist/infrastructure/domain/checkoutBooking/react/useBookSizeReplaceableProductVariantsForCheckoutItem.js +0 -14
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/bookedSizeReplaceableProductVariants.mock.d.ts +0 -3
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/bookedSizeReplaceableProductVariants.mock.js +0 -17
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/httpBookedSizeReplaceableProductVariantsForCheckoutItemView.d.ts +0 -34
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/httpBookedSizeReplaceableProductVariantsForCheckoutItemView.js +0 -26
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/react/useViewBookedSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -10
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/react/useViewBookedSizeReplaceableProductVariantsForCheckoutItem.js +0 -9
- package/dist/infrastructure/projection/checkoutItem/checkoutItem.d.ts +0 -45
- package/dist/infrastructure/projection/checkoutItem/checkoutItem.js +0 -40
- package/dist/infrastructure/projection/feedback/feedback.mock.d.ts +0 -3
- package/dist/infrastructure/projection/feedback/feedback.mock.js +0 -6
- package/dist/infrastructure/projection/returnQuestion/returnQuestion.d.ts +0 -14
- package/dist/infrastructure/projection/returnQuestion/returnQuestion.js +0 -9
- package/dist/infrastructure/ui/shared/components/atoms/error/Error.d.ts +0 -10
- package/dist/infrastructure/ui/shared/components/atoms/error/Error.style.js +0 -9
- package/dist/infrastructure/ui/shared/components/atoms/field/Field.d.ts +0 -14
- package/dist/infrastructure/ui/shared/components/atoms/field/Field.js +0 -29
- package/dist/infrastructure/ui/shared/components/atoms/field/Field.style.js +0 -17
- package/dist/infrastructure/ui/shared/components/atoms/icon/Icon.d.ts +0 -12
- package/dist/infrastructure/ui/shared/components/atoms/icon/Icon.js +0 -7
- package/dist/infrastructure/ui/shared/components/atoms/icon/Icon.style.js +0 -16
- package/dist/infrastructure/ui/shared/components/atoms/input/Input.d.ts +0 -11
- package/dist/infrastructure/ui/shared/components/atoms/input/Input.js +0 -37
- package/dist/infrastructure/ui/shared/components/atoms/input/Input.style.js +0 -26
- package/dist/infrastructure/ui/shared/components/atoms/spinner/Spinner.js +0 -8
- package/dist/infrastructure/ui/shared/components/layouts/column/Column.d.ts +0 -10
- package/dist/infrastructure/ui/shared/components/layouts/modal/Modal.d.ts +0 -20
- package/dist/infrastructure/ui/shared/components/layouts/modal/Modal.js +0 -79
- package/dist/infrastructure/ui/shared/components/layouts/modal/Modal.style.js +0 -70
- package/dist/infrastructure/ui/shared/components/layouts/row/Row.style.js +0 -17
- package/dist/infrastructure/ui/shared/components/layouts/slider/Pagination.style.js +0 -27
- package/dist/infrastructure/ui/shared/components/layouts/sticky/Sticky.js +0 -12
- package/dist/infrastructure/ui/shared/components/layouts/sticky/Sticky.style.js +0 -33
- package/dist/infrastructure/ui/shared/components/molecules/buttonIcon/ButtonIcon.style.js +0 -10
- package/dist/infrastructure/ui/shared/components/molecules/inputField/InputField.d.ts +0 -25
- package/dist/infrastructure/ui/shared/components/molecules/inputField/InputField.js +0 -26
- package/dist/infrastructure/ui/shared/components/molecules/inputField/InputField.style.js +0 -20
- package/dist/infrastructure/ui/shared/components/molecules/selectField/SelectField.js +0 -26
- package/dist/infrastructure/ui/shared/components/molecules/selectField/SelectField.style.js +0 -18
- package/dist/infrastructure/ui/shared/hooks/useScreenSize.d.ts +0 -4
- package/dist/package.json +0 -117
- package/dist/projection/bookedSizeReplaceableProductVariants/viewBookedSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -33
- package/dist/projection/bookedSizeReplaceableProductVariants/viewBookedSizeReplaceableProductVariantsForCheckoutItem.js +0 -8
- package/dist/src/ExpoRoot.d.ts +0 -5
- package/dist/src/ExpoRoot.js +0 -105
- package/dist/src/domain/checkout/command/startCheckout.d.ts +0 -13
- package/dist/src/domain/checkout/command/startCheckout.js +0 -4
- package/dist/src/domain/checkout/model/checkout.d.ts +0 -21
- package/dist/src/domain/checkout/model/checkout.js +0 -32
- package/dist/src/domain/checkout/model/checkoutStarted.d.ts +0 -13
- package/dist/src/domain/checkout/model/checkoutStarted.js +0 -4
- package/dist/src/domain/checkout/model/checkouts.d.ts +0 -7
- package/dist/src/domain/checkout/model/checkouts.js +0 -1
- package/dist/src/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.d.ts +0 -14
- package/dist/src/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.js +0 -7
- package/dist/src/domain/checkoutBooking/model/checkoutBooking.d.ts +0 -8
- package/dist/src/domain/checkoutBooking/model/checkoutBooking.js +0 -9
- package/dist/src/domain/checkoutBooking/model/checkoutBookingBooked.d.ts +0 -14
- package/dist/src/domain/checkoutBooking/model/checkoutBookingBooked.js +0 -7
- package/dist/src/domain/checkoutBooking/model/checkoutBookings.d.ts +0 -7
- package/dist/src/domain/checkoutBooking/model/checkoutBookings.js +0 -1
- package/dist/src/domain/checkoutItem/command/keepCheckoutItem.d.ts +0 -13
- package/dist/src/domain/checkoutItem/command/keepCheckoutItem.js +0 -4
- package/dist/src/domain/checkoutItem/command/replaceCheckoutItem.d.ts +0 -14
- package/dist/src/domain/checkoutItem/command/replaceCheckoutItem.js +0 -7
- package/dist/src/domain/checkoutItem/command/returnCheckoutItem.d.ts +0 -15
- package/dist/src/domain/checkoutItem/command/returnCheckoutItem.js +0 -7
- package/dist/src/domain/checkoutItem/model/checkoutItem.d.ts +0 -24
- package/dist/src/domain/checkoutItem/model/checkoutItem.js +0 -40
- package/dist/src/domain/checkoutItem/model/checkoutItemKept.d.ts +0 -13
- package/dist/src/domain/checkoutItem/model/checkoutItemKept.js +0 -4
- package/dist/src/domain/checkoutItem/model/checkoutItemReplaced.d.ts +0 -13
- package/dist/src/domain/checkoutItem/model/checkoutItemReplaced.js +0 -4
- package/dist/src/domain/checkoutItem/model/checkoutItemReturned.d.ts +0 -13
- package/dist/src/domain/checkoutItem/model/checkoutItemReturned.js +0 -4
- package/dist/src/domain/checkoutItem/model/checkoutItems.d.ts +0 -7
- package/dist/src/domain/checkoutItem/model/checkoutItems.js +0 -1
- package/dist/src/domain/checkoutItem/model/currency.d.ts +0 -5
- package/dist/src/domain/checkoutItem/model/currency.js +0 -6
- package/dist/src/domain/checkoutItem/model/feedbacks.d.ts +0 -3
- package/dist/src/domain/checkoutItem/model/feedbacks.js +0 -1
- package/dist/src/domain/checkoutItem/model/price.d.ts +0 -10
- package/dist/src/domain/uiSetting/command/updateUiSetting.d.ts +0 -15
- package/dist/src/domain/uiSetting/command/updateUiSetting.js +0 -10
- package/dist/src/domain/uiSetting/model/uiSetting.d.ts +0 -9
- package/dist/src/domain/uiSetting/model/uiSetting.js +0 -11
- package/dist/src/domain/uiSetting/model/uiSettingUpdated.d.ts +0 -14
- package/dist/src/domain/uiSetting/model/uiSettingUpdated.js +0 -7
- package/dist/src/domain/uiSetting/model/uiSettings.d.ts +0 -7
- package/dist/src/domain/uiSetting/model/uiSettings.js +0 -1
- package/dist/src/index.d.ts +0 -24
- package/dist/src/index.js +0 -22
- package/dist/src/infrastructure/delivery/baseBootstrap.d.ts +0 -69
- package/dist/src/infrastructure/delivery/baseBootstrap.js +0 -72
- package/dist/src/infrastructure/delivery/bootstrap.d.ts +0 -10
- package/dist/src/infrastructure/delivery/bootstrap.js +0 -60
- package/dist/src/infrastructure/delivery/http/fetchHttpClient.d.ts +0 -14
- package/dist/src/infrastructure/delivery/http/fetchHttpClient.js +0 -20
- package/dist/src/infrastructure/delivery/http/httpClient.d.ts +0 -16
- package/dist/src/infrastructure/delivery/http/httpClient.js +0 -1
- package/dist/src/infrastructure/delivery/mock/checkoutBookingDataSource.d.ts +0 -14
- package/dist/src/infrastructure/delivery/mock/checkoutBookingDataSource.js +0 -12
- package/dist/src/infrastructure/delivery/mock/checkoutDataSource.d.ts +0 -17
- package/dist/src/infrastructure/delivery/mock/checkoutDataSource.js +0 -18
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckoutBookings.d.ts +0 -14
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckoutBookings.js +0 -19
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckoutItems.d.ts +0 -14
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckoutItems.js +0 -25
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckouts.d.ts +0 -11
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckouts.js +0 -27
- package/dist/src/infrastructure/domain/checkout/model/httpCheckouts.d.ts +0 -16
- package/dist/src/infrastructure/domain/checkout/model/httpCheckouts.js +0 -25
- package/dist/src/infrastructure/domain/checkout/model/httpCheckoutsStart.d.ts +0 -5
- package/dist/src/infrastructure/domain/checkout/model/httpCheckoutsStart.js +0 -13
- package/dist/src/infrastructure/domain/checkout/react/useStartCheckout.d.ts +0 -13
- package/dist/src/infrastructure/domain/checkout/react/useStartCheckout.js +0 -10
- package/dist/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +0 -16
- package/dist/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -14
- package/dist/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.d.ts +0 -5
- package/dist/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.js +0 -17
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.d.ts +0 -13
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.js +0 -14
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.d.ts +0 -16
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.js +0 -26
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.d.ts +0 -5
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.js +0 -13
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReplace.d.ts +0 -5
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReplace.js +0 -13
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReturn.d.ts +0 -5
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReturn.js +0 -13
- package/dist/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +0 -13
- package/dist/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.js +0 -12
- package/dist/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +0 -16
- package/dist/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.js +0 -13
- package/dist/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +0 -17
- package/dist/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.js +0 -13
- package/dist/src/infrastructure/domain/uiSetting/model/storageUiSettings.d.ts +0 -17
- package/dist/src/infrastructure/domain/uiSetting/model/storageUiSettings.js +0 -20
- package/dist/src/infrastructure/domain/uiSetting/react/useIncrementIntroShownCount.d.ts +0 -10
- package/dist/src/infrastructure/domain/uiSetting/react/useIncrementIntroShownCount.js +0 -11
- package/dist/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.d.ts +0 -14
- package/dist/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.js +0 -15
- package/dist/src/infrastructure/persistence/asyncStorageStorage.d.ts +0 -5
- package/dist/src/infrastructure/persistence/asyncStorageStorage.js +0 -7
- package/dist/src/infrastructure/persistence/storage.d.ts +0 -7
- package/dist/src/infrastructure/persistence/uiSettingData.d.ts +0 -6
- package/dist/src/infrastructure/persistence/uiSettingData.js +0 -1
- package/dist/src/infrastructure/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.d.ts +0 -12
- package/dist/src/infrastructure/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.js +0 -9
- package/dist/src/infrastructure/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.d.ts +0 -10
- package/dist/src/infrastructure/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.js +0 -12
- package/dist/src/infrastructure/projection/checkout/checkout.d.ts +0 -18
- package/dist/src/infrastructure/projection/checkout/checkout.js +0 -5
- package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.js +0 -10
- package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.js +0 -10
- package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.js +0 -8
- package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.js +0 -8
- package/dist/src/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.d.ts +0 -10
- package/dist/src/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +0 -25
- package/dist/src/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.d.ts +0 -10
- package/dist/src/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js +0 -9
- package/dist/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -10
- package/dist/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -9
- package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.js +0 -9
- package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.js +0 -9
- package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.js +0 -9
- package/dist/src/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.d.ts +0 -10
- package/dist/src/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.js +0 -9
- package/dist/src/infrastructure/projection/uiSetting/react/useShouldIntroBeShown.d.ts +0 -6
- package/dist/src/infrastructure/projection/uiSetting/react/useShouldIntroBeShown.js +0 -7
- package/dist/src/infrastructure/projection/uiSetting/react/useViewIntroShownCount.d.ts +0 -6
- package/dist/src/infrastructure/projection/uiSetting/react/useViewIntroShownCount.js +0 -9
- package/dist/src/infrastructure/projection/uiSetting/react/useViewUiSettingByKey.d.ts +0 -10
- package/dist/src/infrastructure/projection/uiSetting/react/useViewUiSettingByKey.js +0 -12
- package/dist/src/infrastructure/projection/uiSetting/storageUiSettingByKeyView.d.ts +0 -13
- package/dist/src/infrastructure/projection/uiSetting/storageUiSettingByKeyView.js +0 -15
- package/dist/src/infrastructure/ui/Root.d.ts +0 -26
- package/dist/src/infrastructure/ui/Root.js +0 -12
- package/dist/src/infrastructure/ui/components/atoms/price/Price.d.ts +0 -12
- package/dist/src/infrastructure/ui/components/atoms/price/Price.js +0 -28
- package/dist/src/infrastructure/ui/components/atoms/price/Price.style.d.ts +0 -13
- package/dist/src/infrastructure/ui/components/atoms/price/Price.style.js +0 -16
- package/dist/src/infrastructure/ui/components/layouts/body/Body.d.ts +0 -9
- package/dist/src/infrastructure/ui/components/layouts/body/Body.js +0 -7
- package/dist/src/infrastructure/ui/components/layouts/body/Body.style.d.ts +0 -7
- package/dist/src/infrastructure/ui/components/layouts/body/Body.style.js +0 -8
- package/dist/src/infrastructure/ui/components/layouts/tabs/Tabs.d.ts +0 -26
- package/dist/src/infrastructure/ui/components/layouts/tabs/Tabs.js +0 -47
- package/dist/src/infrastructure/ui/components/layouts/tabs/Tabs.style.d.ts +0 -32
- package/dist/src/infrastructure/ui/components/layouts/tabs/Tabs.style.js +0 -35
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +0 -9
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.js +0 -8
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +0 -8
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.js +0 -4
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.d.ts +0 -29
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +0 -28
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +0 -18
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.js +0 -12
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +0 -10
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js +0 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.js +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +0 -12
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.d.ts +0 -8
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +0 -11
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +0 -34
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +0 -11
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +0 -14
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.js +0 -27
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.d.ts +0 -12
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.js +0 -15
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +0 -15
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.d.ts +0 -12
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +0 -15
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +0 -26
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.d.ts +0 -10
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +0 -13
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +0 -13
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.d.ts +0 -22
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.js +0 -58
- package/dist/src/infrastructure/ui/components/templates/SafeAreaScrollView.d.ts +0 -11
- package/dist/src/infrastructure/ui/components/templates/SafeAreaScrollView.js +0 -18
- package/dist/src/infrastructure/ui/hooks/useMediaImage.d.ts +0 -7
- package/dist/src/infrastructure/ui/hooks/useMediaImage.js +0 -12
- package/dist/src/infrastructure/ui/i18n/i18n.d.ts +0 -65
- package/dist/src/infrastructure/ui/i18n/i18n.js +0 -66
- package/dist/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -9
- package/dist/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +0 -21
- package/dist/src/infrastructure/ui/routing/CheckoutMiddleware.d.ts +0 -8
- package/dist/src/infrastructure/ui/routing/CheckoutMiddleware.js +0 -70
- package/dist/src/infrastructure/ui/routing/Routing.d.ts +0 -16
- package/dist/src/infrastructure/ui/routing/Routing.js +0 -64
- package/dist/src/infrastructure/ui/routing/router/Router.d.ts +0 -1
- package/dist/src/infrastructure/ui/routing/router/Router.js +0 -1
- package/dist/src/infrastructure/ui/routing/router/Router.native.d.ts +0 -1
- package/dist/src/infrastructure/ui/routing/router/Router.native.js +0 -1
- package/dist/src/infrastructure/ui/routing/routes.d.ts +0 -10
- package/dist/src/infrastructure/ui/routing/routes.js +0 -11
- package/dist/src/infrastructure/ui/settings/UISettings.d.ts +0 -4
- package/dist/src/infrastructure/ui/settings/UISettings.js +0 -5
- package/dist/src/infrastructure/ui/theme/theme.d.ts +0 -10
- package/dist/src/infrastructure/ui/theme/theme.js +0 -5
- package/dist/src/infrastructure/ui/views/App.d.ts +0 -9
- package/dist/src/infrastructure/ui/views/App.js +0 -13
- package/dist/src/infrastructure/ui/views/intro/Intro.d.ts +0 -6
- package/dist/src/infrastructure/ui/views/intro/Intro.js +0 -51
- package/dist/src/infrastructure/ui/views/intro/Intro.style.d.ts +0 -52
- package/dist/src/infrastructure/ui/views/intro/Intro.style.js +0 -55
- package/dist/src/infrastructure/ui/views/item/Item.d.ts +0 -7
- package/dist/src/infrastructure/ui/views/item/Item.js +0 -104
- package/dist/src/infrastructure/ui/views/item/Item.style.d.ts +0 -15
- package/dist/src/infrastructure/ui/views/item/Item.style.js +0 -18
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +0 -10
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +0 -21
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +0 -9
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +0 -12
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.d.ts +0 -8
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +0 -34
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +0 -19
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +0 -22
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.d.ts +0 -17
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.js +0 -31
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.d.ts +0 -21
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.js +0 -24
- package/dist/src/infrastructure/ui/views/item/components/productVariant/ProductVariant.d.ts +0 -24
- package/dist/src/infrastructure/ui/views/item/components/productVariant/ProductVariant.js +0 -41
- package/dist/src/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.d.ts +0 -45
- package/dist/src/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.js +0 -49
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +0 -13
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +0 -26
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.d.ts +0 -19
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +0 -22
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.d.ts +0 -7
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +0 -22
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.d.ts +0 -25
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +0 -29
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -8
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +0 -30
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.d.ts +0 -12
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +0 -15
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -15
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +0 -46
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -11
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -14
- package/dist/src/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.d.ts +0 -7
- package/dist/src/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.js +0 -25
- package/dist/src/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts +0 -16
- package/dist/src/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.js +0 -19
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.d.ts +0 -7
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +0 -25
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +0 -16
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +0 -19
- package/dist/src/infrastructure/ui/views/summary/Summary.d.ts +0 -6
- package/dist/src/infrastructure/ui/views/summary/Summary.js +0 -51
- package/dist/src/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +0 -9
- package/dist/src/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.js +0 -21
- package/dist/src/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +0 -12
- package/dist/src/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +0 -15
- package/dist/src/projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.d.ts +0 -10
- package/dist/src/projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.js +0 -1
- package/dist/src/projection/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.d.ts +0 -25
- package/dist/src/projection/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.js +0 -8
- package/dist/src/projection/checkout/checkout.d.ts +0 -12
- package/dist/src/projection/checkout/checkout.js +0 -1
- package/dist/src/projection/checkout/viewCheckoutById.d.ts +0 -25
- package/dist/src/projection/checkout/viewCheckoutById.js +0 -8
- package/dist/src/projection/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +0 -25
- package/dist/src/projection/checkout/viewFirstAvailableCheckoutByCustomerId.js +0 -8
- package/dist/src/projection/checkout/viewFiveItemsDiscountByCustomerId.d.ts +0 -24
- package/dist/src/projection/checkout/viewFiveItemsDiscountByCustomerId.js +0 -8
- package/dist/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -17
- package/dist/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -13
- package/dist/src/projection/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +0 -24
- package/dist/src/projection/checkout/viewIsCheckoutEnabledByCustomerId.js +0 -8
- package/dist/src/projection/checkoutBooking/checkoutBooking.d.ts +0 -5
- package/dist/src/projection/checkoutBooking/checkoutBooking.js +0 -1
- package/dist/src/projection/checkoutBooking/viewCheckoutBookingById.d.ts +0 -25
- package/dist/src/projection/checkoutBooking/viewCheckoutBookingById.js +0 -8
- package/dist/src/projection/checkoutItem/checkoutItem.d.ts +0 -45
- package/dist/src/projection/checkoutItem/checkoutItem.js +0 -16
- package/dist/src/projection/checkoutItem/viewCheckoutItemById.d.ts +0 -25
- package/dist/src/projection/checkoutItem/viewCheckoutItemById.js +0 -8
- package/dist/src/projection/feedback/feedback.d.ts +0 -3
- package/dist/src/projection/feedback/feedback.js +0 -1
- package/dist/src/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +0 -25
- package/dist/src/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.js +0 -8
- package/dist/src/projection/returnQuestion/returnQuestion.d.ts +0 -17
- package/dist/src/projection/returnQuestion/returnQuestion.js +0 -11
- package/dist/src/projection/shared/price.js +0 -1
- package/dist/src/projection/shared/size.d.ts +0 -10
- package/dist/src/projection/shared/size.js +0 -1
- package/dist/src/projection/uiSetting/viewUiSettingByKey.d.ts +0 -29
- package/dist/src/projection/uiSetting/viewUiSettingByKey.js +0 -8
- package/dist/src/shared/notifications/infrastructure/persistence/storage.js +0 -1
- package/dist/src/shared/ui/components/atoms/error/Error.js +0 -5
- package/dist/src/shared/ui/components/atoms/error/Error.style.d.ts +0 -6
- package/dist/src/shared/ui/components/atoms/field/Field.style.d.ts +0 -14
- package/dist/src/shared/ui/components/atoms/icon/Icon.style.d.ts +0 -13
- package/dist/src/shared/ui/components/atoms/input/Input.style.d.ts +0 -19
- package/dist/src/shared/ui/components/atoms/spinner/Spinner.d.ts +0 -3
- package/dist/src/shared/ui/components/atoms/spinner/Spinner.style.d.ts +0 -9
- package/dist/src/shared/ui/components/atoms/spinner/Spinner.style.js +0 -10
- package/dist/src/shared/ui/components/layouts/column/Column.js +0 -10
- package/dist/src/shared/ui/components/layouts/column/Column.style.d.ts +0 -12
- package/dist/src/shared/ui/components/layouts/column/Column.style.js +0 -23
- package/dist/src/shared/ui/components/layouts/modal/Modal.style.d.ts +0 -58
- package/dist/src/shared/ui/components/layouts/row/Row.d.ts +0 -6
- package/dist/src/shared/ui/components/layouts/row/Row.js +0 -10
- package/dist/src/shared/ui/components/layouts/row/Row.style.d.ts +0 -13
- package/dist/src/shared/ui/components/layouts/slider/Pagination.d.ts +0 -14
- package/dist/src/shared/ui/components/layouts/slider/Pagination.js +0 -11
- package/dist/src/shared/ui/components/layouts/slider/Pagination.style.d.ts +0 -23
- package/dist/src/shared/ui/components/layouts/slider/Slider.d.ts +0 -20
- package/dist/src/shared/ui/components/layouts/slider/Slider.js +0 -132
- package/dist/src/shared/ui/components/layouts/slider/Slider.style.d.ts +0 -11
- package/dist/src/shared/ui/components/layouts/slider/Slider.style.js +0 -12
- package/dist/src/shared/ui/components/layouts/sticky/Sticky.d.ts +0 -14
- package/dist/src/shared/ui/components/layouts/sticky/Sticky.style.d.ts +0 -46
- package/dist/src/shared/ui/components/molecules/buttonIcon/ButtonIcon.d.ts +0 -16
- package/dist/src/shared/ui/components/molecules/buttonIcon/ButtonIcon.js +0 -7
- package/dist/src/shared/ui/components/molecules/buttonIcon/ButtonIcon.style.d.ts +0 -7
- package/dist/src/shared/ui/components/molecules/inputField/InputField.style.d.ts +0 -17
- package/dist/src/shared/ui/components/molecules/selectField/SelectField.d.ts +0 -26
- package/dist/src/shared/ui/components/molecules/selectField/SelectField.style.d.ts +0 -15
- package/dist/src/shared/ui/hooks/useScreenSize.js +0 -9
- /package/dist/{src/domain → domain}/checkout/command/markCheckoutAsPaid.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkout/command/markCheckoutAsPaid.js +0 -0
- /package/dist/{src/domain → domain}/checkout/model/checkoutPaid.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkout/model/checkoutPaid.js +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/command/giveCheckoutFeedback.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/command/giveCheckoutFeedback.js +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedback.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedback.js +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedbackGiven.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedbackGiven.js +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedbacks.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedbacks.js +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/feedbacks.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/feedbacks.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/checkoutFeedbackDataSource.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/checkoutFeedbackDataSource.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/dataSourceCheckoutFeedbacks.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/dataSourceCheckoutFeedbacks.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacks.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacks.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/react/useGiveCheckoutFeedback.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/react/useGiveCheckoutFeedback.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutFeedback/httpCheckoutFeedbackByCheckoutIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutFeedback/httpCheckoutFeedbackByCheckoutIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/pricing/httpPricingByCheckoutIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/pricing/httpPricingByCheckoutIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/banner/Banner.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/banner/Banner.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/banner/Banner.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/banner/Banner.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestion.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestion.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestions.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestions.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/icon.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/icon.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/useBasePath.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/useBasePath.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/App.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/App.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/Checkout.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/Checkout.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/Checkout.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/Checkout.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/deliveryBanner/DeliveryBanner.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/Feedback.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/Feedback.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/Feedback.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/Feedback.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/Header.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/Header.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/Header.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/Header.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/components/Logo.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/components/Logo.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/components/Logo.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/components/Logo.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/Summary.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/Summary.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/Pricing.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/Pricing.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/Pricing.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/Pricing.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.js +0 -0
- /package/dist/{src/projection → projection}/checkoutFeedback/checkoutFeedback.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkoutFeedback/checkoutFeedback.js +0 -0
- /package/dist/{src/projection → projection}/checkoutFeedback/viewCheckoutFeedbackByCheckoutId.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkoutFeedback/viewCheckoutFeedbackByCheckoutId.js +0 -0
- /package/dist/{src/projection → projection}/checkoutQuestion/checkoutQuestion.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkoutQuestion/checkoutQuestion.js +0 -0
- /package/dist/{src/projection → projection}/checkoutQuestion/listCheckoutQuestionsByCheckoutId.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkoutQuestion/listCheckoutQuestionsByCheckoutId.js +0 -0
- /package/dist/{src/projection → projection}/payment/paymentFlowPayload.d.ts +0 -0
- /package/dist/{src/projection → projection}/payment/paymentFlowPayload.js +0 -0
- /package/dist/{src/projection → projection}/payment/viewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
- /package/dist/{src/projection → projection}/payment/viewPaymentFlowPayloadByCheckoutId.js +0 -0
- /package/dist/{src/projection → projection}/pricing/pricing.d.ts +0 -0
- /package/dist/{src/projection → projection}/pricing/pricing.js +0 -0
- /package/dist/{src/projection → projection}/pricing/viewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{src/projection → projection}/pricing/viewPricingByCheckoutId.js +0 -0
- /package/dist/{src/projection → projection}/shared/price.d.ts +0 -0
- /package/dist/{src/domain/checkoutItem/model → projection/shared}/price.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/createNotification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/createNotification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/removeNotification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/removeNotification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/removeNotification.tes.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/removeNotification.tes.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notificationCreated.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notificationCreated.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notificationRemoved.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notificationRemoved.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/index.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/index.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/delivery/bootstrap.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/delivery/bootstrap.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/react/useCreateNotification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/react/useCreateNotification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/react/useRemoveNotification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/react/useRemoveNotification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/persistence/inMemoryStorageNotifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/persistence/inMemoryStorageNotifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/persistence/notificationDto.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/persistence/notificationDto.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/persistence/storage.d.ts +0 -0
- /package/dist/{src → shared/notifications}/infrastructure/persistence/storage.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/projection/notification/notification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/projection/notification/notification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/projection/notification/storageListNotificationsView.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/projection/notification/storageListNotificationsView.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/NotificationItem.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/NotificationItem.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/Notifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/Notifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/Notifications.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/Notifications.style.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/notificationsRoot.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/notificationsRoot.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/views/Notifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/views/Notifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/listNotifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/listNotifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/notification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/notification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/react/useListNotifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/react/useListNotifications.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/error/Error.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/error/Error.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/error/Error.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/error/Error.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/field/Field.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/field/Field.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/field/Field.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/field/Field.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/icon/Icon.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/icon/Icon.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/icon/Icon.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/icon/Icon.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/input/Input.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/input/Input.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/input/Input.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/input/Input.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/spinner/Spinner.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/spinner/Spinner.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/spinner/Spinner.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/spinner/Spinner.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/column/Column.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/column/Column.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/column/Column.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/column/Column.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/modal/Modal.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/modal/Modal.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/modal/Modal.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/modal/Modal.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/row/Row.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/row/Row.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/row/Row.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/row/Row.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Pagination.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Pagination.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Pagination.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/slider/Pagination.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Slider.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Slider.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Slider.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Slider.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/stack/Stack.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/stack/Stack.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/stack/Stack.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/stack/Stack.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/sticky/Sticky.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/sticky/Sticky.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/sticky/Sticky.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/sticky/Sticky.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/buttonIcon/ButtonIcon.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/buttonIcon/ButtonIcon.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/buttonIcon/ButtonIcon.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/buttonIcon/ButtonIcon.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/inputField/InputField.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/inputField/InputField.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/inputField/InputField.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/inputField/InputField.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/selectField/SelectField.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/selectField/SelectField.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/selectField/SelectField.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/selectField/SelectField.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/toast/Toast.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/toast/Toast.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/toast/Toast.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/toast/Toast.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/hooks/useScreenSize.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/hooks/useScreenSize.js +0 -0
package/dist/src/ExpoRoot.js
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { Panel } from "@lookiero/aurora-next/build/components/molecules/Panel/Panel";
|
|
2
|
-
import { Aurora } from "@lookiero/aurora-next/build/components/primitives/Aurora/Aurora";
|
|
3
|
-
import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
|
|
4
|
-
import { ALIGN } from "@lookiero/aurora-next/build/hooks/useStyler/styler.definition";
|
|
5
|
-
import { fetchFetchTranslation } from "@lookiero/i18n";
|
|
6
|
-
import { i18n } from "@lookiero/i18n-react";
|
|
7
|
-
import { setPaymentsBridge } from "@lookiero/payments-front";
|
|
8
|
-
import { useFonts } from "expo-font";
|
|
9
|
-
import "expo/build/Expo.fx";
|
|
10
|
-
import React, { useCallback, useState } from "react";
|
|
11
|
-
import { Platform, StatusBar, View } from "react-native";
|
|
12
|
-
import "react-native-get-random-values";
|
|
13
|
-
import { version } from "../package.json";
|
|
14
|
-
// import { bootstrap as checkoutMockBootstrap } from "./infrastructure/delivery/bootstrap.mock";
|
|
15
|
-
import { bootstrap as checkoutBootstrap } from "./infrastructure/delivery/bootstrap";
|
|
16
|
-
import { root } from "./infrastructure/ui/Root";
|
|
17
|
-
import { Router } from "./infrastructure/ui/routing/router/Router";
|
|
18
|
-
import { notificationsRoot } from "./shared/notifications";
|
|
19
|
-
import { ButtonIcon } from "./shared/ui/components/molecules/buttonIcon/ButtonIcon";
|
|
20
|
-
const apiUrl = Platform.OS !== "web" ? "https://web2.ps.dev.aws.lookiero.es/checkout/api" : __DEV__ ? "/local-to-dev" : "/api";
|
|
21
|
-
const authToken = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIwOTUxNjAsImV4cCI6MTY3MjI5OTg4MSwiZGlzcGxheU5hbWUiOiJBbGV4YW5kZXIiLCJjb3VudHJ5X2NvZGUiOiJFUyIsImFjY2Vzc1ZpYSI6ImVtYWlsIiwic3Vic2NyaXB0aW9uU3RhcnRpbmdEYXRlIjoiMjAyMC0wOS0wMSIsImltcGVyc29uYXRlZCI6ZmFsc2UsInV1aWQiOiJjZjdjNjQxZi0wZTVjLTQ4NTAtYWUwNy0yNzY3NDdlZGZkMGIiLCJpYXQiOjE2Njk3MDc4ODF9.-nGGMNmMlsq-PsupefyjxH0Z3td7ybM9TpnUV_VIYSg";
|
|
22
|
-
const translationsUrl = Platform.OS !== "web" ? "https://web2.ps.dev.aws.lookiero.es/checkout/i18n" : __DEV__ ? "/local-to-i18n" : "/i18n";
|
|
23
|
-
const translationsApiKey = "f2AfMGaPCZGVbAFWz_OV4GWhBDG_NbZJ";
|
|
24
|
-
const translations = (locale) => `${translationsUrl}/${locale}?key=${translationsApiKey}&no-folding=true`;
|
|
25
|
-
const useRedirect = () => ({
|
|
26
|
-
returnUrl: "https://web2.dev.aws.lookiero.es/user/",
|
|
27
|
-
});
|
|
28
|
-
// eslint-disable-next-line react/prop-types
|
|
29
|
-
const DummyMenu = ({ visible, onClose }) => (React.createElement(Panel, { align: ALIGN.RIGHT, isVisible: visible, onClose: onClose },
|
|
30
|
-
React.createElement(View, { style: { flexDirection: "row", justifyContent: "space-between" } },
|
|
31
|
-
React.createElement(Text, null, "Menu component"),
|
|
32
|
-
React.createElement(ButtonIcon, { name: "close", onPress: onClose }))));
|
|
33
|
-
setPaymentsBridge({
|
|
34
|
-
getToken: () => Promise.resolve(authToken),
|
|
35
|
-
stripeKey: "pk_test_6dwdUfkUm7AaUH3oSje9H0kk",
|
|
36
|
-
stripeUkKey: "pk_test_51Jw6NEHQ1gSUXaQ8KKBLBhmzw7k0TCTN0GQ6qq8oGRmXCn09ptn7zrHX5jsyidv8iBDGuzUDV3R0fko01m5oJzMO00z6XmoLbn",
|
|
37
|
-
commonAssetsPath: "https://cdn.dev.envs.lookiero.tech/commons",
|
|
38
|
-
paymentsAssetsPath: "https://cdn.dev.envs.lookiero.tech/payments-front",
|
|
39
|
-
iOSInAppBrowserBannerHeight: 70,
|
|
40
|
-
useAvoidKeyboard: () => ({
|
|
41
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
42
|
-
// @ts-ignore
|
|
43
|
-
setAvoidKeyboard: (state) => console.log("setAvoidKeyboard: ", state),
|
|
44
|
-
}),
|
|
45
|
-
emitTrackingEvent: (e) => {
|
|
46
|
-
console.log("Tracking Payment event", e);
|
|
47
|
-
},
|
|
48
|
-
appVersion: version,
|
|
49
|
-
googlePay: {
|
|
50
|
-
merchant: {
|
|
51
|
-
merchantId: "0123456789",
|
|
52
|
-
merchantName: "Lookiero",
|
|
53
|
-
},
|
|
54
|
-
isTestEnv: true,
|
|
55
|
-
},
|
|
56
|
-
useFeatureFlags: () => ({
|
|
57
|
-
/* eslint-disable @typescript-eslint/naming-convention */
|
|
58
|
-
ALLOW_GOOGLE_PAY_AT: true,
|
|
59
|
-
ALLOW_GOOGLE_PAY_BE: true,
|
|
60
|
-
ALLOW_GOOGLE_PAY_DE: true,
|
|
61
|
-
ALLOW_GOOGLE_PAY_ES: true,
|
|
62
|
-
ALLOW_GOOGLE_PAY_FR: true,
|
|
63
|
-
ALLOW_GOOGLE_PAY_GB: true,
|
|
64
|
-
ALLOW_GOOGLE_PAY_IT: true,
|
|
65
|
-
ALLOW_GOOGLE_PAY_LU: true,
|
|
66
|
-
ALLOW_GOOGLE_PAY_NL: true,
|
|
67
|
-
ALLOW_GOOGLE_PAY_PT: true,
|
|
68
|
-
ALLOW_GOOGLE_PAY_APP_AT: true,
|
|
69
|
-
ALLOW_GOOGLE_PAY_APP_BE: true,
|
|
70
|
-
ALLOW_GOOGLE_PAY_APP_DE: true,
|
|
71
|
-
ALLOW_GOOGLE_PAY_APP_ES: true,
|
|
72
|
-
ALLOW_GOOGLE_PAY_APP_FR: true,
|
|
73
|
-
ALLOW_GOOGLE_PAY_APP_GB: true,
|
|
74
|
-
ALLOW_GOOGLE_PAY_APP_IT: true,
|
|
75
|
-
ALLOW_GOOGLE_PAY_APP_LU: true,
|
|
76
|
-
ALLOW_GOOGLE_PAY_APP_NL: true,
|
|
77
|
-
ALLOW_GOOGLE_PAY_APP_PT: true,
|
|
78
|
-
/* eslint-enable @typescript-eslint/naming-convention */
|
|
79
|
-
}),
|
|
80
|
-
});
|
|
81
|
-
// const { Component: Messaging } = checkoutMockBootstrap();
|
|
82
|
-
const { Component: Messaging } = checkoutBootstrap({ apiUrl, authToken });
|
|
83
|
-
const I18n = i18n({
|
|
84
|
-
fetchTranslation: fetchFetchTranslation({ endpoint: translations }),
|
|
85
|
-
contextId: "CheckoutI18n",
|
|
86
|
-
});
|
|
87
|
-
const Notifications = notificationsRoot();
|
|
88
|
-
const Root = root({ Messaging, I18n, Notifications, authToken, development: false });
|
|
89
|
-
const ExpoRoot = () => {
|
|
90
|
-
const [fontsLoaded] = useFonts({
|
|
91
|
-
["Romie-Regular"]: require("@lookiero/aurora-fonts/Romie-Regular.ttf"),
|
|
92
|
-
["FoundersGroteskText-Regular"]: require("@lookiero/aurora-fonts/FoundersGroteskText-Regular.ttf"),
|
|
93
|
-
["Canela-Light"]: require("@lookiero/aurora-fonts/Canela-Light.ttf"),
|
|
94
|
-
auroraicons: require("@lookiero/aurora-iconfont/dist/auroraicons.ttf"),
|
|
95
|
-
});
|
|
96
|
-
const [isAccessible, setIsAccessible] = useState();
|
|
97
|
-
const onNotAccessible = useCallback(() => setIsAccessible(false), []);
|
|
98
|
-
return fontsLoaded ? (React.createElement(React.Fragment, null,
|
|
99
|
-
React.createElement(Aurora, { useStack: false },
|
|
100
|
-
isAccessible === false && React.createElement(Text, { heading: true }, "Checkout is not accessible!"),
|
|
101
|
-
React.createElement(Router, null,
|
|
102
|
-
React.createElement(Root, { basePath: "", customerId: "cf7c641f-0e5c-4850-ae07-276747edfd0b", locale: "es", menu: DummyMenu, useRedirect: useRedirect, onNotAccessible: onNotAccessible }))),
|
|
103
|
-
React.createElement(StatusBar, null))) : null;
|
|
104
|
-
};
|
|
105
|
-
export { ExpoRoot };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Command } from "@lookiero/messaging";
|
|
2
|
-
declare const START_CHECKOUT = "start_checkout";
|
|
3
|
-
interface StartCheckoutPayload {
|
|
4
|
-
readonly aggregateId: string;
|
|
5
|
-
}
|
|
6
|
-
interface StartCheckout extends Command<typeof START_CHECKOUT>, StartCheckoutPayload {
|
|
7
|
-
}
|
|
8
|
-
interface StartCheckoutFunction {
|
|
9
|
-
(payload: StartCheckoutPayload): StartCheckout;
|
|
10
|
-
}
|
|
11
|
-
declare const startCheckout: StartCheckoutFunction;
|
|
12
|
-
export type { StartCheckout };
|
|
13
|
-
export { START_CHECKOUT, startCheckout };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { AggregateRoot, CommandHandlerFunction } from "@lookiero/messaging";
|
|
2
|
-
import { MarkCheckoutAsPaid } from "../command/markCheckoutAsPaid";
|
|
3
|
-
import { StartCheckout } from "../command/startCheckout";
|
|
4
|
-
declare enum CheckoutStatus {
|
|
5
|
-
AVAILABLE = "AVAILABLE",
|
|
6
|
-
NOTIFIED = "NOTIFIED",
|
|
7
|
-
STARTED = "STARTED",
|
|
8
|
-
COMPLETED = "COMPLETED",
|
|
9
|
-
PAID = "PAID"
|
|
10
|
-
}
|
|
11
|
-
interface Checkout extends AggregateRoot {
|
|
12
|
-
readonly status: CheckoutStatus;
|
|
13
|
-
readonly customerId: string;
|
|
14
|
-
readonly boxId: string;
|
|
15
|
-
readonly bookingId: string;
|
|
16
|
-
readonly expiresOn: Date;
|
|
17
|
-
}
|
|
18
|
-
declare const startCheckoutHandler: CommandHandlerFunction<StartCheckout, Checkout>;
|
|
19
|
-
declare const markCheckoutAsPaidHandler: CommandHandlerFunction<MarkCheckoutAsPaid, Checkout>;
|
|
20
|
-
export type { Checkout };
|
|
21
|
-
export { CheckoutStatus, startCheckoutHandler, markCheckoutAsPaidHandler };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import invariant from "tiny-invariant";
|
|
2
|
-
import { checkoutPaid } from "./checkoutPaid";
|
|
3
|
-
import { checkoutStarted } from "./checkoutStarted";
|
|
4
|
-
var CheckoutStatus;
|
|
5
|
-
(function (CheckoutStatus) {
|
|
6
|
-
CheckoutStatus["AVAILABLE"] = "AVAILABLE";
|
|
7
|
-
CheckoutStatus["NOTIFIED"] = "NOTIFIED";
|
|
8
|
-
CheckoutStatus["STARTED"] = "STARTED";
|
|
9
|
-
CheckoutStatus["COMPLETED"] = "COMPLETED";
|
|
10
|
-
CheckoutStatus["PAID"] = "PAID";
|
|
11
|
-
})(CheckoutStatus || (CheckoutStatus = {}));
|
|
12
|
-
const startCheckoutHandler = () => async ({ aggregateRoot, command }) => {
|
|
13
|
-
const { aggregateId } = command;
|
|
14
|
-
invariant(aggregateRoot.status !== CheckoutStatus.STARTED, "Checkout is already started");
|
|
15
|
-
invariant(aggregateRoot.status !== CheckoutStatus.COMPLETED, "Checkout is already completed");
|
|
16
|
-
return {
|
|
17
|
-
...aggregateRoot,
|
|
18
|
-
status: CheckoutStatus.STARTED,
|
|
19
|
-
domainEvents: [checkoutStarted({ aggregateId })],
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
const markCheckoutAsPaidHandler = () => async ({ aggregateRoot, command }) => {
|
|
23
|
-
const { aggregateId } = command;
|
|
24
|
-
invariant(aggregateRoot.status !== CheckoutStatus.PAID, "Checkout is already paid");
|
|
25
|
-
invariant(aggregateRoot.status !== CheckoutStatus.COMPLETED, "Checkout is already completed");
|
|
26
|
-
return {
|
|
27
|
-
...aggregateRoot,
|
|
28
|
-
status: CheckoutStatus.PAID,
|
|
29
|
-
domainEvents: [checkoutPaid({ aggregateId })],
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
export { CheckoutStatus, startCheckoutHandler, markCheckoutAsPaidHandler };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DomainEvent } from "@lookiero/messaging";
|
|
2
|
-
declare const CHECKOUT_STARTED = "checkout_started";
|
|
3
|
-
interface CheckoutStartedPayload {
|
|
4
|
-
readonly aggregateId: string;
|
|
5
|
-
}
|
|
6
|
-
interface CheckoutStarted extends DomainEvent<typeof CHECKOUT_STARTED>, CheckoutStartedPayload {
|
|
7
|
-
}
|
|
8
|
-
interface CheckoutStartedFunction {
|
|
9
|
-
(payload: CheckoutStartedPayload): CheckoutStarted;
|
|
10
|
-
}
|
|
11
|
-
declare const checkoutStarted: CheckoutStartedFunction;
|
|
12
|
-
export type { CheckoutStarted };
|
|
13
|
-
export { CHECKOUT_STARTED, checkoutStarted };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RepositoryGetFunction, RepositoryGetFunctionArgs, RepositorySaveFunction, RepositorySaveFunctionArgs } from "@lookiero/messaging";
|
|
2
|
-
import { Checkout } from "./checkout";
|
|
3
|
-
interface CheckoutsGetFunction<CheckoutsGetFunctionArgs extends RepositoryGetFunctionArgs> extends RepositoryGetFunction<Checkout, CheckoutsGetFunctionArgs> {
|
|
4
|
-
}
|
|
5
|
-
interface CheckoutsSaveFunction<CheckoutsSaveFunctionArgs extends RepositorySaveFunctionArgs> extends RepositorySaveFunction<Checkout, CheckoutsSaveFunctionArgs> {
|
|
6
|
-
}
|
|
7
|
-
export type { CheckoutsGetFunction, CheckoutsSaveFunction };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Command } from "@lookiero/messaging";
|
|
2
|
-
declare const BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM = "book_checkout_booking_for_checkout_item";
|
|
3
|
-
interface BookCheckoutBookingForCheckoutItemPayload {
|
|
4
|
-
readonly aggregateId: string;
|
|
5
|
-
readonly checkoutItemId: string;
|
|
6
|
-
}
|
|
7
|
-
interface BookCheckoutBookingForCheckoutItem extends Command<typeof BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM>, BookCheckoutBookingForCheckoutItemPayload {
|
|
8
|
-
}
|
|
9
|
-
interface BookCheckoutBookingForCheckoutItemFunction {
|
|
10
|
-
(payload: BookCheckoutBookingForCheckoutItemPayload): BookCheckoutBookingForCheckoutItem;
|
|
11
|
-
}
|
|
12
|
-
declare const bookCheckoutBookingForCheckoutItem: BookCheckoutBookingForCheckoutItemFunction;
|
|
13
|
-
export type { BookCheckoutBookingForCheckoutItem };
|
|
14
|
-
export { BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM, bookCheckoutBookingForCheckoutItem };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { command } from "@lookiero/messaging";
|
|
2
|
-
const BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM = "book_checkout_booking_for_checkout_item";
|
|
3
|
-
const bookCheckoutBookingForCheckoutItem = ({ aggregateId, ...payload }) => ({
|
|
4
|
-
...command({ aggregateId, name: BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM }),
|
|
5
|
-
...payload,
|
|
6
|
-
});
|
|
7
|
-
export { BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM, bookCheckoutBookingForCheckoutItem };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AggregateRoot, CommandHandlerFunction } from "@lookiero/messaging";
|
|
2
|
-
import { BookCheckoutBookingForCheckoutItem } from "../command/bookCheckoutBookingForCheckoutItem";
|
|
3
|
-
interface CheckoutBooking extends AggregateRoot {
|
|
4
|
-
readonly checkoutItemIds: string[];
|
|
5
|
-
}
|
|
6
|
-
declare const bookCheckoutBookingForCheckoutItemHandler: CommandHandlerFunction<BookCheckoutBookingForCheckoutItem, CheckoutBooking>;
|
|
7
|
-
export type { CheckoutBooking };
|
|
8
|
-
export { bookCheckoutBookingForCheckoutItemHandler };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { checkoutBookingBooked } from "./checkoutBookingBooked";
|
|
2
|
-
const bookCheckoutBookingForCheckoutItemHandler = () => async ({ aggregateRoot, command }) => {
|
|
3
|
-
const { aggregateId, checkoutItemId } = command;
|
|
4
|
-
return {
|
|
5
|
-
...aggregateRoot,
|
|
6
|
-
domainEvents: [checkoutBookingBooked({ aggregateId, checkoutItemId })],
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export { bookCheckoutBookingForCheckoutItemHandler };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { DomainEvent } from "@lookiero/messaging";
|
|
2
|
-
declare const CHECKOUT_BOOKING_BOOKED = "checkout_booking_booked";
|
|
3
|
-
interface CheckoutBookingBookedPayload {
|
|
4
|
-
readonly aggregateId: string;
|
|
5
|
-
readonly checkoutItemId: string;
|
|
6
|
-
}
|
|
7
|
-
interface CheckoutBookingBooked extends DomainEvent<typeof CHECKOUT_BOOKING_BOOKED>, CheckoutBookingBookedPayload {
|
|
8
|
-
}
|
|
9
|
-
interface CheckoutBookingBookedFunction {
|
|
10
|
-
(payload: CheckoutBookingBookedPayload): CheckoutBookingBooked;
|
|
11
|
-
}
|
|
12
|
-
declare const checkoutBookingBooked: CheckoutBookingBookedFunction;
|
|
13
|
-
export type { CheckoutBookingBooked };
|
|
14
|
-
export { CHECKOUT_BOOKING_BOOKED, checkoutBookingBooked };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { domainEvent } from "@lookiero/messaging";
|
|
2
|
-
const CHECKOUT_BOOKING_BOOKED = "checkout_booking_booked";
|
|
3
|
-
const checkoutBookingBooked = ({ aggregateId, ...payload }) => ({
|
|
4
|
-
...domainEvent({ aggregateId, name: CHECKOUT_BOOKING_BOOKED }),
|
|
5
|
-
...payload,
|
|
6
|
-
});
|
|
7
|
-
export { CHECKOUT_BOOKING_BOOKED, checkoutBookingBooked };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RepositoryGetFunction, RepositoryGetFunctionArgs, RepositorySaveFunction, RepositorySaveFunctionArgs } from "@lookiero/messaging";
|
|
2
|
-
import { CheckoutBooking } from "./checkoutBooking";
|
|
3
|
-
interface CheckoutBookingsGetFunction<CheckoutBookingsGetFunctionArgs extends RepositoryGetFunctionArgs> extends RepositoryGetFunction<CheckoutBooking, CheckoutBookingsGetFunctionArgs> {
|
|
4
|
-
}
|
|
5
|
-
interface CheckoutBookingsSaveFunction<CheckoutBookingsSaveFunctionArgs extends RepositorySaveFunctionArgs> extends RepositorySaveFunction<CheckoutBooking, CheckoutBookingsSaveFunctionArgs> {
|
|
6
|
-
}
|
|
7
|
-
export type { CheckoutBookingsGetFunction, CheckoutBookingsSaveFunction };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Command } from "@lookiero/messaging";
|
|
2
|
-
declare const KEEP_CHECKOUT_ITEM = "keep_checkout_item";
|
|
3
|
-
interface KeepCheckoutItemPayload {
|
|
4
|
-
readonly aggregateId: string;
|
|
5
|
-
}
|
|
6
|
-
interface KeepCheckoutItem extends Command<typeof KEEP_CHECKOUT_ITEM>, KeepCheckoutItemPayload {
|
|
7
|
-
}
|
|
8
|
-
interface KeepCheckoutItemFunction {
|
|
9
|
-
(payload: KeepCheckoutItemPayload): KeepCheckoutItem;
|
|
10
|
-
}
|
|
11
|
-
declare const keepCheckoutItem: KeepCheckoutItemFunction;
|
|
12
|
-
export type { KeepCheckoutItem };
|
|
13
|
-
export { KEEP_CHECKOUT_ITEM, keepCheckoutItem };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Command } from "@lookiero/messaging";
|
|
2
|
-
declare const REPLACE_CHECKOUT_ITEM = "replace_checkout_item";
|
|
3
|
-
interface ReplaceCheckoutItemPayload {
|
|
4
|
-
readonly aggregateId: string;
|
|
5
|
-
readonly replacedFor: string;
|
|
6
|
-
}
|
|
7
|
-
interface ReplaceCheckoutItem extends Command<typeof REPLACE_CHECKOUT_ITEM>, ReplaceCheckoutItemPayload {
|
|
8
|
-
}
|
|
9
|
-
interface ReplaceCheckoutItemFunction {
|
|
10
|
-
(payload: ReplaceCheckoutItemPayload): ReplaceCheckoutItem;
|
|
11
|
-
}
|
|
12
|
-
declare const replaceCheckoutItem: ReplaceCheckoutItemFunction;
|
|
13
|
-
export type { ReplaceCheckoutItem };
|
|
14
|
-
export { REPLACE_CHECKOUT_ITEM, replaceCheckoutItem };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { command } from "@lookiero/messaging";
|
|
2
|
-
const REPLACE_CHECKOUT_ITEM = "replace_checkout_item";
|
|
3
|
-
const replaceCheckoutItem = ({ aggregateId, ...payload }) => ({
|
|
4
|
-
...command({ aggregateId, name: REPLACE_CHECKOUT_ITEM }),
|
|
5
|
-
...payload,
|
|
6
|
-
});
|
|
7
|
-
export { REPLACE_CHECKOUT_ITEM, replaceCheckoutItem };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Command } from "@lookiero/messaging";
|
|
2
|
-
import { Feedbacks } from "../model/feedbacks";
|
|
3
|
-
declare const RETURN_CHECKOUT_ITEM = "return_checkout_item";
|
|
4
|
-
interface ReturnCheckoutItemPayload {
|
|
5
|
-
readonly aggregateId: string;
|
|
6
|
-
readonly feedbacks: Feedbacks;
|
|
7
|
-
}
|
|
8
|
-
interface ReturnCheckoutItem extends Command<typeof RETURN_CHECKOUT_ITEM>, ReturnCheckoutItemPayload {
|
|
9
|
-
}
|
|
10
|
-
interface ReturnCheckoutItemFunction {
|
|
11
|
-
(payload: ReturnCheckoutItemPayload): ReturnCheckoutItem;
|
|
12
|
-
}
|
|
13
|
-
declare const returnCheckoutItem: ReturnCheckoutItemFunction;
|
|
14
|
-
export type { ReturnCheckoutItem };
|
|
15
|
-
export { RETURN_CHECKOUT_ITEM, returnCheckoutItem };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { command } from "@lookiero/messaging";
|
|
2
|
-
const RETURN_CHECKOUT_ITEM = "return_checkout_item";
|
|
3
|
-
const returnCheckoutItem = ({ aggregateId, ...payload }) => ({
|
|
4
|
-
...command({ aggregateId, name: RETURN_CHECKOUT_ITEM }),
|
|
5
|
-
...payload,
|
|
6
|
-
});
|
|
7
|
-
export { RETURN_CHECKOUT_ITEM, returnCheckoutItem };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AggregateRoot, CommandHandlerFunction } from "@lookiero/messaging";
|
|
2
|
-
import { KeepCheckoutItem } from "../command/keepCheckoutItem";
|
|
3
|
-
import { ReplaceCheckoutItem } from "../command/replaceCheckoutItem";
|
|
4
|
-
import { ReturnCheckoutItem } from "../command/returnCheckoutItem";
|
|
5
|
-
import { Feedbacks } from "./feedbacks";
|
|
6
|
-
import { Price } from "./price";
|
|
7
|
-
declare enum CheckoutItemStatus {
|
|
8
|
-
INITIAL = "INITIAL",
|
|
9
|
-
KEPT = "KEPT",
|
|
10
|
-
RETURNED = "RETURNED",
|
|
11
|
-
REPLACED = "REPLACED",
|
|
12
|
-
EXPIRED = "EXPIRED"
|
|
13
|
-
}
|
|
14
|
-
interface CheckoutItem extends AggregateRoot {
|
|
15
|
-
readonly status: CheckoutItemStatus;
|
|
16
|
-
readonly price: Price;
|
|
17
|
-
readonly feedbacks: Feedbacks;
|
|
18
|
-
readonly replacedFor?: string;
|
|
19
|
-
}
|
|
20
|
-
declare const keepCheckoutItemHandler: CommandHandlerFunction<KeepCheckoutItem, CheckoutItem>;
|
|
21
|
-
declare const returnCheckoutItemHandler: CommandHandlerFunction<ReturnCheckoutItem, CheckoutItem>;
|
|
22
|
-
declare const replaceCheckoutItemHandler: CommandHandlerFunction<ReplaceCheckoutItem, CheckoutItem>;
|
|
23
|
-
export type { CheckoutItem };
|
|
24
|
-
export { CheckoutItemStatus, keepCheckoutItemHandler, returnCheckoutItemHandler, replaceCheckoutItemHandler };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import invariant from "tiny-invariant";
|
|
2
|
-
import { checkoutItemKept } from "./checkoutItemKept";
|
|
3
|
-
import { checkoutItemReplaced } from "./checkoutItemReplaced";
|
|
4
|
-
import { checkoutItemReturned } from "./checkoutItemReturned";
|
|
5
|
-
var CheckoutItemStatus;
|
|
6
|
-
(function (CheckoutItemStatus) {
|
|
7
|
-
CheckoutItemStatus["INITIAL"] = "INITIAL";
|
|
8
|
-
CheckoutItemStatus["KEPT"] = "KEPT";
|
|
9
|
-
CheckoutItemStatus["RETURNED"] = "RETURNED";
|
|
10
|
-
CheckoutItemStatus["REPLACED"] = "REPLACED";
|
|
11
|
-
CheckoutItemStatus["EXPIRED"] = "EXPIRED";
|
|
12
|
-
})(CheckoutItemStatus || (CheckoutItemStatus = {}));
|
|
13
|
-
const keepCheckoutItemHandler = () => async ({ aggregateRoot, command }) => {
|
|
14
|
-
const { aggregateId } = command;
|
|
15
|
-
invariant(aggregateRoot.status !== CheckoutItemStatus.KEPT, "CheckoutItem is already kept");
|
|
16
|
-
return {
|
|
17
|
-
...aggregateRoot,
|
|
18
|
-
status: CheckoutItemStatus.KEPT,
|
|
19
|
-
domainEvents: [checkoutItemKept({ aggregateId })],
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
const returnCheckoutItemHandler = () => async ({ aggregateRoot, command }) => {
|
|
23
|
-
const { aggregateId, feedbacks } = command;
|
|
24
|
-
return {
|
|
25
|
-
...aggregateRoot,
|
|
26
|
-
feedbacks,
|
|
27
|
-
status: CheckoutItemStatus.RETURNED,
|
|
28
|
-
domainEvents: [checkoutItemReturned({ aggregateId })],
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
const replaceCheckoutItemHandler = () => async ({ aggregateRoot, command }) => {
|
|
32
|
-
const { aggregateId, replacedFor } = command;
|
|
33
|
-
return {
|
|
34
|
-
...aggregateRoot,
|
|
35
|
-
replacedFor,
|
|
36
|
-
status: CheckoutItemStatus.REPLACED,
|
|
37
|
-
domainEvents: [checkoutItemReplaced({ aggregateId })],
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export { CheckoutItemStatus, keepCheckoutItemHandler, returnCheckoutItemHandler, replaceCheckoutItemHandler };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DomainEvent } from "@lookiero/messaging";
|
|
2
|
-
declare const CHECKOUT_ITEM_KEPT = "checkout_item_kept";
|
|
3
|
-
interface CheckoutItemKeptPayload {
|
|
4
|
-
readonly aggregateId: string;
|
|
5
|
-
}
|
|
6
|
-
interface CheckoutItemKept extends DomainEvent<typeof CHECKOUT_ITEM_KEPT>, CheckoutItemKeptPayload {
|
|
7
|
-
}
|
|
8
|
-
interface CheckoutItemKeptFunction {
|
|
9
|
-
(payload: CheckoutItemKeptPayload): CheckoutItemKept;
|
|
10
|
-
}
|
|
11
|
-
declare const checkoutItemKept: CheckoutItemKeptFunction;
|
|
12
|
-
export type { CheckoutItemKept };
|
|
13
|
-
export { CHECKOUT_ITEM_KEPT, checkoutItemKept };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DomainEvent } from "@lookiero/messaging";
|
|
2
|
-
declare const CHECKOUT_ITEM_REPLACED = "checkout_item_replaced";
|
|
3
|
-
interface CheckoutItemReplacedPayload {
|
|
4
|
-
readonly aggregateId: string;
|
|
5
|
-
}
|
|
6
|
-
interface CheckoutItemReplaced extends DomainEvent<typeof CHECKOUT_ITEM_REPLACED>, CheckoutItemReplacedPayload {
|
|
7
|
-
}
|
|
8
|
-
interface CheckoutItemReplacedFunction {
|
|
9
|
-
(payload: CheckoutItemReplacedPayload): CheckoutItemReplaced;
|
|
10
|
-
}
|
|
11
|
-
declare const checkoutItemReplaced: CheckoutItemReplacedFunction;
|
|
12
|
-
export type { CheckoutItemReplaced };
|
|
13
|
-
export { CHECKOUT_ITEM_REPLACED, checkoutItemReplaced };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { domainEvent } from "@lookiero/messaging";
|
|
2
|
-
const CHECKOUT_ITEM_REPLACED = "checkout_item_replaced";
|
|
3
|
-
const checkoutItemReplaced = ({ aggregateId }) => domainEvent({ aggregateId, name: CHECKOUT_ITEM_REPLACED });
|
|
4
|
-
export { CHECKOUT_ITEM_REPLACED, checkoutItemReplaced };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DomainEvent } from "@lookiero/messaging";
|
|
2
|
-
declare const CHECKOUT_ITEM_RETURNED = "checkout_item_returned";
|
|
3
|
-
interface CheckoutItemReturnedPayload {
|
|
4
|
-
readonly aggregateId: string;
|
|
5
|
-
}
|
|
6
|
-
interface CheckoutItemReturned extends DomainEvent<typeof CHECKOUT_ITEM_RETURNED>, CheckoutItemReturnedPayload {
|
|
7
|
-
}
|
|
8
|
-
interface CheckoutItemReturnedFunction {
|
|
9
|
-
(payload: CheckoutItemReturnedPayload): CheckoutItemReturned;
|
|
10
|
-
}
|
|
11
|
-
declare const checkoutItemReturned: CheckoutItemReturnedFunction;
|
|
12
|
-
export type { CheckoutItemReturned };
|
|
13
|
-
export { CHECKOUT_ITEM_RETURNED, checkoutItemReturned };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { domainEvent } from "@lookiero/messaging";
|
|
2
|
-
const CHECKOUT_ITEM_RETURNED = "checkout_item_returned";
|
|
3
|
-
const checkoutItemReturned = ({ aggregateId }) => domainEvent({ aggregateId, name: CHECKOUT_ITEM_RETURNED });
|
|
4
|
-
export { CHECKOUT_ITEM_RETURNED, checkoutItemReturned };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RepositoryGetFunction, RepositoryGetFunctionArgs, RepositorySaveFunction, RepositorySaveFunctionArgs } from "@lookiero/messaging";
|
|
2
|
-
import { CheckoutItem } from "./checkoutItem";
|
|
3
|
-
interface CheckoutItemsGetFunction<CheckoutItemsGetFunctionArgs extends RepositoryGetFunctionArgs> extends RepositoryGetFunction<CheckoutItem, CheckoutItemsGetFunctionArgs> {
|
|
4
|
-
}
|
|
5
|
-
interface CheckoutItemsSaveFunction<CheckoutItemsSaveFunctionArgs extends RepositorySaveFunctionArgs> extends RepositorySaveFunction<CheckoutItem, CheckoutItemsSaveFunctionArgs> {
|
|
6
|
-
}
|
|
7
|
-
export type { CheckoutItemsGetFunction, CheckoutItemsSaveFunction };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Command } from "@lookiero/messaging";
|
|
2
|
-
declare const UPDATE_UI_SETTING = "update_ui_setting";
|
|
3
|
-
interface UpdateUiSettingPayload {
|
|
4
|
-
readonly aggregateId: string;
|
|
5
|
-
readonly key: string;
|
|
6
|
-
readonly value: unknown;
|
|
7
|
-
}
|
|
8
|
-
interface UpdateUiSetting extends Command<typeof UPDATE_UI_SETTING>, UpdateUiSettingPayload {
|
|
9
|
-
}
|
|
10
|
-
interface UpdateUiSettingFunction {
|
|
11
|
-
(payload: UpdateUiSettingPayload): UpdateUiSetting;
|
|
12
|
-
}
|
|
13
|
-
declare const updateUiSetting: UpdateUiSettingFunction;
|
|
14
|
-
export type { UpdateUiSetting };
|
|
15
|
-
export { UPDATE_UI_SETTING, updateUiSetting };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { command } from "@lookiero/messaging";
|
|
2
|
-
const UPDATE_UI_SETTING = "update_ui_setting";
|
|
3
|
-
const updateUiSetting = ({ aggregateId, ...payload }) => ({
|
|
4
|
-
...command({
|
|
5
|
-
aggregateId,
|
|
6
|
-
name: UPDATE_UI_SETTING,
|
|
7
|
-
}),
|
|
8
|
-
...payload,
|
|
9
|
-
});
|
|
10
|
-
export { UPDATE_UI_SETTING, updateUiSetting };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AggregateRoot, CommandHandlerFunction } from "@lookiero/messaging";
|
|
2
|
-
import { UpdateUiSetting } from "../command/updateUiSetting";
|
|
3
|
-
interface UiSetting extends AggregateRoot {
|
|
4
|
-
readonly key: string;
|
|
5
|
-
readonly value: unknown;
|
|
6
|
-
}
|
|
7
|
-
declare const updateUiSettingHandler: CommandHandlerFunction<UpdateUiSetting, UiSetting>;
|
|
8
|
-
export type { UiSetting };
|
|
9
|
-
export { updateUiSettingHandler };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { uiSettingUpdated } from "./uiSettingUpdated";
|
|
2
|
-
const updateUiSettingHandler = () => async ({ aggregateRoot, command }) => {
|
|
3
|
-
const { aggregateId, key, value } = command;
|
|
4
|
-
return {
|
|
5
|
-
...aggregateRoot,
|
|
6
|
-
key,
|
|
7
|
-
value,
|
|
8
|
-
domainEvents: [uiSettingUpdated({ aggregateId, key })],
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export { updateUiSettingHandler };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { DomainEvent } from "@lookiero/messaging";
|
|
2
|
-
declare const UI_SETTING_UPDATED = "ui_setting_updated";
|
|
3
|
-
interface UiSettingUpdatedPayload {
|
|
4
|
-
readonly aggregateId: string;
|
|
5
|
-
readonly key: string;
|
|
6
|
-
}
|
|
7
|
-
interface UiSettingUpdated extends DomainEvent<typeof UI_SETTING_UPDATED>, UiSettingUpdatedPayload {
|
|
8
|
-
}
|
|
9
|
-
interface UiSettingUpdatedFunction {
|
|
10
|
-
(payload: UiSettingUpdatedPayload): UiSettingUpdated;
|
|
11
|
-
}
|
|
12
|
-
declare const uiSettingUpdated: UiSettingUpdatedFunction;
|
|
13
|
-
export type { UiSettingUpdated };
|
|
14
|
-
export { UI_SETTING_UPDATED, uiSettingUpdated };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { domainEvent } from "@lookiero/messaging";
|
|
2
|
-
const UI_SETTING_UPDATED = "ui_setting_updated";
|
|
3
|
-
const uiSettingUpdated = ({ aggregateId, key }) => ({
|
|
4
|
-
...domainEvent({ aggregateId, name: UI_SETTING_UPDATED }),
|
|
5
|
-
key,
|
|
6
|
-
});
|
|
7
|
-
export { UI_SETTING_UPDATED, uiSettingUpdated };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RepositoryGetFunction, RepositoryGetFunctionArgs, RepositorySaveFunction, RepositorySaveFunctionArgs } from "@lookiero/messaging";
|
|
2
|
-
import { UiSetting } from "./uiSetting";
|
|
3
|
-
interface UiSettingGetFunction<UiSettingGetFunctionArgs extends RepositoryGetFunctionArgs> extends RepositoryGetFunction<UiSetting, UiSettingGetFunctionArgs> {
|
|
4
|
-
}
|
|
5
|
-
interface UiSettingSaveFunction<UiSettingSaveFunctionArgs extends RepositorySaveFunctionArgs> extends RepositorySaveFunction<UiSetting, UiSettingSaveFunctionArgs> {
|
|
6
|
-
}
|
|
7
|
-
export type { UiSettingGetFunction, UiSettingSaveFunction };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|