mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Integrate consistent-type-imports in nodes-base (no-changelog) (#5267)
* 👕 Enable `consistent-type-imports` for nodes-base * 👕 Apply to nodes-base * ⏪ Undo unrelated changes * 🚚 Move to `.eslintrc.js` in nodes-base * ⏪ Revert "Enable `consistent-type-imports` for nodes-base" This reverts commit 529ad72b051478fa1633aaf84b2864f2fdc7613c. * 👕 Fix severity
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core';
|
||||
import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core';
|
||||
|
||||
import { IDataObject, INodePropertyOptions, NodeApiError, NodeOperationError } from 'n8n-workflow';
|
||||
import type { IDataObject, INodePropertyOptions } from 'n8n-workflow';
|
||||
import { NodeApiError, NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import { OptionsWithUri } from 'request';
|
||||
import type { OptionsWithUri } from 'request';
|
||||
|
||||
export interface ICustomInterface {
|
||||
name: string;
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
|
||||
import {
|
||||
import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
|
||||
import type {
|
||||
IDataObject,
|
||||
INodeExecutionData,
|
||||
INodePropertyOptions,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
NodeOperationError,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import type { ICustomProperties } from './GenericFunctions';
|
||||
import {
|
||||
ICustomProperties,
|
||||
pipedriveApiRequest,
|
||||
pipedriveApiRequestAllItems,
|
||||
pipedriveEncodeCustomProperties,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IHookFunctions, IWebhookFunctions } from 'n8n-core';
|
||||
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
import type {
|
||||
ICredentialDataDecryptedObject,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
@@ -11,7 +11,7 @@ import { pipedriveApiRequest } from './GenericFunctions';
|
||||
|
||||
import basicAuth from 'basic-auth';
|
||||
|
||||
import { Response } from 'express';
|
||||
import type { Response } from 'express';
|
||||
|
||||
function authorizationError(resp: Response, realm: string, responseCode: number, message?: string) {
|
||||
if (message === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user