mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314)
This commit is contained in:
committed by
GitHub
parent
8c635993bd
commit
bafac73eb5
@@ -2,7 +2,6 @@ import type { INodeTypeBaseDescription, IVersionedNodeType } from 'n8n-workflow'
|
||||
import { VersionedNodeType } from 'n8n-workflow';
|
||||
|
||||
import { AwsS3V1 } from './V1/AwsS3V1.node';
|
||||
|
||||
import { AwsS3V2 } from './V2/AwsS3V2.node';
|
||||
|
||||
export class AwsS3 extends VersionedNodeType {
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import { createHash } from 'crypto';
|
||||
import { paramCase, snakeCase } from 'change-case';
|
||||
|
||||
import { Builder } from 'xml2js';
|
||||
|
||||
import { createHash } from 'crypto';
|
||||
import type {
|
||||
IDataObject,
|
||||
IExecuteFunctions,
|
||||
@@ -12,13 +9,11 @@ import type {
|
||||
INodeTypeDescription,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
import { Builder } from 'xml2js';
|
||||
|
||||
import { bucketFields, bucketOperations } from './BucketDescription';
|
||||
|
||||
import { folderFields, folderOperations } from './FolderDescription';
|
||||
|
||||
import { fileFields, fileOperations } from './FileDescription';
|
||||
|
||||
import { folderFields, folderOperations } from './FolderDescription';
|
||||
import {
|
||||
awsApiRequestREST,
|
||||
awsApiRequestSOAP,
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
import get from 'lodash/get';
|
||||
|
||||
import { parseString } from 'xml2js';
|
||||
|
||||
import type {
|
||||
IDataObject,
|
||||
IExecuteFunctions,
|
||||
@@ -11,6 +8,7 @@ import type {
|
||||
IHttpRequestOptions,
|
||||
IHttpRequestMethods,
|
||||
} from 'n8n-workflow';
|
||||
import { parseString } from 'xml2js';
|
||||
|
||||
export async function awsApiRequest(
|
||||
this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions,
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
import { createHash } from 'crypto';
|
||||
import type { Readable } from 'stream';
|
||||
import { paramCase, snakeCase } from 'change-case';
|
||||
|
||||
import { Builder } from 'xml2js';
|
||||
|
||||
import { createHash } from 'crypto';
|
||||
import type {
|
||||
IDataObject,
|
||||
IExecuteFunctions,
|
||||
@@ -13,13 +9,12 @@ import type {
|
||||
INodeTypeDescription,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
import type { Readable } from 'stream';
|
||||
import { Builder } from 'xml2js';
|
||||
|
||||
import { bucketFields, bucketOperations } from './BucketDescription';
|
||||
|
||||
import { folderFields, folderOperations } from './FolderDescription';
|
||||
|
||||
import { fileFields, fileOperations } from './FileDescription';
|
||||
|
||||
import { folderFields, folderOperations } from './FolderDescription';
|
||||
import { awsApiRequestREST, awsApiRequestRESTAllItems } from './GenericFunctions';
|
||||
|
||||
// Minimum size 5MB for multipart upload in S3
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
import get from 'lodash/get';
|
||||
|
||||
import { parseString } from 'xml2js';
|
||||
|
||||
import type {
|
||||
IDataObject,
|
||||
IExecuteFunctions,
|
||||
@@ -11,6 +8,7 @@ import type {
|
||||
IHttpRequestOptions,
|
||||
IHttpRequestMethods,
|
||||
} from 'n8n-workflow';
|
||||
import { parseString } from 'xml2js';
|
||||
|
||||
export async function awsApiRequest(
|
||||
this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import nock from 'nock';
|
||||
|
||||
import { getWorkflowFilenames, initBinaryDataService, testWorkflows } from '@test/nodes/Helpers';
|
||||
|
||||
const workflows = getWorkflowFilenames(__dirname);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import nock from 'nock';
|
||||
|
||||
import { getWorkflowFilenames, initBinaryDataService, testWorkflows } from '@test/nodes/Helpers';
|
||||
|
||||
const workflows = getWorkflowFilenames(__dirname);
|
||||
|
||||
Reference in New Issue
Block a user