@lookiero/checkout 0.2.11 → 0.2.13
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/command/startCheckout.d.ts +2 -1
- package/dist/domain/checkout/model/checkout.d.ts +2 -1
- package/dist/domain/checkout/model/checkouts.d.ts +1 -1
- package/dist/domain/checkoutBooking/command/bookSizeReplaceableProductVariantsForCheckoutItem.d.ts +2 -1
- package/dist/domain/checkoutBooking/command/bookSizeReplaceableProductVariantsForCheckoutItem.js +1 -1
- package/dist/domain/checkoutBooking/model/checkoutBooking.d.ts +2 -1
- package/dist/domain/checkoutBooking/model/checkoutBookingBooked.d.ts +2 -1
- package/dist/domain/checkoutBooking/model/checkoutBookings.d.ts +1 -1
- package/dist/domain/checkoutItem/command/keepCheckoutItem.d.ts +13 -0
- package/dist/domain/checkoutItem/command/keepCheckoutItem.js +4 -0
- package/dist/domain/checkoutItem/model/checkoutItem.d.ts +15 -0
- package/dist/domain/checkoutItem/model/checkoutItem.js +20 -0
- package/dist/domain/checkoutItem/model/checkoutItemKept.d.ts +13 -0
- package/dist/domain/checkoutItem/model/checkoutItemKept.js +4 -0
- package/dist/domain/checkoutItem/model/checkoutItems.d.ts +7 -0
- package/dist/domain/checkoutItem/model/checkoutItems.js +1 -0
- package/dist/domain/uiSetting/command/updateUiSetting.d.ts +2 -1
- package/dist/domain/uiSetting/model/uiSetting.d.ts +2 -1
- package/dist/domain/uiSetting/model/uiSettingUpdated.d.ts +2 -1
- package/dist/domain/uiSetting/model/uiSettings.d.ts +1 -1
- package/dist/infrastructure/delivery/baseBootstrap.d.ts +11 -2
- package/dist/infrastructure/delivery/baseBootstrap.js +11 -4
- package/dist/infrastructure/delivery/bootstrap.js +6 -0
- package/dist/infrastructure/delivery/bootstrap.mock.js +20 -38
- package/dist/infrastructure/delivery/http/httpClient.d.ts +1 -1
- package/dist/infrastructure/delivery/mock/checkoutDataSource.d.ts +17 -0
- package/dist/infrastructure/delivery/mock/checkoutDataSource.js +18 -0
- package/dist/infrastructure/delivery/mock/dataSourceCheckoutItems.d.ts +14 -0
- package/dist/infrastructure/delivery/mock/dataSourceCheckoutItems.js +21 -0
- package/dist/infrastructure/delivery/mock/dataSourceCheckouts.d.ts +11 -0
- package/dist/infrastructure/delivery/mock/dataSourceCheckouts.js +27 -0
- package/dist/infrastructure/domain/checkout/model/httpCheckoutsStart.js +1 -2
- package/dist/infrastructure/domain/checkoutItem/model/httpCheckoutItems.d.ts +16 -0
- package/dist/infrastructure/domain/checkoutItem/model/httpCheckoutItems.js +17 -0
- package/dist/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.d.ts +5 -0
- package/dist/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.js +13 -0
- package/dist/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +13 -0
- package/dist/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.js +12 -0
- package/dist/infrastructure/persistence/storage.d.ts +1 -1
- package/dist/infrastructure/persistence/uiSettingData.d.ts +1 -1
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/httpBookedSizeReplaceableProductVariantsForCheckoutItemView.d.ts +2 -1
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/httpBookedSizeReplaceableProductVariantsForCheckoutItemView.js +1 -1
- package/dist/infrastructure/projection/checkout/checkout.d.ts +3 -38
- package/dist/infrastructure/projection/checkout/checkout.mock.d.ts +2 -1
- package/dist/infrastructure/projection/checkout/checkout.mock.js +1 -33
- package/dist/infrastructure/projection/checkoutItem/checkoutItem.d.ts +44 -0
- package/dist/infrastructure/projection/checkoutItem/checkoutItem.js +39 -0
- package/dist/infrastructure/projection/checkoutItem/checkoutItem.mock.d.ts +18 -0
- package/dist/infrastructure/projection/checkoutItem/checkoutItem.mock.js +37 -0
- package/dist/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +12 -0
- package/dist/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.js +12 -0
- package/dist/infrastructure/ui/Root.d.ts +2 -1
- package/dist/infrastructure/ui/components/atoms/price/Price.d.ts +1 -1
- package/dist/infrastructure/ui/routing/CheckoutMiddleware.js +1 -1
- package/dist/infrastructure/ui/views/item/Item.js +1 -3
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +1 -1
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +1 -1
- package/dist/infrastructure/ui/views/item/components/productVariantActions/ProductVariantActions.d.ts +1 -1
- package/dist/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +1 -1
- package/dist/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.d.ts +1 -1
- package/dist/projection/bookedSizeReplaceableProductVariants/viewBookedSizeReplaceableProductVariantsForCheckoutItem.d.ts +2 -1
- package/dist/projection/checkout/checkout.d.ts +2 -68
- package/dist/projection/checkout/checkout.js +1 -29
- package/dist/projection/checkout/viewFiveItemsDiscountByCustomerId.d.ts +2 -1
- package/dist/projection/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +2 -1
- package/dist/projection/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +2 -1
- package/dist/projection/checkoutItem/checkoutItem.d.ts +62 -0
- package/dist/projection/checkoutItem/checkoutItem.js +21 -0
- package/dist/projection/checkoutItem/viewCheckoutItemById.d.ts +25 -0
- package/dist/projection/checkoutItem/viewCheckoutItemById.js +8 -0
- package/dist/projection/uiSetting/viewUiSettingByKey.d.ts +2 -1
- package/dist/projection/uiSetting/viewUiSettingByKey.js +1 -1
- package/package.json +9 -10
|
@@ -25,4 +25,5 @@ interface ViewUiSettingByKeyHandlerFunctionArgs extends QueryHandlerFunctionArgs
|
|
|
25
25
|
readonly view: UiSettingByKeyView;
|
|
26
26
|
}
|
|
27
27
|
declare const viewUiSettingByKeyHandler: QueryHandlerFunction<ViewUiSettingByKey, ViewUiSettingByKeyResult, ViewUiSettingByKeyHandlerFunctionArgs>;
|
|
28
|
-
export { UiSettingProjection,
|
|
28
|
+
export type { UiSettingProjection, UiSettingByKeyView };
|
|
29
|
+
export { VIEW_UI_SETTING_BY_KEY, viewUiSettingByKey, viewUiSettingByKeyHandler };
|
|
@@ -5,4 +5,4 @@ const viewUiSettingByKey = (payload) => ({
|
|
|
5
5
|
...payload,
|
|
6
6
|
});
|
|
7
7
|
const viewUiSettingByKeyHandler = ({ view }) => async ({ key }) => view({ key });
|
|
8
|
-
export { VIEW_UI_SETTING_BY_KEY, viewUiSettingByKey, viewUiSettingByKeyHandler
|
|
8
|
+
export { VIEW_UI_SETTING_BY_KEY, viewUiSettingByKey, viewUiSettingByKeyHandler };
|
package/package.json
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lookiero/checkout",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.13",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": "
|
|
10
|
+
"node": ">=14.20.0 <15 >=18.9.0"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
|
-
"type-check": "tsc --project ./tsconfig.json --noemit --incremental",
|
|
14
13
|
"start": "expo start",
|
|
15
14
|
"android": "expo start --android",
|
|
16
15
|
"ios": "expo start --ios",
|
|
17
16
|
"web": "expo start --web",
|
|
18
17
|
"export-analyze-web": "BUNDLE_ANALYZE=true NODE_ENV=production expo export:web",
|
|
19
18
|
"build": "tsc -b tsconfig.build.json",
|
|
20
|
-
"build:app": "
|
|
19
|
+
"build:app": "tsc -p ./tsconfig.build-app.json --noemit && ENTRY_POINT='./src/Expo.tsx' NODE_ENV=production expo export:web --clear",
|
|
21
20
|
"lint": "eslint --fix --cache --cache-location ./node_modules/.cache/.eslintcache --ext ts,tsx .",
|
|
22
21
|
"format": "prettier --write \"**/*.+(json|css|ts|tsx|md)\"",
|
|
23
|
-
"test": "jest",
|
|
22
|
+
"test": "tsc -p ./tsconfig.test.json --noemit && jest",
|
|
24
23
|
"test:coverage": "jest --coverage --coverageReporters=text --detectOpenHandles --forceExit --silent"
|
|
25
24
|
},
|
|
26
25
|
"dependencies": {
|
|
@@ -39,10 +38,10 @@
|
|
|
39
38
|
"react": "^18.0.0",
|
|
40
39
|
"react-dom": "^18.0.0",
|
|
41
40
|
"react-native": "^0.69.4",
|
|
42
|
-
"react-native-web": "^0.18.
|
|
41
|
+
"react-native-web": "^0.18.9"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
|
-
"@babel/core": "^7.
|
|
44
|
+
"@babel/core": "^7.19.1",
|
|
46
45
|
"@expo/webpack-config": "^0.17.2",
|
|
47
46
|
"@lookiero/aurora-fonts": "^1.0.6",
|
|
48
47
|
"@lookiero/aurora-iconfont": "^2.0.37",
|
|
@@ -56,14 +55,14 @@
|
|
|
56
55
|
"@types/react-dom": "~18.0.0",
|
|
57
56
|
"@types/react-native": "~0.69.1",
|
|
58
57
|
"@types/uuid": "^8.3.4",
|
|
59
|
-
"eslint": "^8.
|
|
58
|
+
"eslint": "^8.24.0",
|
|
60
59
|
"eslint-config-prettier": "^8.5.0",
|
|
61
60
|
"eslint-config-react-app": "^7.0.1",
|
|
62
61
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
63
62
|
"eslint-plugin-import": "^2.26.0",
|
|
64
63
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
65
64
|
"eslint-plugin-prettier": "^4.2.1",
|
|
66
|
-
"eslint-plugin-react": "^7.
|
|
65
|
+
"eslint-plugin-react": "^7.31.8",
|
|
67
66
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
68
67
|
"expo": "~46.0.8",
|
|
69
68
|
"expo-status-bar": "~1.4.0",
|
|
@@ -76,7 +75,7 @@
|
|
|
76
75
|
"react": "^18.0.0",
|
|
77
76
|
"react-dom": "^18.0.0",
|
|
78
77
|
"react-native": "^0.69.4",
|
|
79
|
-
"react-native-web": "^0.18.
|
|
78
|
+
"react-native-web": "^0.18.9",
|
|
80
79
|
"react-test-renderer": "^18.0.0",
|
|
81
80
|
"typescript": "^4.6.3",
|
|
82
81
|
"webpack-bundle-analyzer": "^4.6.1"
|