Skip to content

Commit

Permalink
stores import prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Oct 18, 2024
1 parent 95f39cb commit b241b9a
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion client/src/components/DragGhost.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/History/Layout/DetailsLayout.test.js
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/History/adapters/HistoryPanelProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Tool/ToolCard.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Tool/ToolForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/ToolEntryPoints/ToolEntryPoints.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/providers/storeProviders.js
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion client/src/composables/userHistories.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useHistoryStore } from "stores/historyStore";
import { useHistoryStore } from "@/stores/historyStore";
import { computed, unref, watch } from "vue";

export function useUserHistories(user) {
Expand Down
4 changes: 2 additions & 2 deletions client/src/store/historyStore/model/watchHistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
4 changes: 2 additions & 2 deletions client/src/store/historyStore/model/watchHistory.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
2 changes: 1 addition & 1 deletion client/src/stores/users/syncUserToGalaxy.js
Original file line number Diff line number Diff line change
@@ -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$) {
Expand Down

0 comments on commit b241b9a

Please sign in to comment.