refactor(editor): Delete some barrel files and reduce circular dependencies (no-changelog) (#7838)
This commit is contained in:
committed by
GitHub
parent
3ab3ec9da8
commit
753cbc1e96
@@ -8,7 +8,7 @@ import {
|
||||
getNodeAuthFields,
|
||||
getNodeAuthOptions,
|
||||
isAuthRelatedParameter,
|
||||
} from '@/utils';
|
||||
} from '@/utils/nodeTypesUtils';
|
||||
import type { INodeProperties, INodeTypeDescription, NodeParameterValue } from 'n8n-workflow';
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ import { defineComponent } from 'vue';
|
||||
import { mapStores } from 'pinia';
|
||||
|
||||
import type { ICredentialType, INodeTypeDescription } from 'n8n-workflow';
|
||||
import { getAppNameFromCredType, isCommunityPackageName } from '@/utils';
|
||||
import { getAppNameFromCredType, isCommunityPackageName } from '@/utils/nodeTypesUtils';
|
||||
|
||||
import Banner from '../Banner.vue';
|
||||
import CopyInput from '../CopyInput.vue';
|
||||
|
||||
@@ -136,7 +136,8 @@ import { NodeHelpers } from 'n8n-workflow';
|
||||
import CredentialIcon from '@/components/CredentialIcon.vue';
|
||||
|
||||
import { nodeHelpers } from '@/mixins/nodeHelpers';
|
||||
import { useToast, useMessage } from '@/composables';
|
||||
import { useMessage } from '@/composables/useMessage';
|
||||
import { useToast } from '@/composables/useToast';
|
||||
|
||||
import CredentialConfig from '@/components/CredentialEdit/CredentialConfig.vue';
|
||||
import CredentialInfo from '@/components/CredentialEdit/CredentialInfo.vue';
|
||||
@@ -157,14 +158,12 @@ import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||
import { useNDVStore } from '@/stores/ndv.store';
|
||||
import { useCredentialsStore } from '@/stores/credentials.store';
|
||||
import {
|
||||
isValidCredentialResponse,
|
||||
getNodeAuthOptions,
|
||||
getNodeCredentialForSelectedAuthType,
|
||||
updateNodeAuthType,
|
||||
isCredentialModalState,
|
||||
isExpression,
|
||||
isTestableExpression,
|
||||
} from '@/utils';
|
||||
} from '@/utils/nodeTypesUtils';
|
||||
import { isValidCredentialResponse, isCredentialModalState } from '@/utils/typeGuards';
|
||||
import { isExpression, isTestableExpression } from '@/utils/expressions';
|
||||
import { externalHooks } from '@/mixins/externalHooks';
|
||||
|
||||
interface NodeAccessMap {
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<script lang="ts">
|
||||
import type { IUser, IUserListAction } from '@/Interface';
|
||||
import { defineComponent } from 'vue';
|
||||
import { useMessage } from '@/composables';
|
||||
import { useMessage } from '@/composables/useMessage';
|
||||
import { mapStores } from 'pinia';
|
||||
import { useUsersStore } from '@/stores/users.store';
|
||||
import { useSettingsStore } from '@/stores/settings.store';
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useUIStore } from '@/stores';
|
||||
import { useUIStore } from '@/stores/ui.store';
|
||||
import { useRootStore } from '@/stores/n8nRoot.store';
|
||||
|
||||
const { baseUrl } = useRootStore();
|
||||
|
||||
Reference in New Issue
Block a user