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 accountOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const attachmentOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const caseOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -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 customObjectOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const documentOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const flowOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,13 +1,9 @@
|
||||
import { OptionsWithUri } from 'request';
|
||||
import type { OptionsWithUri } from 'request';
|
||||
|
||||
import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core';
|
||||
import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
IDataObject,
|
||||
INodePropertyOptions,
|
||||
LoggerProxy as Logger,
|
||||
NodeApiError,
|
||||
} from 'n8n-workflow';
|
||||
import type { IDataObject, INodePropertyOptions } from 'n8n-workflow';
|
||||
import { LoggerProxy as Logger, NodeApiError } from 'n8n-workflow';
|
||||
|
||||
import moment from 'moment-timezone';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const leadOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const opportunityOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,34 +1,32 @@
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
import type { IExecuteFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
import type {
|
||||
IDataObject,
|
||||
ILoadOptionsFunctions,
|
||||
INodeExecutionData,
|
||||
INodePropertyOptions,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
LoggerProxy as Logger,
|
||||
NodeApiError,
|
||||
NodeOperationError,
|
||||
} from 'n8n-workflow';
|
||||
import { LoggerProxy as Logger, NodeApiError, NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import { accountFields, accountOperations } from './AccountDescription';
|
||||
|
||||
import { IAccount } from './AccountInterface';
|
||||
import type { IAccount } from './AccountInterface';
|
||||
|
||||
import { attachmentFields, attachmentOperations } from './AttachmentDescription';
|
||||
|
||||
import { IAttachment } from './AttachmentInterface';
|
||||
import type { IAttachment } from './AttachmentInterface';
|
||||
|
||||
import { ICampaignMember } from './CampaignMemberInterface';
|
||||
import type { ICampaignMember } from './CampaignMemberInterface';
|
||||
|
||||
import { caseFields, caseOperations } from './CaseDescription';
|
||||
|
||||
import { ICase, ICaseComment } from './CaseInterface';
|
||||
import type { ICase, ICaseComment } from './CaseInterface';
|
||||
|
||||
import { contactFields, contactOperations } from './ContactDescription';
|
||||
|
||||
import { IContact } from './ContactInterface';
|
||||
import type { IContact } from './ContactInterface';
|
||||
|
||||
import { customObjectFields, customObjectOperations } from './CustomObjectDescription';
|
||||
|
||||
@@ -43,19 +41,19 @@ import {
|
||||
|
||||
import { leadFields, leadOperations } from './LeadDescription';
|
||||
|
||||
import { ILead } from './LeadInterface';
|
||||
import type { ILead } from './LeadInterface';
|
||||
|
||||
import { INote } from './NoteInterface';
|
||||
import type { INote } from './NoteInterface';
|
||||
|
||||
import { opportunityFields, opportunityOperations } from './OpportunityDescription';
|
||||
|
||||
import { IOpportunity } from './OpportunityInterface';
|
||||
import type { IOpportunity } from './OpportunityInterface';
|
||||
|
||||
import { searchFields, searchOperations } from './SearchDescription';
|
||||
|
||||
import { taskFields, taskOperations } from './TaskDescription';
|
||||
|
||||
import { ITask } from './TaskInterface';
|
||||
import type { ITask } from './TaskInterface';
|
||||
|
||||
import { userFields, userOperations } from './UserDescription';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const searchOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const taskOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const userOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user