@live-change/vue3-ssr 0.2.5 → 0.2.9
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/Api.js +4 -0
- package/package.json +6 -6
package/Api.js
CHANGED
|
@@ -124,6 +124,10 @@ class Api extends DaoProxy {
|
|
|
124
124
|
}
|
|
125
125
|
let fetch = { }
|
|
126
126
|
globalFetch[serviceDefinition.name] = fetch
|
|
127
|
+
for(const actionName in serviceDefinition.actions) {
|
|
128
|
+
fetch[actionName] = (params) => [serviceDefinition.name, actionName, params]
|
|
129
|
+
fetch[actionName].definition = serviceDefinition.actions[actionName]
|
|
130
|
+
}
|
|
127
131
|
for(const viewName in serviceDefinition.views) {
|
|
128
132
|
fetch[viewName] = (params) => new Path([serviceDefinition.name, viewName, params])
|
|
129
133
|
fetch[viewName].definition = serviceDefinition.views[viewName]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/vue3-ssr",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "Live Change Framework - vue components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/live-change/live-change-framework-vue3",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/uid": "0.
|
|
25
|
-
"@vueuse/core": "^8.1
|
|
26
|
-
"debug": "^4.3.
|
|
27
|
-
"vue": "^3.2.
|
|
24
|
+
"@live-change/uid": "0.6.0",
|
|
25
|
+
"@vueuse/core": "^8.3.1",
|
|
26
|
+
"debug": "^4.3.4",
|
|
27
|
+
"vue": "^3.2.33"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "efcb8e4afc03219f588d6e782f29e4f3f74af3cf"
|
|
30
30
|
}
|