mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor: Remove unused lint directives (no-changelog) (#9842)
This commit is contained in:
@@ -9,6 +9,7 @@ import type {
|
||||
} from 'n8n-workflow';
|
||||
import { NodeConnectionType, NodeOperationError, tryToParseAlphanumericString } from 'n8n-workflow';
|
||||
|
||||
import { DynamicTool } from '@langchain/core/tools';
|
||||
import { getConnectionHintNoticeField } from '../../../utils/sharedFields';
|
||||
|
||||
import {
|
||||
@@ -31,8 +32,6 @@ import {
|
||||
|
||||
import type { PlaceholderDefinition, ToolParameter } from './interfaces';
|
||||
|
||||
import { DynamicTool } from '@langchain/core/tools';
|
||||
|
||||
export class ToolHttpRequest implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'HTTP Request Tool',
|
||||
|
||||
@@ -10,15 +10,6 @@ import { NodeConnectionType, NodeOperationError, jsonParse } from 'n8n-workflow'
|
||||
|
||||
import { getOAuth2AdditionalParameters } from 'n8n-nodes-base/dist/nodes/HttpRequest/GenericFunctions';
|
||||
|
||||
import type {
|
||||
ParameterInputType,
|
||||
ParametersValues,
|
||||
PlaceholderDefinition,
|
||||
ParametersValues as RawParametersValues,
|
||||
SendIn,
|
||||
ToolParameter,
|
||||
} from './interfaces';
|
||||
|
||||
import set from 'lodash/set';
|
||||
import get from 'lodash/get';
|
||||
import unset from 'lodash/unset';
|
||||
@@ -28,6 +19,14 @@ import { convert } from 'html-to-text';
|
||||
|
||||
import { Readability } from '@mozilla/readability';
|
||||
import { JSDOM } from 'jsdom';
|
||||
import type {
|
||||
ParameterInputType,
|
||||
ParametersValues,
|
||||
PlaceholderDefinition,
|
||||
ParametersValues as RawParametersValues,
|
||||
SendIn,
|
||||
ToolParameter,
|
||||
} from './interfaces';
|
||||
|
||||
const genericCredentialRequest = async (ctx: IExecuteFunctions, itemIndex: number) => {
|
||||
const genericType = ctx.getNodeParameter('genericAuthType', itemIndex) as string;
|
||||
|
||||
Reference in New Issue
Block a user