refactor(editor): Add infix to Pinia stores (no-changelog) (#6149)

*  Add infix to Pinia stores

*  Fix paths in mocks

* 🐛 Fix import
This commit is contained in:
Iván Ovejero
2023-05-05 10:41:54 +02:00
committed by GitHub
parent 394c9a2731
commit d5c44987f4
205 changed files with 516 additions and 516 deletions

View File

@@ -150,15 +150,15 @@ import { saveAs } from 'file-saver';
import { useTitleChange } from '@/composables/useTitleChange';
import type { MessageBoxInputData } from 'element-ui/types/message-box';
import { mapStores } from 'pinia';
import { useUIStore } from '@/stores/ui';
import { useSettingsStore } from '@/stores/settings';
import { useWorkflowsStore } from '@/stores/workflows';
import { useRootStore } from '@/stores/n8nRootStore';
import { useTagsStore } from '@/stores/tags';
import { useUIStore } from '@/stores/ui.store';
import { useSettingsStore } from '@/stores/settings.store';
import { useWorkflowsStore } from '@/stores/workflows.store';
import { useRootStore } from '@/stores/n8nRoot.store';
import { useTagsStore } from '@/stores/tags.store';
import type { IPermissions } from '@/permissions';
import { getWorkflowPermissions } from '@/permissions';
import { useUsersStore } from '@/stores/users';
import { useUsageStore } from '@/stores/usage';
import { useUsersStore } from '@/stores/users.store';
import { useUsageStore } from '@/stores/usage.store';
import { createEventBus } from '@/event-bus';
const hasChanged = (prev: string[], curr: string[]) => {