mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-23 12:49:09 +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,4 +1,4 @@
|
||||
import {
|
||||
import type {
|
||||
IExecuteSingleFunctions,
|
||||
IHttpRequestOptions,
|
||||
INodeProperties,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {
|
||||
import type {
|
||||
GenericValue,
|
||||
IExecuteSingleFunctions,
|
||||
IHttpRequestOptions,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
import { SendInBlueNode } from './GenericFunctions';
|
||||
|
||||
export const emailOperations: INodeProperties[] = [
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
import {
|
||||
import type {
|
||||
IExecuteSingleFunctions,
|
||||
IHookFunctions,
|
||||
IHttpRequestOptions,
|
||||
IWebhookFunctions,
|
||||
JsonObject,
|
||||
jsonParse,
|
||||
NodeOperationError,
|
||||
} from 'n8n-workflow';
|
||||
import { OptionsWithUri } from 'request';
|
||||
import { jsonParse, NodeOperationError } from 'n8n-workflow';
|
||||
import type { OptionsWithUri } from 'request';
|
||||
import MailComposer from 'nodemailer/lib/mail-composer';
|
||||
export namespace SendInBlueNode {
|
||||
type ValidEmailFields = { to: string } | { sender: string } | { cc: string } | { bcc: string };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
|
||||
import { INodeType, INodeTypeDescription } from 'n8n-workflow';
|
||||
import type { INodeType, INodeTypeDescription } from 'n8n-workflow';
|
||||
import { attributeFields, attributeOperations } from './AttributeDescription';
|
||||
import { contactFields, contactOperations } from './ContactDescription';
|
||||
import { emailFields, emailOperations } from './EmailDescription';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
|
||||
import {
|
||||
import type {
|
||||
IHookFunctions,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const senderOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user