refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-12-19 18:46:14 +01:00
committed by GitHub
parent 8c635993bd
commit bafac73eb5
1120 changed files with 2677 additions and 2827 deletions

View File

@@ -1,5 +1,3 @@
import type { Readable } from 'stream';
import type {
IExecuteFunctions,
IDataObject,
@@ -9,9 +7,10 @@ import type {
IHttpRequestMethods,
} from 'n8n-workflow';
import { BINARY_ENCODING, NodeConnectionType, NodeOperationError } from 'n8n-workflow';
import type { Readable } from 'stream';
import { appendAttributionOption } from '../../utils/descriptions';
import { addAdditionalFields, apiRequest, getPropertyName } from './GenericFunctions';
import { appendAttributionOption } from '../../utils/descriptions';
export class Telegram implements INodeType {
description: INodeTypeDescription = {

View File

@@ -10,7 +10,6 @@ import type {
import { NodeConnectionType } from 'n8n-workflow';
import { apiRequest, getImageBySize, getSecretToken } from './GenericFunctions';
import type { IEvent } from './IEvent';
export class TelegramTrigger implements INodeType {

View File

@@ -1,7 +1,4 @@
import nock from 'nock';
import { FAKE_CREDENTIALS_DATA } from '../../../../test/nodes/FakeCredentialsMap';
import { getWorkflowFilenames, testWorkflows } from '../../../../test/nodes/Helpers';
import {
getChatResponse,
@@ -16,6 +13,8 @@ import {
sendAudioResponse,
getMemberResponse,
} from './apiResponses';
import { FAKE_CREDENTIALS_DATA } from '../../../../test/nodes/FakeCredentialsMap';
import { getWorkflowFilenames, testWorkflows } from '../../../../test/nodes/Helpers';
describe('Telegram', () => {
describe('Run Telegram workflow', () => {