Skip to content

Commit 0caa0f7

Browse files
harmonize js imports & stores variables names
1 parent b1a6922 commit 0caa0f7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+150
-152
lines changed

app/components/FeedBack/ErrorBanner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</template>
4444

4545
<script setup>
46-
import { useFeedbackStore } from "@ogw_front/stores/feedback.js"
46+
import { useFeedbackStore } from "@ogw_front/stores/feedback"
4747
const feedbackStore = useFeedbackStore()
4848
4949
function reload() {

app/components/FeedBack/Snackers.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
</template>
6262

6363
<script setup>
64-
import { useFeedbackStore } from "@ogw_front/stores/feedback.js"
64+
import { useFeedbackStore } from "@ogw_front/stores/feedback"
6565
6666
const feedbackStore = useFeedbackStore()
6767
const show = true

app/components/FileUploader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<script setup>
3636
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
37-
import { upload_file } from "@ogw_front/utils/upload_file.js"
37+
import { upload_file } from "@ogw_front/utils/upload_file"
3838
const schema = schemas.opengeodeweb_back.upload_file
3939
4040
const emit = defineEmits(["files_uploaded", "decrement_step"])

app/components/Launcher.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</template>
1919

2020
<script setup>
21-
import Status from "@ogw_front/utils/status.js"
21+
import Status from "@ogw_front/utils/status"
2222
import Loading from "@ogw_front/components/Loading.vue"
2323
import Recaptcha from "@ogw_front/components/Recaptcha.vue"
2424
import { useInfraStore } from "@ogw_front/stores/infra"

app/components/PackagesVersions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</template>
2020

2121
<script setup>
22-
import Status from "@ogw_front/utils/status.js"
22+
import Status from "@ogw_front/utils/status"
2323
import { useGeodeStore } from "@ogw_front/stores/geode"
2424
2525
const props = defineProps({

app/components/Recaptcha.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</template>
4040

4141
<script setup>
42-
import { appMode } from "@ogw_front/utils/app_mode.js"
42+
import { appMode } from "@ogw_front/utils/app_mode"
4343
import { useInfraStore } from "@ogw_front/stores/infra"
4444
4545
const props = defineProps({

app/components/RemoteRenderingView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import vtkRemoteView from "@kitware/vtk.js/Rendering/Misc/RemoteView"
2525
import { useElementSize, useWindowSize } from "@vueuse/core"
2626
import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json"
27-
import Status from "@ogw_front/utils/status.js"
27+
import Status from "@ogw_front/utils/status"
2828
import ViewToolbar from "@ogw_front/components/ViewToolbar.vue"
2929
import { useViewerStore } from "@ogw_front/stores/viewer"
3030

app/stores/data_style.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
import { getDefaultStyle } from "../utils/default_styles.js"
1+
import { getDefaultStyle } from "../utils/default_styles"
22
import { useDataBaseStore } from "@ogw_front/stores/data_base"
3-
import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer"
4-
import useDataStyleState from "../internal/stores/data_style_state.js"
5-
import useMeshStyle from "../internal/stores/mesh/index.js"
6-
import useModelStyle from "../internal/stores/model/index.js"
3+
import useDataStyleState from "../../internal/stores/data_style_state"
4+
import useMeshStyle from "../../internal/stores/mesh/index"
5+
import useModelStyle from "../../internal/stores/model/index"
76

87
export const useDataStyleStore = defineStore("dataStyle", () => {
98
const dataStyleState = useDataStyleState()
109
const meshStyleStore = useMeshStyle()
1110
const modelStyleStore = useModelStyle()
1211
const dataBaseStore = useDataBaseStore()
13-
const hybridViewerStore = useHybridViewerStore()
1412

1513
function addDataStyle(id, geode_object) {
1614
dataStyleState.styles[id] = getDefaultStyle(geode_object)

app/stores/geode.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import back_schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
2-
import Status from "@ogw_front/utils/status.js"
3-
import { appMode } from "@ogw_front/utils/app_mode.js"
4-
import { api_fetch } from "../../internal/utils/api_fetch.js"
2+
import Status from "@ogw_front/utils/status"
3+
import { appMode } from "@ogw_front/utils/app_mode"
4+
import { api_fetch } from "../../internal/utils/api_fetch"
55
import { useInfraStore } from "@ogw_front/stores/infra"
66
import { useFeedbackStore } from "@ogw_front/stores/feedback"
77

app/stores/hybrid_viewer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import vtkMapper from "@kitware/vtk.js/Rendering/Core/Mapper"
55
import vtkActor from "@kitware/vtk.js/Rendering/Core/Actor"
66

77
import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json"
8-
import Status from "@ogw_front/utils/status.js"
9-
import { useViewerStore } from "@ogw_front/stores/viewer.js"
10-
import { useDataBaseStore } from "@ogw_front/stores/data_base.js"
8+
import Status from "@ogw_front/utils/status"
9+
import { useViewerStore } from "@ogw_front/stores/viewer"
10+
import { useDataBaseStore } from "@ogw_front/stores/data_base"
1111

1212
export const useHybridViewerStore = defineStore("hybridViewer", () => {
1313
const viewerStore = useViewerStore()

0 commit comments

Comments
 (0)