@ikas/storefront 0.1.3 → 0.1.5
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/index.es.js +41674 -153
- package/build/index.js +41686 -151
- package/build/pages/api/getComponentDirs.d.ts +1 -0
- package/build/pages/api/getTheme.d.ts +1 -0
- package/build/pages/api/middleware.d.ts +3 -0
- package/build/pages/api/updateTheme.d.ts +1 -2
- package/build/pages/api/uploadTheme.d.ts +2 -2
- package/build/pages/index.d.ts +11 -1
- package/package.json +6 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { NextApiRequest, NextApiResponse } from "next";
|
|
2
|
-
declare const
|
|
3
|
-
export default _default;
|
|
2
|
+
export declare const updateTheme: (req: NextApiRequest, res: NextApiResponse) => Promise<void>;
|
|
4
3
|
export declare const config: {
|
|
5
4
|
api: {
|
|
6
5
|
bodyParser: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { NextApiRequest, NextApiResponse } from "next";
|
|
2
|
-
declare const
|
|
3
|
-
export
|
|
2
|
+
export declare const uploadTheme: (req: NextApiRequest, res: NextApiResponse) => Promise<void>;
|
|
3
|
+
export declare const config: {};
|
package/build/pages/index.d.ts
CHANGED
|
@@ -17,4 +17,14 @@ 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
|
-
|
|
20
|
+
import * as GetComponentDirs from "./api/getComponentDirs";
|
|
21
|
+
import * as GetTheme from "./api/getTheme";
|
|
22
|
+
import * as UpdateTheme from "./api/updateTheme";
|
|
23
|
+
import * as UploadTheme from "./api/uploadTheme";
|
|
24
|
+
declare const IkasLocaleThemeAPI: {
|
|
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, IkasLocaleThemeAPI, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"module": "./build/index.es.js",
|
|
6
6
|
"author": "Umut Ozan Yıldırım",
|
|
@@ -25,9 +25,6 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@apollo/client": "^3.2.0",
|
|
27
27
|
"@ikas/react-phone-number-input": "^3.1.25-alpha.2",
|
|
28
|
-
"archiver": "^5.2.0",
|
|
29
|
-
"cors": "^2.8.5",
|
|
30
|
-
"form-data": "^3.0.0",
|
|
31
28
|
"graphql": "^15.3.0",
|
|
32
29
|
"graphql-tag": "^2.10.3",
|
|
33
30
|
"html-react-parser": "^1.4.0",
|
|
@@ -36,7 +33,11 @@
|
|
|
36
33
|
"node-fetch": "^2.6.1",
|
|
37
34
|
"query-string": "^6.13.8",
|
|
38
35
|
"react-tooltip": "^4.2.21",
|
|
39
|
-
"uuid": "^8.3.2"
|
|
36
|
+
"uuid": "^8.3.2",
|
|
37
|
+
"archiver": "^5.1.0",
|
|
38
|
+
"axios": "^0.21.0",
|
|
39
|
+
"cors": "^2.8.5",
|
|
40
|
+
"form-data": "^3.0.0"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@babel/core": "^7.11.6",
|