@jay-framework/wix-data 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.
Files changed (2) hide show
  1. package/package.json +17 -15
  2. package/plugin.yaml +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jay-framework/wix-data",
3
- "version": "0.15.4",
3
+ "version": "0.15.6",
4
4
  "type": "module",
5
5
  "description": "Wix Data plugin for Jay Framework with dynamic contract generation",
6
6
  "license": "Apache-2.0",
@@ -18,7 +18,8 @@
18
18
  "./get-categories.jay-action": "./dist/actions/get-categories.jay-action"
19
19
  },
20
20
  "scripts": {
21
- "build": "npm run clean && npm run definitions && npm run build:client && npm run build:server && npm run build:copy-actions && npm run build:types",
21
+ "build": "npm run clean && npm run definitions && npm run build:client && npm run build:server && npm run build:copy-actions && npm run build:types && npm run validate",
22
+ "validate": "jay-stack-cli validate-plugin",
22
23
  "definitions": "jay-cli definitions lib/actions",
23
24
  "build:copy-actions": "mkdir -p dist/actions && cp lib/actions/*.jay-action dist/actions/",
24
25
  "build:client": "vite build",
@@ -30,26 +31,27 @@
30
31
  "test": ":"
31
32
  },
32
33
  "dependencies": {
33
- "@jay-framework/component": "^0.15.4",
34
- "@jay-framework/fullstack-component": "^0.15.4",
35
- "@jay-framework/reactive": "^0.15.4",
36
- "@jay-framework/runtime": "^0.15.4",
37
- "@jay-framework/secure": "^0.15.4",
38
- "@jay-framework/stack-client-runtime": "^0.15.4",
39
- "@jay-framework/stack-server-runtime": "^0.15.4",
40
- "@jay-framework/wix-server-client": "^0.15.4",
41
- "@jay-framework/wix-utils": "^0.15.4",
42
- "@wix/data": "^1.0.427",
34
+ "@jay-framework/component": "^0.15.6",
35
+ "@jay-framework/fullstack-component": "^0.15.6",
36
+ "@jay-framework/reactive": "^0.15.6",
37
+ "@jay-framework/runtime": "^0.15.6",
38
+ "@jay-framework/secure": "^0.15.6",
39
+ "@jay-framework/stack-client-runtime": "^0.15.6",
40
+ "@jay-framework/stack-server-runtime": "^0.15.6",
41
+ "@jay-framework/wix-server-client": "^0.15.6",
42
+ "@jay-framework/wix-utils": "^0.15.6",
43
+ "@wix/data": "^1.0.433",
43
44
  "@wix/sdk": "^1.21.5",
45
+ "@wix/sdk-runtime": "^1.0.11",
44
46
  "js-yaml": "^4.1.0"
45
47
  },
46
48
  "devDependencies": {
47
49
  "@babel/core": "^7.23.7",
48
50
  "@babel/preset-env": "^7.23.8",
49
51
  "@babel/preset-typescript": "^7.23.3",
50
- "@jay-framework/compiler-jay-stack": "^0.15.4",
51
- "@jay-framework/jay-cli": "^0.15.4",
52
- "@jay-framework/vite-plugin": "^0.15.4",
52
+ "@jay-framework/compiler-jay-stack": "^0.15.6",
53
+ "@jay-framework/jay-cli": "^0.15.6",
54
+ "@jay-framework/vite-plugin": "^0.15.6",
53
55
  "@types/js-yaml": "^4.0.9",
54
56
  "@types/node": "^20.11.0",
55
57
  "nodemon": "^3.0.3",
package/plugin.yaml CHANGED
@@ -24,6 +24,16 @@ dynamic_contracts:
24
24
  component: collectionCard
25
25
  generator: cardContractGenerator
26
26
 
27
+ services:
28
+ - name: wix-data
29
+ marker: WIX_DATA_SERVICE_MARKER
30
+ description: Wix Data API access with collection schema caching
31
+
32
+ contexts:
33
+ - name: wix-data
34
+ marker: WIX_DATA_CONTEXT
35
+ description: Client-side access to Wix Data items API
36
+
27
37
  setup:
28
38
  handler: setupWixData
29
39
  references: generateWixDataReferences