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
@@ -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 = {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user