@lookiero/checkout 0.2.12 → 0.2.14
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/checkouts.d.ts +1 -1
- package/dist/infrastructure/delivery/http/httpClient.d.ts +1 -1
- 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/ui/Root.d.ts +2 -1
- package/dist/projection/bookedSizeReplaceableProductVariants/viewBookedSizeReplaceableProductVariantsForCheckoutItem.d.ts +2 -1
- 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/uiSetting/viewUiSettingByKey.d.ts +2 -1
- package/dist/projection/uiSetting/viewUiSettingByKey.js +1 -1
- package/package.json +7 -7
|
@@ -4,4 +4,4 @@ interface CheckoutsGetFunction<CheckoutsGetFunctionArgs extends RepositoryGetFun
|
|
|
4
4
|
}
|
|
5
5
|
interface CheckoutsSaveFunction<CheckoutsSaveFunctionArgs extends RepositorySaveFunctionArgs> extends RepositorySaveFunction<Checkout, CheckoutsSaveFunctionArgs> {
|
|
6
6
|
}
|
|
7
|
-
export { CheckoutsGetFunction, CheckoutsSaveFunction };
|
|
7
|
+
export type { CheckoutsGetFunction, CheckoutsSaveFunction };
|
|
@@ -33,4 +33,5 @@ interface HttpBookedSizeReplaceableProductVariantsForCheckoutItemViewFunction {
|
|
|
33
33
|
(args: HttpBookedSizeReplaceableProductVariantsForCheckoutItemViewFunctionArgs): HttpBookedSizeReplaceableProductVariantsForCheckoutItemView;
|
|
34
34
|
}
|
|
35
35
|
declare const httpBookedSizeReplaceableProductVariantsForCheckoutItemView: HttpBookedSizeReplaceableProductVariantsForCheckoutItemViewFunction;
|
|
36
|
-
export { BookedSizeReplaceableProductVariantsDto
|
|
36
|
+
export type { BookedSizeReplaceableProductVariantsDto };
|
|
37
|
+
export { toBookedSizeReplaceableProductVariants, httpBookedSizeReplaceableProductVariantsForCheckoutItemView };
|
|
@@ -23,4 +23,4 @@ const httpBookedSizeReplaceableProductVariantsForCheckoutItemView = ({ httpPost
|
|
|
23
23
|
? undefined
|
|
24
24
|
: toBookedSizeReplaceableProductVariants((await response.json()).result);
|
|
25
25
|
};
|
|
26
|
-
export { toBookedSizeReplaceableProductVariants, httpBookedSizeReplaceableProductVariantsForCheckoutItemView
|
|
26
|
+
export { toBookedSizeReplaceableProductVariants, httpBookedSizeReplaceableProductVariantsForCheckoutItemView };
|
|
@@ -40,4 +40,5 @@ interface ViewBookedSizeReplaceableProductVariantsForCheckoutItemHandlerFunction
|
|
|
40
40
|
readonly view: BookedSizeReplaceableProductVariantsForCheckoutItemView;
|
|
41
41
|
}
|
|
42
42
|
declare const viewBookedSizeReplaceableProductVariantsForCheckoutItemHandler: QueryHandlerFunction<ViewBookedSizeReplaceableProductVariantsForCheckoutItem, ViewBookedSizeReplaceableProductVariantsForCheckoutItemResult, ViewBookedSizeReplaceableProductVariantsForCheckoutItemHandlerFunctionArgs>;
|
|
43
|
-
export { Size, ProductVariant, BookedSizeReplaceableProductVariantsProjection,
|
|
43
|
+
export type { Size, ProductVariant, BookedSizeReplaceableProductVariantsProjection, BookedSizeReplaceableProductVariantsForCheckoutItemView, };
|
|
44
|
+
export { VIEW_BOOKED_SIZE_REPLACEABLE_PRODUCT_VARIANTS_FOR_CHECKOUT_ITEM, viewBookedSizeReplaceableProductVariantsForCheckoutItem, viewBookedSizeReplaceableProductVariantsForCheckoutItemHandler, };
|
|
@@ -20,4 +20,5 @@ interface ViewFiveItemsDiscountByCustomerIdHandlerFunctionArgs extends QueryHand
|
|
|
20
20
|
readonly view: FiveItemsDiscountByCustomerIdView;
|
|
21
21
|
}
|
|
22
22
|
declare const viewFiveItemsDiscountByCustomerIdHandler: QueryHandlerFunction<ViewFiveItemsDiscountByCustomerId, FiveItemsDiscountByCustomerIdProjection, ViewFiveItemsDiscountByCustomerIdHandlerFunctionArgs>;
|
|
23
|
-
export { FiveItemsDiscountByCustomerIdProjection,
|
|
23
|
+
export type { FiveItemsDiscountByCustomerIdProjection, FiveItemsDiscountByCustomerIdView };
|
|
24
|
+
export { VIEW_FIVE_ITEMS_DISCOUNT_BY_CUSTOMER_ID, viewFiveItemsDiscountByCustomerId, viewFiveItemsDiscountByCustomerIdHandler, };
|
|
@@ -13,4 +13,5 @@ declare const viewIsCheckoutAccessibleByCustomerId: ViewIsCheckoutAccessibleByCu
|
|
|
13
13
|
interface ViewIsCheckoutAccessibleByCustomerIdHandlerFunctionArgs extends QueryHandlerFunctionArgs {
|
|
14
14
|
}
|
|
15
15
|
declare const viewIsCheckoutAccessibleByCustomerIdHandler: QueryHandlerFunction<ViewIsCheckoutAccessibleByCustomerId, IsCheckoutAccessibleByCustomerIdProjection, ViewIsCheckoutAccessibleByCustomerIdHandlerFunctionArgs>;
|
|
16
|
-
export { IsCheckoutAccessibleByCustomerIdProjection
|
|
16
|
+
export type { IsCheckoutAccessibleByCustomerIdProjection };
|
|
17
|
+
export { VIEW_IS_CHECKOUT_ACCESSIBLE_BY_CUSTOMER_ID, viewIsCheckoutAccessibleByCustomerId, viewIsCheckoutAccessibleByCustomerIdHandler, };
|
|
@@ -20,4 +20,5 @@ interface ViewIsCheckoutEnabledByCustomerIdHandlerFunctionArgs extends QueryHand
|
|
|
20
20
|
readonly view: IsCheckoutEnabledByCustomerIdView;
|
|
21
21
|
}
|
|
22
22
|
declare const viewIsCheckoutEnabledByCustomerIdHandler: QueryHandlerFunction<ViewIsCheckoutEnabledByCustomerId, IsCheckoutEnabledByCustomerIdProjection, ViewIsCheckoutEnabledByCustomerIdHandlerFunctionArgs>;
|
|
23
|
-
export { IsCheckoutEnabledByCustomerIdProjection,
|
|
23
|
+
export type { IsCheckoutEnabledByCustomerIdProjection, IsCheckoutEnabledByCustomerIdView };
|
|
24
|
+
export { VIEW_IS_CHECKOUT_ENABLED_BY_CUSTOMER_ID, viewIsCheckoutEnabledByCustomerId, viewIsCheckoutEnabledByCustomerIdHandler, };
|
|
@@ -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,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lookiero/checkout",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
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": "^14.20.0
|
|
10
|
+
"node": "^14.20.0 || ^18.9.0"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"start": "expo start",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"react": "^18.0.0",
|
|
39
39
|
"react-dom": "^18.0.0",
|
|
40
40
|
"react-native": "^0.69.4",
|
|
41
|
-
"react-native-web": "^0.18.
|
|
41
|
+
"react-native-web": "^0.18.9"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@babel/core": "^7.
|
|
44
|
+
"@babel/core": "^7.19.1",
|
|
45
45
|
"@expo/webpack-config": "^0.17.2",
|
|
46
46
|
"@lookiero/aurora-fonts": "^1.0.6",
|
|
47
47
|
"@lookiero/aurora-iconfont": "^2.0.37",
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
"@types/react-dom": "~18.0.0",
|
|
56
56
|
"@types/react-native": "~0.69.1",
|
|
57
57
|
"@types/uuid": "^8.3.4",
|
|
58
|
-
"eslint": "^8.
|
|
58
|
+
"eslint": "^8.24.0",
|
|
59
59
|
"eslint-config-prettier": "^8.5.0",
|
|
60
60
|
"eslint-config-react-app": "^7.0.1",
|
|
61
61
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
62
62
|
"eslint-plugin-import": "^2.26.0",
|
|
63
63
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
64
64
|
"eslint-plugin-prettier": "^4.2.1",
|
|
65
|
-
"eslint-plugin-react": "^7.
|
|
65
|
+
"eslint-plugin-react": "^7.31.8",
|
|
66
66
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
67
67
|
"expo": "~46.0.8",
|
|
68
68
|
"expo-status-bar": "~1.4.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"react": "^18.0.0",
|
|
76
76
|
"react-dom": "^18.0.0",
|
|
77
77
|
"react-native": "^0.69.4",
|
|
78
|
-
"react-native-web": "^0.18.
|
|
78
|
+
"react-native-web": "^0.18.9",
|
|
79
79
|
"react-test-renderer": "^18.0.0",
|
|
80
80
|
"typescript": "^4.6.3",
|
|
81
81
|
"webpack-bundle-analyzer": "^4.6.1"
|