Skip to content

Commit 0e8bc50

Browse files
Merge pull request #160 from Geode-solutions/fix/update_ecosystem
fix(deps): changes due to external dependencies
2 parents c30829a + aa74a34 commit 0e8bc50

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

components/RemoteRenderingView.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<script setup>
3737
import vtkRemoteView from "@kitware/vtk.js/Rendering/Misc/RemoteView"
3838
import { useElementSize } from "@vueuse/core"
39-
import schemas from "@geode/opengeodeweb-viewer/schemas.json"
39+
import viewer_schemas from "@geode/opengeodeweb-viewer/schemas.json"
4040
4141
const viewer_store = use_viewer_store()
4242
const { client, is_running, picking_mode } = storeToRefs(viewer_store)
@@ -46,8 +46,8 @@
4646
const { offsetX, offsetY } = event
4747
viewer_store.set_picked_point(offsetX, offsetY)
4848
viewer_call({
49-
schema: schemas.opengeodeweb_viewer.set_picked_point,
50-
params: { offsetX, offsetY },
49+
schema: viewer_schemas.opengeodeweb_viewer.viewer.get_point_position,
50+
params: { x: offsetX, y: offsetY },
5151
})
5252
}
5353
}

components/Screenshot.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
})
7373
7474
const output_extensions =
75-
viewer_schemas.opengeodeweb_viewer.take_screenshot.properties
75+
viewer_schemas.opengeodeweb_viewer.viewer.take_screenshot.properties
7676
.output_extension.enum
7777
const filename = ref("")
7878
const output_extension = ref("png")
@@ -81,7 +81,7 @@
8181
async function takeScreenshot() {
8282
await viewer_call(
8383
{
84-
schema: viewer_schemas.opengeodeweb_viewer.take_screenshot,
84+
schema: viewer_schemas.opengeodeweb_viewer.viewer.take_screenshot,
8585
params: {
8686
filename: filename.value,
8787
output_extension: output_extension.value,

components/ViewToolbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
icon: "mdi-cube-scan",
3232
action: () => {
3333
viewer_call({
34-
schema: schemas.opengeodeweb_viewer.reset_camera,
34+
schema: schemas.opengeodeweb_viewer.viewer.reset_camera,
3535
})
3636
},
3737
},

composables/viewer_call.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function viewer_call(
2020
client
2121
.getConnection()
2222
.getSession()
23-
.call(schema.rpc, [params])
23+
.call(schema.$id, [params])
2424
.then(
2525
(value) => {
2626
if (response_function) {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"eslint-plugin-prettier-vue": "^5.0.0",
2020
"eslint-plugin-vue": "^9.26.0",
2121
"eslint-plugin-vuetify": "^2.4.0",
22-
"happy-dom": "^14.12.0",
22+
"happy-dom": "^15.11.7",
2323
"jsdom": "^24.1.0",
2424
"nuxt": "^3.13.2",
2525
"playwright-core": "^1.44.1",
@@ -40,8 +40,8 @@
4040
"version": "0.0.0-semantically-released",
4141
"main": "./nuxt.config.js",
4242
"dependencies": {
43-
"@geode/opengeodeweb-back": "5.3.1",
44-
"@geode/opengeodeweb-viewer": "0.3.0",
43+
"@geode/opengeodeweb-back": "5.3.2",
44+
"@geode/opengeodeweb-viewer": "1.0.0-rc.4",
4545
"@kitware/vtk.js": "30.3.1",
4646
"@mdi/font": "^7.4.47",
4747
"@pinia/nuxt": "^0.5.4",

stores/viewer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ export const use_viewer_store = defineStore("viewer", {
111111

112112
// Now that the client is ready let's setup the server for us
113113
viewer_call({
114-
schema: schemas.opengeodeweb_viewer.create_visualization,
114+
schema: schemas.opengeodeweb_viewer.viewer.create_visualization,
115115
})
116116
viewer_call({
117-
schema: schemas.opengeodeweb_viewer.reset,
117+
schema: schemas.opengeodeweb_viewer.viewer.reset,
118118
})
119119
this.is_running = true
120120
resolve()

0 commit comments

Comments
 (0)