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,7 +1,7 @@
|
||||
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
import type { IExecuteFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
import type {
|
||||
IDataObject,
|
||||
ILoadOptionsFunctions,
|
||||
INodeExecutionData,
|
||||
@@ -14,7 +14,7 @@ import { awsApiRequest, awsApiRequestAllItems } from './GenericFunctions';
|
||||
|
||||
import { itemFields, itemOperations } from './ItemDescription';
|
||||
|
||||
import {
|
||||
import type {
|
||||
FieldsUiValues,
|
||||
IAttributeNameUi,
|
||||
IAttributeValueUi,
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
import {
|
||||
import type {
|
||||
IExecuteFunctions,
|
||||
IHookFunctions,
|
||||
ILoadOptionsFunctions,
|
||||
IWebhookFunctions,
|
||||
} from 'n8n-core';
|
||||
|
||||
import { deepCopy, IDataObject, IHttpRequestOptions, INodeExecutionData } from 'n8n-workflow';
|
||||
import type { IDataObject, IHttpRequestOptions, INodeExecutionData } from 'n8n-workflow';
|
||||
import { deepCopy } from 'n8n-workflow';
|
||||
|
||||
import { IRequestBody } from './types';
|
||||
import type { IRequestBody } from './types';
|
||||
|
||||
export async function awsApiRequest(
|
||||
this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const itemOperations: INodeProperties[] = [
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { deepCopy, IDataObject, INodeExecutionData, assert } from 'n8n-workflow';
|
||||
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
|
||||
import { deepCopy, assert } from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
import type {
|
||||
AdjustedPutItem,
|
||||
AttributeValueType,
|
||||
EAttributeValueType,
|
||||
|
||||
Reference in New Issue
Block a user