@jay-framework/wix-stores-v1 0.15.4 → 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.
@@ -1,4 +1,6 @@
1
1
  name: category-page
2
+ params:
3
+ slug: string
2
4
  tags:
3
5
  # Category/Collection information (from Wix Stores Collection API)
4
6
  - tag: _id
@@ -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>
@@ -1,4 +1,6 @@
1
1
  name: product-page
2
+ params:
3
+ slug: string
2
4
  tags:
3
5
  - {tag: _id, type: data, dataType: string, description: Product GUID}
4
6
  - {tag: productName, type: data, dataType: string, required: true, description: Product name}
@@ -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.4",
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,26 +35,27 @@
34
35
  "test": ":"
35
36
  },
36
37
  "dependencies": {
37
- "@jay-framework/component": "^0.15.4",
38
- "@jay-framework/fullstack-component": "^0.15.4",
39
- "@jay-framework/reactive": "^0.15.4",
40
- "@jay-framework/runtime": "^0.15.4",
41
- "@jay-framework/secure": "^0.15.4",
42
- "@jay-framework/stack-client-runtime": "^0.15.4",
43
- "@jay-framework/stack-server-runtime": "^0.15.4",
44
- "@jay-framework/wix-cart": "^0.15.4",
45
- "@jay-framework/wix-server-client": "^0.15.4",
46
- "@jay-framework/wix-utils": "^0.15.4",
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
- "@wix/stores": "^1.0.723"
49
+ "@wix/sdk-runtime": "^1.0.11",
50
+ "@wix/stores": "^1.0.742"
49
51
  },
50
52
  "devDependencies": {
51
53
  "@babel/core": "^7.23.7",
52
54
  "@babel/preset-env": "^7.23.8",
53
55
  "@babel/preset-typescript": "^7.23.3",
54
- "@jay-framework/compiler-jay-stack": "^0.15.4",
55
- "@jay-framework/jay-cli": "^0.15.4",
56
- "@jay-framework/vite-plugin": "^0.15.4",
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",
57
59
  "nodemon": "^3.0.3",
58
60
  "rimraf": "^5.0.5",
59
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