From b241b9aabb063d81322e92ed0a1393ed8521100a Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 15 Feb 2024 16:06:25 -0500 Subject: [PATCH] stores import prefix --- client/src/components/DragGhost.vue | 2 +- client/src/components/History/Layout/DetailsLayout.test.js | 2 +- client/src/components/History/adapters/HistoryPanelProxy.js | 4 ++-- .../src/components/InteractiveTools/InteractiveTools.test.js | 2 +- .../LibraryFolder/LibraryFolderDataset/LibraryDataset.test.js | 2 +- client/src/components/Panels/Buttons/FavoritesButton.test.js | 2 +- client/src/components/Tool/ToolCard.test.js | 2 +- client/src/components/Tool/ToolForm.vue | 4 ++-- client/src/components/ToolEntryPoints/ToolEntryPoints.vue | 2 +- client/src/components/Workflow/Run/WorkflowRunDefaultStep.vue | 2 +- .../WorkflowInvocationState/WorkflowInvocationStep.vue | 4 ++-- client/src/components/providers/storeProviders.js | 2 +- client/src/composables/userHistories.js | 2 +- client/src/store/historyStore/model/watchHistory.js | 4 ++-- client/src/store/historyStore/model/watchHistory.test.js | 4 ++-- client/src/stores/users/syncUserToGalaxy.js | 2 +- 16 files changed, 21 insertions(+), 21 deletions(-) diff --git a/client/src/components/DragGhost.vue b/client/src/components/DragGhost.vue index bc15f7c46af9..0d8e0b2edd0d 100644 --- a/client/src/components/DragGhost.vue +++ b/client/src/components/DragGhost.vue @@ -3,7 +3,7 @@ import { library } from "@fortawesome/fontawesome-svg-core"; import { faPaperPlane } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; import { storeToRefs } from "pinia"; -import { useEventStore } from "stores/eventStore"; +import { useEventStore } from "@/stores/eventStore"; import { computed } from "vue"; import TextShort from "@/components/Common/TextShort.vue"; diff --git a/client/src/components/History/Layout/DetailsLayout.test.js b/client/src/components/History/Layout/DetailsLayout.test.js index cee10bd05d84..56a87f3f578f 100644 --- a/client/src/components/History/Layout/DetailsLayout.test.js +++ b/client/src/components/History/Layout/DetailsLayout.test.js @@ -1,6 +1,6 @@ import { mount } from "@vue/test-utils"; import { createPinia } from "pinia"; -import { useUserStore } from "stores/userStore"; +import { useUserStore } from "@/stores/userStore"; import { getLocalVue } from "tests/jest/helpers"; import DetailsLayout from "./DetailsLayout"; diff --git a/client/src/components/History/adapters/HistoryPanelProxy.js b/client/src/components/History/adapters/HistoryPanelProxy.js index f02e7469e9e3..56b5dc18eb43 100644 --- a/client/src/components/History/adapters/HistoryPanelProxy.js +++ b/client/src/components/History/adapters/HistoryPanelProxy.js @@ -5,8 +5,8 @@ import Backbone from "backbone"; import { createDatasetCollection } from "@/components/History/model/queries"; import { startWatchingHistory } from "store/historyStore/model/watchHistory"; -import { useHistoryItemsStore } from "stores/historyItemsStore"; -import { useHistoryStore } from "stores/historyStore"; +import { useHistoryItemsStore } from "@/stores/historyItemsStore"; +import { useHistoryStore } from "@/stores/historyStore"; import { buildCollectionModal } from "./buildCollectionModal"; diff --git a/client/src/components/InteractiveTools/InteractiveTools.test.js b/client/src/components/InteractiveTools/InteractiveTools.test.js index 7006c62f866a..049aa085d84b 100644 --- a/client/src/components/InteractiveTools/InteractiveTools.test.js +++ b/client/src/components/InteractiveTools/InteractiveTools.test.js @@ -4,7 +4,7 @@ import axios from "axios"; import MockAdapter from "axios-mock-adapter"; import flushPromises from "flush-promises"; import { PiniaVuePlugin, setActivePinia } from "pinia"; -import { useEntryPointStore } from "stores/entryPointStore"; +import { useEntryPointStore } from "@/stores/entryPointStore"; import { getLocalVue } from "tests/jest/helpers"; import InteractiveTools from "./InteractiveTools"; diff --git a/client/src/components/Libraries/LibraryFolder/LibraryFolderDataset/LibraryDataset.test.js b/client/src/components/Libraries/LibraryFolder/LibraryFolderDataset/LibraryDataset.test.js index 48f4c85a6fcd..e3885a2f5f0b 100644 --- a/client/src/components/Libraries/LibraryFolder/LibraryFolderDataset/LibraryDataset.test.js +++ b/client/src/components/Libraries/LibraryFolder/LibraryFolderDataset/LibraryDataset.test.js @@ -2,7 +2,7 @@ import { mount } from "@vue/test-utils"; import flushPromises from "flush-promises"; import { getAppRoot } from "onload/loadConfig"; import { createPinia } from "pinia"; -import { useUserStore } from "stores/userStore"; +import { useUserStore } from "@/stores/userStore"; import { getLocalVue } from "tests/jest/helpers"; import { Services } from "../services"; diff --git a/client/src/components/Panels/Buttons/FavoritesButton.test.js b/client/src/components/Panels/Buttons/FavoritesButton.test.js index 6b4130f38928..1d276aa13010 100644 --- a/client/src/components/Panels/Buttons/FavoritesButton.test.js +++ b/client/src/components/Panels/Buttons/FavoritesButton.test.js @@ -1,6 +1,6 @@ import { shallowMount } from "@vue/test-utils"; import { createPinia } from "pinia"; -import { useUserStore } from "stores/userStore"; +import { useUserStore } from "@/stores/userStore"; import { getLocalVue } from "tests/jest/helpers"; import FavoritesButton from "./FavoritesButton"; diff --git a/client/src/components/Tool/ToolCard.test.js b/client/src/components/Tool/ToolCard.test.js index 25226dd0a8b0..9b89b8ae975f 100644 --- a/client/src/components/Tool/ToolCard.test.js +++ b/client/src/components/Tool/ToolCard.test.js @@ -2,7 +2,7 @@ import { mount } from "@vue/test-utils"; import axios from "axios"; import MockAdapter from "axios-mock-adapter"; import { createPinia } from "pinia"; -import { useUserStore } from "stores/userStore"; +import { useUserStore } from "@/stores/userStore"; import { getLocalVue } from "tests/jest/helpers"; import ToolCard from "./ToolCard"; diff --git a/client/src/components/Tool/ToolForm.vue b/client/src/components/Tool/ToolForm.vue index 7cddf1e28489..668b18814be8 100644 --- a/client/src/components/Tool/ToolForm.vue +++ b/client/src/components/Tool/ToolForm.vue @@ -118,8 +118,8 @@ import FormElement from "@/components/Form/FormElement"; import LoadingSpan from "@/components/LoadingSpan"; import ToolEntryPoints from "@/components/ToolEntryPoints/ToolEntryPoints"; import { mapActions, mapState, storeToRefs } from "pinia"; -import { useHistoryItemsStore } from "stores/historyItemsStore"; -import { useJobStore } from "stores/jobStore"; +import { useHistoryItemsStore } from "@/stores/historyItemsStore"; +import { useJobStore } from "@/stores/jobStore"; import { refreshContentsWrapper } from "@/utils/data"; import { canMutateHistory } from "@/api"; diff --git a/client/src/components/ToolEntryPoints/ToolEntryPoints.vue b/client/src/components/ToolEntryPoints/ToolEntryPoints.vue index e1e6525eac4f..0c716169301e 100644 --- a/client/src/components/ToolEntryPoints/ToolEntryPoints.vue +++ b/client/src/components/ToolEntryPoints/ToolEntryPoints.vue @@ -42,7 +42,7 @@ import { faExternalLinkAlt } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; import { getAppRoot } from "onload/loadConfig"; import { mapState } from "pinia"; -import { useEntryPointStore } from "stores/entryPointStore"; +import { useEntryPointStore } from "@/stores/entryPointStore"; library.add(faExternalLinkAlt); diff --git a/client/src/components/Workflow/Run/WorkflowRunDefaultStep.vue b/client/src/components/Workflow/Run/WorkflowRunDefaultStep.vue index 3af03d4fbd20..4ccab8724479 100644 --- a/client/src/components/Workflow/Run/WorkflowRunDefaultStep.vue +++ b/client/src/components/Workflow/Run/WorkflowRunDefaultStep.vue @@ -30,7 +30,7 @@ import FormMessage from "@/components/Form/FormMessage"; import { visitInputs } from "@/components/Form/utilities"; import WorkflowIcons from "@/components/Workflow/icons"; import { mapState } from "pinia"; -import { useHistoryItemsStore } from "stores/historyItemsStore"; +import { useHistoryItemsStore } from "@/stores/historyItemsStore"; import { getTool } from "./services"; diff --git a/client/src/components/WorkflowInvocationState/WorkflowInvocationStep.vue b/client/src/components/WorkflowInvocationState/WorkflowInvocationStep.vue index d4ae5292bc6f..c12939e4651b 100644 --- a/client/src/components/WorkflowInvocationState/WorkflowInvocationStep.vue +++ b/client/src/components/WorkflowInvocationState/WorkflowInvocationStep.vue @@ -126,8 +126,8 @@ import LoadingSpan from "@/components/LoadingSpan"; import { InvocationStepProvider } from "@/components/providers"; import ToolLinkPopover from "@/components/Tool/ToolLinkPopover"; import { mapActions, mapState } from "pinia"; -import { useToolStore } from "stores/toolStore"; -import { useWorkflowStore } from "stores/workflowStore"; +import { useToolStore } from "@/stores/toolStore"; +import { useWorkflowStore } from "@/stores/workflowStore"; import JobStep from "./JobStep"; import ParameterStep from "./ParameterStep"; diff --git a/client/src/components/providers/storeProviders.js b/client/src/components/providers/storeProviders.js index 008b25c5c791..b72021e315f7 100644 --- a/client/src/components/providers/storeProviders.js +++ b/client/src/components/providers/storeProviders.js @@ -1,7 +1,7 @@ // Simple dataset provider, looks at api for result, renders to slot prop import axios from "axios"; import { mapActions, mapState } from "pinia"; -import { useDbKeyStore } from "stores/dbKeyStore"; +import { useDbKeyStore } from "@/stores/dbKeyStore"; import { prependPath } from "@/utils/redirect"; import { useDatatypeStore } from "../../stores/datatypeStore"; diff --git a/client/src/composables/userHistories.js b/client/src/composables/userHistories.js index 823e66c45bef..9dff908df3ff 100644 --- a/client/src/composables/userHistories.js +++ b/client/src/composables/userHistories.js @@ -1,4 +1,4 @@ -import { useHistoryStore } from "stores/historyStore"; +import { useHistoryStore } from "@/stores/historyStore"; import { computed, unref, watch } from "vue"; export function useUserHistories(user) { diff --git a/client/src/store/historyStore/model/watchHistory.js b/client/src/store/historyStore/model/watchHistory.js index d0603a386354..0c32792007bf 100644 --- a/client/src/store/historyStore/model/watchHistory.js +++ b/client/src/store/historyStore/model/watchHistory.js @@ -7,8 +7,8 @@ import { getGalaxyInstance } from "@/app"; import { storeToRefs } from "pinia"; -import { useHistoryItemsStore } from "stores/historyItemsStore"; -import { useHistoryStore } from "stores/historyStore"; +import { useHistoryItemsStore } from "@/stores/historyItemsStore"; +import { useHistoryStore } from "@/stores/historyStore"; import { loadSet } from "@/utils/setCache"; import { urlData } from "@/utils/url"; diff --git a/client/src/store/historyStore/model/watchHistory.test.js b/client/src/store/historyStore/model/watchHistory.test.js index 6669c0200e5e..2d532ce9b5f0 100644 --- a/client/src/store/historyStore/model/watchHistory.test.js +++ b/client/src/store/historyStore/model/watchHistory.test.js @@ -2,8 +2,8 @@ import { createLocalVue, mount } from "@vue/test-utils"; import axios from "axios"; import MockAdapter from "axios-mock-adapter"; import { createPinia, mapState } from "pinia"; -import { useHistoryItemsStore } from "stores/historyItemsStore"; -import { useHistoryStore } from "stores/historyStore"; +import { useHistoryItemsStore } from "@/stores/historyItemsStore"; +import { useHistoryStore } from "@/stores/historyStore"; import { watchHistoryOnce } from "./watchHistory"; diff --git a/client/src/stores/users/syncUserToGalaxy.js b/client/src/stores/users/syncUserToGalaxy.js index a7501861300d..9b0d897eded9 100644 --- a/client/src/stores/users/syncUserToGalaxy.js +++ b/client/src/stores/users/syncUserToGalaxy.js @@ -1,6 +1,6 @@ // Sync Galaxy store to legacy galaxy current user import { pluck, switchMap } from "rxjs/operators"; -import { useUserStore } from "stores/userStore"; +import { useUserStore } from "@/stores/userStore"; import { monitorBackboneModel } from "@/utils/observable"; export function syncUserToGalaxy(galaxy$) {