@geode/opengeodeweb-front 10.5.0-rc.1 → 10.5.0
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/app/stores/geode.js
CHANGED
|
@@ -92,6 +92,7 @@ export const useGeodeStore = defineStore("geode", {
|
|
|
92
92
|
},
|
|
93
93
|
request(schema, params, callbacks = {}) {
|
|
94
94
|
console.log("[GEODE] Request:", schema.$id)
|
|
95
|
+
const start = Date.now()
|
|
95
96
|
|
|
96
97
|
return api_fetch(
|
|
97
98
|
this,
|
|
@@ -99,7 +100,13 @@ export const useGeodeStore = defineStore("geode", {
|
|
|
99
100
|
{
|
|
100
101
|
...callbacks,
|
|
101
102
|
response_function: async (response) => {
|
|
102
|
-
console.log(
|
|
103
|
+
console.log(
|
|
104
|
+
"[GEODE] Request completed:",
|
|
105
|
+
schema.$id,
|
|
106
|
+
"in",
|
|
107
|
+
(Date.now() - start) / 1_000,
|
|
108
|
+
"s",
|
|
109
|
+
)
|
|
103
110
|
if (callbacks.response_function) {
|
|
104
111
|
await callbacks.response_function(response)
|
|
105
112
|
}
|
package/app/stores/viewer.js
CHANGED
|
@@ -170,6 +170,7 @@ export const useViewerStore = defineStore(
|
|
|
170
170
|
timeout = request_timeout,
|
|
171
171
|
) {
|
|
172
172
|
console.log("[VIEWER] Request:", schema.$id)
|
|
173
|
+
const start = Date.now()
|
|
173
174
|
|
|
174
175
|
// Get current store instance to pass to viewer_call
|
|
175
176
|
const store = useViewerStore()
|
|
@@ -180,7 +181,13 @@ export const useViewerStore = defineStore(
|
|
|
180
181
|
{
|
|
181
182
|
...callbacks,
|
|
182
183
|
response_function: async (response) => {
|
|
183
|
-
console.log(
|
|
184
|
+
console.log(
|
|
185
|
+
"[VIEWER] Request completed:",
|
|
186
|
+
schema.$id,
|
|
187
|
+
"in",
|
|
188
|
+
(Date.now() - start) / 1_000,
|
|
189
|
+
"s",
|
|
190
|
+
)
|
|
184
191
|
if (callbacks.response_function) {
|
|
185
192
|
await callbacks.response_function(response)
|
|
186
193
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geode/opengeodeweb-front",
|
|
3
|
-
"version": "10.5.0
|
|
3
|
+
"version": "10.5.0",
|
|
4
4
|
"description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
|
|
5
5
|
"homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Front",
|
|
6
6
|
"bugs": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"build": ""
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@geode/opengeodeweb-back": "
|
|
35
|
-
"@geode/opengeodeweb-viewer": "
|
|
34
|
+
"@geode/opengeodeweb-back": "latest",
|
|
35
|
+
"@geode/opengeodeweb-viewer": "latest",
|
|
36
36
|
"@kitware/vtk.js": "33.3.0",
|
|
37
37
|
"@mdi/font": "7.4.47",
|
|
38
38
|
"@pinia/nuxt": "0.11.3",
|