mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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 { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const companyOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { IDataObject } from 'n8n-workflow';
|
||||
import type { IDataObject } from 'n8n-workflow';
|
||||
|
||||
export interface ICompany {
|
||||
address?: IDataObject;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { IDataObject } from 'n8n-workflow';
|
||||
import type { IDataObject } from 'n8n-workflow';
|
||||
|
||||
export interface IAddress {
|
||||
country_code?: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const contactOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const contactNoteOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const contactTagOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const ecommerceOrderOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const ecommerceProductOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const emailOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const fileOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
import { OptionsWithUri } from 'request';
|
||||
import type { OptionsWithUri } from 'request';
|
||||
|
||||
import {
|
||||
import type {
|
||||
IExecuteFunctions,
|
||||
IHookFunctions,
|
||||
ILoadOptionsFunctions,
|
||||
IWebhookFunctions,
|
||||
} from 'n8n-core';
|
||||
|
||||
import { IDataObject, NodeApiError } from 'n8n-workflow';
|
||||
import type { IDataObject } from 'n8n-workflow';
|
||||
import { NodeApiError } from 'n8n-workflow';
|
||||
|
||||
import { snakeCase } from 'change-case';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
import type { IExecuteFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
import type {
|
||||
IBinaryKeyData,
|
||||
IDataObject,
|
||||
ILoadOptionsFunctions,
|
||||
@@ -8,8 +8,8 @@ import {
|
||||
INodePropertyOptions,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
NodeOperationError,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import { keapApiRequest, keapApiRequestAllItems, keysToSnakeCase } from './GenericFunctions';
|
||||
|
||||
@@ -29,7 +29,7 @@ import { fileFields, fileOperations } from './FileDescription';
|
||||
|
||||
import { companyFields, companyOperations } from './CompanyDescription';
|
||||
|
||||
import {
|
||||
import type {
|
||||
IAddress,
|
||||
IContact,
|
||||
IEmailContact,
|
||||
@@ -38,17 +38,17 @@ import {
|
||||
ISocialAccount,
|
||||
} from './ConctactInterface';
|
||||
|
||||
import { IAttachment, IEmail } from './EmaiIInterface';
|
||||
import type { IAttachment, IEmail } from './EmaiIInterface';
|
||||
|
||||
import { INote } from './ContactNoteInterface';
|
||||
import type { INote } from './ContactNoteInterface';
|
||||
|
||||
import { IEcommerceOrder, IItem, IShippingAddress } from './EcommerceOrderInterface';
|
||||
import type { IEcommerceOrder, IItem, IShippingAddress } from './EcommerceOrderInterface';
|
||||
|
||||
import { IEcommerceProduct } from './EcommerceProductInterface';
|
||||
import type { IEcommerceProduct } from './EcommerceProductInterface';
|
||||
|
||||
import { IFile } from './FileInterface';
|
||||
import type { IFile } from './FileInterface';
|
||||
|
||||
import { ICompany } from './CompanyInterface';
|
||||
import type { ICompany } from './CompanyInterface';
|
||||
|
||||
import { capitalCase, pascalCase } from 'change-case';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IHookFunctions, IWebhookFunctions } from 'n8n-core';
|
||||
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
import type {
|
||||
IDataObject,
|
||||
ILoadOptionsFunctions,
|
||||
INodePropertyOptions,
|
||||
|
||||
Reference in New Issue
Block a user