@jay-framework/wix-stores-v1 0.15.5 → 0.15.6
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.
|
@@ -122,4 +122,10 @@ export interface CategoryPageRepeatedRefs {
|
|
|
122
122
|
loadedProducts: ProductCardRepeatedRefs
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
import { UrlParams } from '@jay-framework/fullstack-component';
|
|
126
|
+
|
|
127
|
+
export interface CategoryPageParams extends UrlParams {
|
|
128
|
+
slug: string;
|
|
129
|
+
}
|
|
130
|
+
|
|
125
131
|
export type CategoryPageContract = JayContract<CategoryPageViewState, CategoryPageRefs, CategoryPageSlowViewState, CategoryPageFastViewState, CategoryPageInteractiveViewState>
|
|
@@ -215,4 +215,10 @@ export interface ProductPageRepeatedRefs {
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
+
import { UrlParams } from '@jay-framework/fullstack-component';
|
|
219
|
+
|
|
220
|
+
export interface ProductPageParams extends UrlParams {
|
|
221
|
+
slug: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
218
224
|
export type ProductPageContract = JayContract<ProductPageViewState, ProductPageRefs, ProductPageSlowViewState, ProductPageFastViewState, ProductPageInteractiveViewState>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jay-framework/wix-stores-v1",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Wix Stores Catalog V1 API client for Jay Framework",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"./get-collections.jay-action": "./dist/actions/get-collections.jay-action"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
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",
|
|
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 && npm run validate",
|
|
26
|
+
"validate": "jay-stack-cli validate-plugin",
|
|
26
27
|
"definitions": "jay-cli definitions lib",
|
|
27
28
|
"build:client": "vite build",
|
|
28
29
|
"build:server": "vite build --ssr",
|
|
@@ -34,16 +35,16 @@
|
|
|
34
35
|
"test": ":"
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@jay-framework/component": "^0.15.
|
|
38
|
-
"@jay-framework/fullstack-component": "^0.15.
|
|
39
|
-
"@jay-framework/reactive": "^0.15.
|
|
40
|
-
"@jay-framework/runtime": "^0.15.
|
|
41
|
-
"@jay-framework/secure": "^0.15.
|
|
42
|
-
"@jay-framework/stack-client-runtime": "^0.15.
|
|
43
|
-
"@jay-framework/stack-server-runtime": "^0.15.
|
|
44
|
-
"@jay-framework/wix-cart": "^0.15.
|
|
45
|
-
"@jay-framework/wix-server-client": "^0.15.
|
|
46
|
-
"@jay-framework/wix-utils": "^0.15.
|
|
38
|
+
"@jay-framework/component": "^0.15.6",
|
|
39
|
+
"@jay-framework/fullstack-component": "^0.15.6",
|
|
40
|
+
"@jay-framework/reactive": "^0.15.6",
|
|
41
|
+
"@jay-framework/runtime": "^0.15.6",
|
|
42
|
+
"@jay-framework/secure": "^0.15.6",
|
|
43
|
+
"@jay-framework/stack-client-runtime": "^0.15.6",
|
|
44
|
+
"@jay-framework/stack-server-runtime": "^0.15.6",
|
|
45
|
+
"@jay-framework/wix-cart": "^0.15.6",
|
|
46
|
+
"@jay-framework/wix-server-client": "^0.15.6",
|
|
47
|
+
"@jay-framework/wix-utils": "^0.15.6",
|
|
47
48
|
"@wix/sdk": "^1.21.5",
|
|
48
49
|
"@wix/sdk-runtime": "^1.0.11",
|
|
49
50
|
"@wix/stores": "^1.0.742"
|
|
@@ -52,9 +53,9 @@
|
|
|
52
53
|
"@babel/core": "^7.23.7",
|
|
53
54
|
"@babel/preset-env": "^7.23.8",
|
|
54
55
|
"@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.
|
|
56
|
+
"@jay-framework/compiler-jay-stack": "^0.15.6",
|
|
57
|
+
"@jay-framework/jay-cli": "^0.15.6",
|
|
58
|
+
"@jay-framework/vite-plugin": "^0.15.6",
|
|
58
59
|
"nodemon": "^3.0.3",
|
|
59
60
|
"rimraf": "^5.0.5",
|
|
60
61
|
"tslib": "^2.6.2",
|
package/plugin.yaml
CHANGED
|
@@ -28,4 +28,14 @@ actions:
|
|
|
28
28
|
- name: getCollections
|
|
29
29
|
action: get-collections.jay-action
|
|
30
30
|
|
|
31
|
+
services:
|
|
32
|
+
- name: wix-stores-v1
|
|
33
|
+
marker: WIX_STORES_V1_SERVICE_MARKER
|
|
34
|
+
description: Wix Stores Catalog V1 API (products, collections, inventory)
|
|
35
|
+
|
|
36
|
+
contexts:
|
|
37
|
+
- name: wix-stores-v1
|
|
38
|
+
marker: WIX_STORES_V1_CONTEXT
|
|
39
|
+
description: Client-side V1 stores access with collection pagination and delegated cart operations
|
|
40
|
+
|
|
31
41
|
# Plugin initialization uses makeJayInit pattern in lib/init.ts
|