@jay-framework/wix-stores 0.15.1 → 0.15.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/README.md +157 -96
- package/dist/actions/get-variant-stock.jay-action +7 -0
- package/dist/actions/search-products.jay-action +12 -0
- package/dist/contracts/category-page.jay-contract.d.ts +10 -1
- package/dist/contracts/product-card.jay-contract +8 -2
- package/dist/contracts/product-card.jay-contract.d.ts +17 -4
- package/dist/contracts/product-options.jay-contract +0 -5
- package/dist/contracts/product-options.jay-contract.d.ts +1 -2
- package/dist/contracts/product-search.jay-contract +134 -1
- package/dist/contracts/product-search.jay-contract.d.ts +92 -4
- package/dist/index.client.js +276 -24
- package/dist/index.d.ts +230 -149
- package/dist/index.js +613 -156
- package/package.json +18 -16
- package/plugin.yaml +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jay-framework/wix-stores",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Wix Stores API client for Jay Framework",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"./category-list.jay-contract": "./dist/contracts/category-list.jay-contract",
|
|
19
19
|
"./search-products.jay-action": "./dist/actions/search-products.jay-action",
|
|
20
20
|
"./get-product-by-slug.jay-action": "./dist/actions/get-product-by-slug.jay-action",
|
|
21
|
-
"./get-categories.jay-action": "./dist/actions/get-categories.jay-action"
|
|
21
|
+
"./get-categories.jay-action": "./dist/actions/get-categories.jay-action",
|
|
22
|
+
"./get-variant-stock.jay-action": "./dist/actions/get-variant-stock.jay-action"
|
|
22
23
|
},
|
|
23
24
|
"scripts": {
|
|
24
25
|
"build": "npm run clean && npm run definitions && npm run build:client && npm run build:server && npm run build:copy-contract && npm run build:types",
|
|
@@ -33,28 +34,29 @@
|
|
|
33
34
|
"test": ":"
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|
|
36
|
-
"@jay-framework/component": "^0.15.
|
|
37
|
-
"@jay-framework/fullstack-component": "^0.15.
|
|
38
|
-
"@jay-framework/reactive": "^0.15.
|
|
39
|
-
"@jay-framework/runtime": "^0.15.
|
|
40
|
-
"@jay-framework/secure": "^0.15.
|
|
41
|
-
"@jay-framework/stack-client-runtime": "^0.15.
|
|
42
|
-
"@jay-framework/stack-server-runtime": "^0.15.
|
|
43
|
-
"@jay-framework/wix-cart": "^0.15.
|
|
44
|
-
"@jay-framework/wix-server-client": "^0.15.
|
|
45
|
-
"@jay-framework/wix-utils": "^0.15.
|
|
37
|
+
"@jay-framework/component": "^0.15.5",
|
|
38
|
+
"@jay-framework/fullstack-component": "^0.15.5",
|
|
39
|
+
"@jay-framework/reactive": "^0.15.5",
|
|
40
|
+
"@jay-framework/runtime": "^0.15.5",
|
|
41
|
+
"@jay-framework/secure": "^0.15.5",
|
|
42
|
+
"@jay-framework/stack-client-runtime": "^0.15.5",
|
|
43
|
+
"@jay-framework/stack-server-runtime": "^0.15.5",
|
|
44
|
+
"@jay-framework/wix-cart": "^0.15.5",
|
|
45
|
+
"@jay-framework/wix-server-client": "^0.15.5",
|
|
46
|
+
"@jay-framework/wix-utils": "^0.15.5",
|
|
46
47
|
"@wix/categories": "^1.0.185",
|
|
47
48
|
"@wix/sdk": "^1.21.5",
|
|
48
|
-
"@wix/
|
|
49
|
+
"@wix/sdk-runtime": "^1.0.11",
|
|
50
|
+
"@wix/stores": "^1.0.742",
|
|
49
51
|
"js-yaml": "^4.1.0"
|
|
50
52
|
},
|
|
51
53
|
"devDependencies": {
|
|
52
54
|
"@babel/core": "^7.23.7",
|
|
53
55
|
"@babel/preset-env": "^7.23.8",
|
|
54
56
|
"@babel/preset-typescript": "^7.23.3",
|
|
55
|
-
"@jay-framework/compiler-jay-stack": "^0.15.
|
|
56
|
-
"@jay-framework/jay-cli": "^0.15.
|
|
57
|
-
"@jay-framework/vite-plugin": "^0.15.
|
|
57
|
+
"@jay-framework/compiler-jay-stack": "^0.15.5",
|
|
58
|
+
"@jay-framework/jay-cli": "^0.15.5",
|
|
59
|
+
"@jay-framework/vite-plugin": "^0.15.5",
|
|
58
60
|
"nodemon": "^3.0.3",
|
|
59
61
|
"rimraf": "^5.0.5",
|
|
60
62
|
"tslib": "^2.6.2",
|
package/plugin.yaml
CHANGED
|
@@ -24,6 +24,8 @@ actions:
|
|
|
24
24
|
action: get-product-by-slug.jay-action
|
|
25
25
|
- name: getCategories
|
|
26
26
|
action: get-categories.jay-action
|
|
27
|
+
- name: getVariantStock
|
|
28
|
+
action: get-variant-stock.jay-action
|
|
27
29
|
|
|
28
30
|
# Plugin initialization uses makeJayInit pattern in lib/init.ts
|
|
29
31
|
# Export name defaults to 'init'
|