@ikas/storefront 0.1.12 → 0.1.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/build/__generated__/global-types.d.ts +1 -0
- package/build/api/cart/__generated__/getCart.d.ts +2 -2
- package/build/api/cart/__generated__/saveItemToCart.d.ts +2 -2
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +10 -2
- package/build/api/checkout/__generated__/getOrder.d.ts +2 -2
- package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +2 -2
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +2 -2
- package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +2 -0
- package/build/components/checkout/components/{cart-summary → svg}/arrow-down.d.ts +0 -0
- package/build/components/checkout/components/{arrow-left.d.ts → svg/arrow-left.d.ts} +0 -0
- package/build/components/checkout/components/{cart-summary → svg}/arrow-right.d.ts +0 -0
- package/build/components/checkout/components/{cart-summary → svg}/cross.d.ts +0 -0
- package/build/components/checkout/components/{cross.d.ts → svg/discount.d.ts} +2 -2
- package/build/components/checkout/components/{external.d.ts → svg/external.d.ts} +0 -0
- package/build/components/checkout/components/{cart-summary → svg}/gift.d.ts +0 -0
- package/build/components/checkout/components/{ikas.d.ts → svg/ikas.d.ts} +0 -0
- package/build/components/checkout/components/{lock.d.ts → svg/lock.d.ts} +0 -0
- package/build/components/checkout/components/{cart-summary → svg}/shopping-cart.d.ts +0 -0
- package/build/components/checkout/components/{success-circle.d.ts → svg/success-circle.d.ts} +0 -0
- package/build/components/checkout/components/{cart-summary → svg}/tag.d.ts +0 -0
- package/build/components/checkout/components/{warning.d.ts → svg/warning.d.ts} +0 -0
- package/build/components/checkout/model.d.ts +0 -1
- package/build/index.css +22 -0
- package/build/index.es.css +22 -0
- package/build/index.es.js +214 -2291
- package/build/index.js +214 -2299
- package/build/models/data/checkout/index.d.ts +4 -2
- package/build/models/data/order/index.d.ts +6 -0
- package/build/pages/index.d.ts +1 -11
- package/package.json +3 -9
- package/build/pages/api/getComponentDirs.d.ts +0 -3
- package/build/pages/api/getTheme.d.ts +0 -3
- package/build/pages/api/middleware.d.ts +0 -3
- package/build/pages/api/updateTheme.d.ts +0 -9
- package/build/pages/api/uploadTheme.d.ts +0 -3
|
@@ -46,12 +46,14 @@ export declare class IkasCheckout {
|
|
|
46
46
|
get couponAdjustment(): IkasOrderAdjustment | undefined;
|
|
47
47
|
get nonCouponAdjustments(): IkasOrderAdjustment[] | undefined;
|
|
48
48
|
}
|
|
49
|
-
export declare
|
|
49
|
+
export declare class IkasCheckoutCustomer {
|
|
50
50
|
id?: string;
|
|
51
51
|
email?: string;
|
|
52
52
|
firstName?: string;
|
|
53
53
|
lastName?: string;
|
|
54
|
-
|
|
54
|
+
notificationsAccepted?: boolean | null;
|
|
55
|
+
constructor(data: Partial<IkasCheckoutCustomer>);
|
|
56
|
+
}
|
|
55
57
|
export declare enum IkasShippingMethod {
|
|
56
58
|
CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
|
|
57
59
|
NO_SHIPMENT = "NO_SHIPMENT",
|
|
@@ -40,6 +40,12 @@ export declare type IkasOrderAdjustment = {
|
|
|
40
40
|
order: number;
|
|
41
41
|
type: IkasAdjustmentEnum;
|
|
42
42
|
couponId: string | null;
|
|
43
|
+
appliedOrderLines: IkasOrderAdjustmentAppliedLine[] | null;
|
|
44
|
+
};
|
|
45
|
+
export declare type IkasOrderAdjustmentAppliedLine = {
|
|
46
|
+
amount: number;
|
|
47
|
+
appliedQuantity: number;
|
|
48
|
+
orderLineId: string;
|
|
43
49
|
};
|
|
44
50
|
export declare type IkasOrderCustomer = {
|
|
45
51
|
id: string;
|
package/build/pages/index.d.ts
CHANGED
|
@@ -17,14 +17,4 @@ import * as SearchPage from "./search";
|
|
|
17
17
|
import * as NotFoundPage from "./404";
|
|
18
18
|
import * as BlogPage from "./blog/index";
|
|
19
19
|
import * as BlogSlugPage from "./blog/[slug]";
|
|
20
|
-
|
|
21
|
-
import * as GetTheme from "./api/getTheme";
|
|
22
|
-
import * as UpdateTheme from "./api/updateTheme";
|
|
23
|
-
import * as UploadTheme from "./api/uploadTheme";
|
|
24
|
-
declare const IkasLocalThemeAPI: {
|
|
25
|
-
GetComponentDirs: typeof GetComponentDirs;
|
|
26
|
-
GetTheme: typeof GetTheme;
|
|
27
|
-
UpdateTheme: typeof UpdateTheme;
|
|
28
|
-
UploadTheme: typeof UploadTheme;
|
|
29
|
-
};
|
|
30
|
-
export { IndexPage, SlugPage, CustomPage, CheckoutPage, AccountPage, AddressesPage, OrdersPage, OrderDetailPage, LoginPage, RegisterPage, ForgotPasswordPage, RecoverPasswordPage, CartPage, EditorPage, FavoriteProductsPage, SearchPage, NotFoundPage, BlogPage, BlogSlugPage, IkasLocalThemeAPI, };
|
|
20
|
+
export { IndexPage, SlugPage, CustomPage, CheckoutPage, AccountPage, AddressesPage, OrdersPage, OrderDetailPage, LoginPage, RegisterPage, ForgotPasswordPage, RecoverPasswordPage, CartPage, EditorPage, FavoriteProductsPage, SearchPage, NotFoundPage, BlogPage, BlogSlugPage, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"module": "./build/index.es.js",
|
|
6
6
|
"author": "Umut Ozan Yıldırım",
|
|
@@ -20,10 +20,7 @@
|
|
|
20
20
|
"mobx-react-lite": "^3.1.5",
|
|
21
21
|
"next": "11.1.2",
|
|
22
22
|
"react": "17.0.2",
|
|
23
|
-
"react-dom": "17.0.2"
|
|
24
|
-
"archiver": "^5.3.0",
|
|
25
|
-
"axios": "^0.21.0",
|
|
26
|
-
"cors": "^2.8.5"
|
|
23
|
+
"react-dom": "17.0.2"
|
|
27
24
|
},
|
|
28
25
|
"dependencies": {
|
|
29
26
|
"@apollo/client": "^3.2.0",
|
|
@@ -92,10 +89,7 @@
|
|
|
92
89
|
"ttypescript": "^1.5.12",
|
|
93
90
|
"typescript": "^4.1.3",
|
|
94
91
|
"typescript-transform-paths": "^2.2.2",
|
|
95
|
-
"typings": "^2.1.1"
|
|
96
|
-
"archiver": "^5.3.0",
|
|
97
|
-
"axios": "^0.21.0",
|
|
98
|
-
"cors": "^2.8.5"
|
|
92
|
+
"typings": "^2.1.1"
|
|
99
93
|
},
|
|
100
94
|
"eslintConfig": {
|
|
101
95
|
"parser": "@typescript-eslint/parser",
|