refactor(core): Fix type errors in workflow, core, nodes-langchain, and nodes-base (no-changelog) (#9450)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-05-22 17:40:52 +02:00
committed by GitHub
parent d9616fc36f
commit 2bdc459bb2
98 changed files with 126 additions and 156 deletions

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,5 +1,6 @@
import nock from 'nock';
import { equalityTest, setup, workflowToTests } from '@test/nodes/Helpers';
import type { IHttpRequestMethods } from 'n8n-workflow';
jest.mock('../../../../v2/transport', () => {
const originalModule = jest.requireActual('../../../../v2/transport');

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,4 +1,4 @@
import type { INodeTypes } from 'n8n-workflow';
import type { IHttpRequestMethods, INodeTypes } from 'n8n-workflow';
import nock from 'nock';
import * as transport from '../../../../v2/transport';

View File

@@ -1,5 +1,6 @@
import nock from 'nock';
import { equalityTest, setup, workflowToTests } from '@test/nodes/Helpers';
import type { IHttpRequestMethods } from 'n8n-workflow';
jest.mock('../../../../v2/transport', () => {
const originalModule = jest.requireActual('../../../../v2/transport');

View File

@@ -1,5 +1,6 @@
import nock from 'nock';
import { equalityTest, setup, workflowToTests } from '@test/nodes/Helpers';
import type { IHttpRequestMethods } from 'n8n-workflow';
jest.mock('../../../../v2/transport', () => {
const originalModule = jest.requireActual('../../../../v2/transport');

View File

@@ -1,5 +1,6 @@
import nock from 'nock';
import { equalityTest, setup, workflowToTests } from '@test/nodes/Helpers';
import type { IHttpRequestMethods } from 'n8n-workflow';
jest.mock('../../../../v2/transport', () => {
const originalModule = jest.requireActual('../../../../v2/transport');