refactor: Remove n8n-core dependency in nodes-base (no-changelog) (#5649)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-03-09 18:13:15 +01:00 committed by GitHub
parent 5790e5e719
commit 7a4e9ef5fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
667 changed files with 1848 additions and 1590 deletions

View file

@ -16,7 +16,7 @@
import type express from 'express';
import get from 'lodash.get';
import { BINARY_ENCODING, BinaryDataManager, NodeExecuteFunctions, eventEmitter } from 'n8n-core';
import { BinaryDataManager, NodeExecuteFunctions, eventEmitter } from 'n8n-core';
import type {
IBinaryKeyData,
@ -35,6 +35,7 @@ import type {
WorkflowExecuteMode,
} from 'n8n-workflow';
import {
BINARY_ENCODING,
createDeferredPromise,
ErrorReporterProxy as ErrorReporter,
LoggerProxy as Logger,

View file

@ -2,7 +2,7 @@ import { readFile, stat } from 'fs/promises';
import type { BinaryMetadata, IBinaryData, INodeExecutionData } from 'n8n-workflow';
import prettyBytes from 'pretty-bytes';
import type { Readable } from 'stream';
import { BINARY_ENCODING } from '../Constants';
import { BINARY_ENCODING } from 'n8n-workflow';
import type { IBinaryDataConfig, IBinaryDataManager } from '../Interfaces';
import { BinaryDataFileSystem } from './FileSystem';
import { binaryToBuffer } from './utils';

View file

@ -1,5 +1,4 @@
/* eslint-disable @typescript-eslint/naming-convention */
export const BINARY_ENCODING = 'base64';
export const CUSTOM_EXTENSION_ENV = 'N8N_CUSTOM_EXTENSIONS';
export const DOWNLOADED_NODES_SUBDIRECTORY = 'nodes';
export const ENCRYPTION_KEY_ENV_OVERWRITE = 'N8N_ENCRYPTION_KEY';
@ -10,7 +9,6 @@ export const USER_SETTINGS_SUBFOLDER = '.n8n';
export const PLACEHOLDER_EMPTY_EXECUTION_ID = '__UNKNOWN__';
export const PLACEHOLDER_EMPTY_WORKFLOW_ID = '__EMPTY__';
export const TUNNEL_SUBDOMAIN_ENV = 'N8N_TUNNEL_SUBDOMAIN';
export const WAIT_TIME_UNLIMITED = '3000-01-01T00:00:00.000Z';
export const RESPONSE_ERROR_MESSAGES = {
NO_ENCRYPTION_KEY: 'Encryption key is missing or was not set',

View file

@ -15,9 +15,3 @@ export * from './NodeExecuteFunctions';
export * from './WorkflowExecute';
export { eventEmitter, NodeExecuteFunctions, UserSettings };
export * from './errors';
declare module 'http' {
export interface IncomingMessage {
rawBody: Buffer;
}
}

View file

@ -46,7 +46,7 @@ export async function createCustomTsconfig() {
/**
* Builds and copies credentials and nodes
*
* @param {IBuildOptions} [options] Options to overwrite default behaviour
* @param {IBuildOptions} [options] Options to overwrite default behavior
*/
export async function buildFiles({
destinationFolder = UserSettings.getUserN8nFolderCustomExtensionPath(),

View file

@ -1,5 +1,9 @@
import { IExecuteFunctions } from 'n8n-core';
import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
import {
IExecuteFunctions,
INodeExecutionData,
INodeType,
INodeTypeDescription,
} from 'n8n-workflow';
export class ClassNameReplace implements INodeType {
description: INodeTypeDescription = {

View file

@ -1,5 +1,4 @@
import { ITriggerFunctions } from 'n8n-core';
import { INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow';
import { ITriggerFunctions, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow';
export class ClassNameReplace implements INodeType {
description: INodeTypeDescription = {

View file

@ -1,6 +1,10 @@
import { IWebhookFunctions } from 'n8n-core';
import { IDataObject, INodeTypeDescription, INodeType, IWebhookResponseData } from 'n8n-workflow';
import {
IDataObject,
IWebhookFunctions,
INodeTypeDescription,
INodeType,
IWebhookResponseData,
} from 'n8n-workflow';
export class ClassNameReplace implements INodeType {
description: INodeTypeDescription = {

View file

@ -1,4 +1,4 @@
import { BINARY_ENCODING } from 'n8n-core';
import { BINARY_ENCODING } from 'n8n-workflow';
import type {
ICredentialDataDecryptedObject,
ICredentialTestRequest,

View file

@ -1,7 +1,6 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IDataObject,
IExecuteFunctions,
INodeExecutionData,
INodeType,
INodeTypeDescription,

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow';
import type { IDataObject, IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-workflow';
import type { OptionsWithUri } from 'request';

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,6 +1,6 @@
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
import type {
IHookFunctions,
IWebhookFunctions,
IDataObject,
ILoadOptionsFunctions,
INodePropertyOptions,

View file

@ -1,6 +1,11 @@
import type { IExecuteFunctions, IHookFunctions } from 'n8n-core';
import type { IDataObject, ILoadOptionsFunctions, INodeProperties, JsonObject } from 'n8n-workflow';
import type {
IDataObject,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
INodeProperties,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
import type { OptionsWithUri } from 'request';

View file

@ -1,6 +1,6 @@
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
import type {
IHookFunctions,
IWebhookFunctions,
IDataObject,
INodeType,
INodeTypeDescription,

View file

@ -1,12 +1,13 @@
import type { OptionsWithUri } from 'request';
import type {
IDataObject,
IExecuteFunctions,
IExecuteSingleFunctions,
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import type { IDataObject, JsonObject } from 'n8n-workflow';
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
export async function acuitySchedulingApiRequest(

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,6 +1,6 @@
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
import type {
IHookFunctions,
IWebhookFunctions,
IDataObject,
INodeType,
INodeTypeDescription,

View file

@ -1,10 +1,14 @@
import type { OptionsWithUri } from 'request';
import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
import { BINARY_ENCODING } from 'n8n-core';
import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
import type {
IDataObject,
IExecuteFunctions,
ILoadOptionsFunctions,
IHookFunctions,
IWebhookFunctions,
JsonObject,
} from 'n8n-workflow';
import { BINARY_ENCODING, NodeApiError } from 'n8n-workflow';
export async function affinityApiRequest(
this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions,

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
INodeExecutionData,
INodeType,

View file

@ -1,13 +1,13 @@
import type { OptionsWithUri } from 'request';
import type {
IDataObject,
IExecuteFunctions,
IExecuteSingleFunctions,
IHookFunctions,
ILoadOptionsFunctions,
} from 'n8n-core';
import type { IDataObject, JsonObject } from 'n8n-workflow';
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
import type { IContactUpdate } from './ContactInterface';

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
INodeExecutionData,
INodeType,

View file

@ -1,6 +1,5 @@
import type { IPollFunctions } from 'n8n-core';
import type {
IPollFunctions,
IDataObject,
INodeExecutionData,
INodeType,

View file

@ -1,10 +1,10 @@
import type { IExecuteFunctions, IPollFunctions } from 'n8n-core';
import type { OptionsWithUri } from 'request';
import type {
IBinaryKeyData,
IDataObject,
IExecuteFunctions,
IPollFunctions,
ILoadOptionsFunctions,
INodeExecutionData,
} from 'n8n-workflow';

View file

@ -1,8 +1,8 @@
import type { ContainerOptions, Dictionary, EventContext } from 'rhea';
import { create_container } from 'rhea';
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
INodeExecutionData,
INodeType,

View file

@ -1,8 +1,13 @@
import type { ContainerOptions, EventContext, Message, ReceiverOptions } from 'rhea';
import { create_container } from 'rhea';
import type { ITriggerFunctions } from 'n8n-core';
import type { IDataObject, INodeType, INodeTypeDescription, ITriggerResponse } from 'n8n-workflow';
import type {
ITriggerFunctions,
IDataObject,
INodeType,
INodeTypeDescription,
ITriggerResponse,
} from 'n8n-workflow';
import { deepCopy, jsonParse, NodeOperationError } from 'n8n-workflow';
export class AmqpTrigger implements INodeType {

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,7 +1,6 @@
import type { OptionsWithUri } from 'request';
import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type { JsonObject } from 'n8n-workflow';
import type { IExecuteFunctions, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
export async function apiTemplateIoApiRequest(

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
IHttpRequestMethods,
ILoadOptionsFunctions,

View file

@ -1,6 +1,6 @@
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
import type {
IHookFunctions,
IWebhookFunctions,
IDataObject,
ILoadOptionsFunctions,
INodePropertyOptions,

View file

@ -1,7 +1,8 @@
import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type {
IDataObject,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
IHttpRequestMethods,
IHttpRequestOptions,
INodePropertyOptions,

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,8 +1,12 @@
import type { OptionsWithUri } from 'request';
import type { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type { IDataObject, JsonObject } from 'n8n-workflow';
import type {
IExecuteFunctions,
IExecuteSingleFunctions,
ILoadOptionsFunctions,
IDataObject,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
export async function automizyApiRequest(

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,6 +1,6 @@
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
import type {
IHookFunctions,
IWebhookFunctions,
IDataObject,
INodeType,
INodeTypeDescription,

View file

@ -1,8 +1,13 @@
import type { OptionsWithUri } from 'request';
import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow';
import type {
IExecuteFunctions,
ILoadOptionsFunctions,
IDataObject,
IHookFunctions,
IWebhookFunctions,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
export async function autopilotApiRequest(

View file

@ -1,5 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,5 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,6 +1,6 @@
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
import type {
IHookFunctions,
IWebhookFunctions,
ILoadOptionsFunctions,
INodeListSearchItems,
INodeListSearchResult,

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
INodeExecutionData,
INodeType,

View file

@ -1,13 +1,14 @@
import get from 'lodash.get';
import type {
IDataObject,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import type { IDataObject, IHttpRequestOptions, JsonObject } from 'n8n-workflow';
IHttpRequestOptions,
JsonObject,
} from 'n8n-workflow';
import { jsonParse, NodeApiError } from 'n8n-workflow';
export async function awsApiRequest(

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
INodeExecutionData,
INodeType,

View file

@ -5,9 +5,8 @@ import type {
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import type { IHttpRequestOptions } from 'n8n-workflow';
IHttpRequestOptions,
} from 'n8n-workflow';
export async function awsApiRequest(
this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions,

View file

@ -1,7 +1,6 @@
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,11 +1,12 @@
import type {
IDataObject,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import type { IDataObject, IHttpRequestOptions, INodeExecutionData } from 'n8n-workflow';
IHttpRequestOptions,
INodeExecutionData,
} from 'n8n-workflow';
import { deepCopy } from 'n8n-workflow';
import type { IRequestBody } from './types';

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -3,13 +3,14 @@ import get from 'lodash.get';
import { parseString } from 'xml2js';
import type {
IDataObject,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import type { IDataObject, IHttpRequestOptions, JsonObject } from 'n8n-workflow';
IHttpRequestOptions,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
export async function awsApiRequest(

View file

@ -5,9 +5,9 @@ import type {
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import type { IHttpRequestOptions, JsonObject } from 'n8n-workflow';
IHttpRequestOptions,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
export async function awsApiRequest(

View file

@ -3,13 +3,13 @@ import get from 'lodash.get';
import { parseString } from 'xml2js';
import type {
IDataObject,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import type { IDataObject, IHttpRequestOptions } from 'n8n-workflow';
IHttpRequestOptions,
} from 'n8n-workflow';
import { pascalCase } from 'change-case';

View file

@ -3,13 +3,13 @@ import get from 'lodash.get';
import { parseString } from 'xml2js';
import type {
IDataObject,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import type { IDataObject, IHttpRequestOptions } from 'n8n-workflow';
IHttpRequestOptions,
} from 'n8n-workflow';
export async function awsApiRequest(
this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions,

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,13 +1,14 @@
import { parseString } from 'xml2js';
import type {
IDataObject,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import type { IDataObject, IHttpRequestOptions, JsonObject } from 'n8n-workflow';
IHttpRequestOptions,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
import get from 'lodash.get';

View file

@ -8,15 +8,12 @@ import type { OptionsWithUri } from 'request';
import { parseString } from 'xml2js';
import type {
ICredentialDataDecryptedObject,
ICredentialTestFunctions,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import type {
ICredentialDataDecryptedObject,
ICredentialTestFunctions,
IHttpRequestOptions,
JsonObject,
} from 'n8n-workflow';

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
INodeExecutionData,
INodeType,

View file

@ -6,13 +6,14 @@ import { sign } from 'aws4';
import type { OptionsWithUri } from 'request';
import type {
ICredentialDataDecryptedObject,
IDataObject,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import type { ICredentialDataDecryptedObject, IDataObject, JsonObject } from 'n8n-workflow';
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
import get from 'lodash.get';

View file

@ -1,6 +1,9 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { INodeType, INodeTypeBaseDescription, INodeTypeDescription } from 'n8n-workflow';
import type {
IExecuteFunctions,
INodeType,
INodeTypeBaseDescription,
INodeTypeDescription,
} from 'n8n-workflow';
import { router } from './v1/actions/router';
import { versionDescription } from './v1/actions/versionDescription';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { NodeOperationError } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,6 +1,4 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { IDataObject, INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest } from '../../../transport';

View file

@ -1,7 +1,5 @@
/* eslint-disable @typescript-eslint/no-unsafe-argument */
import type { IExecuteFunctions } from 'n8n-core';
import type { INodeExecutionData } from 'n8n-workflow';
import type { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
import * as employee from './employee';
import * as employeeDocument from './employeeDocument';

View file

@ -1,6 +1,10 @@
import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type { IDataObject, JsonObject } from 'n8n-workflow';
import type {
IDataObject,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
import type { OptionsWithUrl } from 'request';

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,8 +1,13 @@
import type { OptionsWithUri } from 'request';
import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type { IDataObject, IHookFunctions, IWebhookFunctions, JsonObject } from 'n8n-workflow';
import type {
IExecuteFunctions,
ILoadOptionsFunctions,
IDataObject,
IHookFunctions,
IWebhookFunctions,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
import { snakeCase } from 'change-case';

View file

@ -1,4 +1,5 @@
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,
@ -6,8 +7,6 @@ import type {
INodeTypeDescription,
} from 'n8n-workflow';
import type { IExecuteFunctions } from 'n8n-core';
import {
baserowApiRequest,
baserowApiRequestAllItems,

View file

@ -1,8 +1,11 @@
import type { IExecuteFunctions } from 'n8n-core';
import type { OptionsWithUri } from 'request';
import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow';
import type {
IDataObject,
IExecuteFunctions,
ILoadOptionsFunctions,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
import type { Accumulator, BaserowCredentials, LoadedResource } from './types';

View file

@ -1,6 +1,10 @@
import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow';
import type {
IExecuteFunctions,
ILoadOptionsFunctions,
IDataObject,
IHookFunctions,
IWebhookFunctions,
} from 'n8n-workflow';
import { beeminderApiRequest, beeminderApiRequestAllItems } from './GenericFunctions';

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,8 +1,12 @@
import type { OptionsWithUri } from 'request';
import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow';
import type {
IExecuteFunctions,
ILoadOptionsFunctions,
IDataObject,
IHookFunctions,
IWebhookFunctions,
} from 'n8n-workflow';
const BEEMINDER_URI = 'https://www.beeminder.com/api/v1';

View file

@ -1,8 +1,8 @@
import type { OptionsWithUri } from 'request';
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
import type {
IHookFunctions,
IWebhookFunctions,
ICredentialsDecrypted,
ICredentialTestFunctions,
IDataObject,

View file

@ -1,11 +1,12 @@
import type { OptionsWithUri } from 'request';
import type {
IDataObject,
IExecuteFunctions,
IExecuteSingleFunctions,
IHookFunctions,
ILoadOptionsFunctions,
} from 'n8n-core';
import type { IDataObject, JsonObject } from 'n8n-workflow';
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
export async function bitbucketApiRequest(

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,13 +1,13 @@
import type { OptionsWithUri } from 'request';
import type {
IDataObject,
IExecuteFunctions,
IExecuteSingleFunctions,
IHookFunctions,
ILoadOptionsFunctions,
} from 'n8n-core';
import type { IDataObject, JsonObject } from 'n8n-workflow';
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
export async function bitlyApiRequest(

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,

View file

@ -1,7 +1,6 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IDataObject,
IExecuteFunctions,
ILoadOptionsFunctions,
INodePropertyOptions,
JsonObject,

View file

@ -1,6 +1,10 @@
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
import type { INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow';
import type {
IHookFunctions,
IWebhookFunctions,
INodeType,
INodeTypeDescription,
IWebhookResponseData,
} from 'n8n-workflow';
import { boxApiRequest, boxApiRequestAllItems } from './GenericFunctions';

View file

@ -1,13 +1,14 @@
import type { OptionsWithUri } from 'request';
import type {
IDataObject,
IExecuteFunctions,
IExecuteSingleFunctions,
IHookFunctions,
ILoadOptionsFunctions,
} from 'n8n-core';
import type { IDataObject, IOAuth2Options, JsonObject } from 'n8n-workflow';
IOAuth2Options,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
export async function boxApiRequest(

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
INodeExecutionData,
INodeType,

View file

@ -1,13 +1,13 @@
import type { OptionsWithUri } from 'request';
import type {
IDataObject,
IExecuteFunctions,
IExecuteSingleFunctions,
IHookFunctions,
ILoadOptionsFunctions,
} from 'n8n-core';
import type { IDataObject, JsonObject } from 'n8n-workflow';
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
export async function brandfetchApiRequest(

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
INodeExecutionData,
INodeType,

View file

@ -1,6 +1,10 @@
import type { IExecuteFunctions, IHookFunctions } from 'n8n-core';
import type { IDataObject, ILoadOptionsFunctions, JsonObject } from 'n8n-workflow';
import type {
IExecuteFunctions,
IHookFunctions,
IDataObject,
ILoadOptionsFunctions,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
import type { OptionsWithUri } from 'request';

View file

@ -1,7 +1,7 @@
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
import type {
IDataObject,
IHookFunctions,
IWebhookFunctions,
ILoadOptionsFunctions,
INodePropertyOptions,
INodeType,

View file

@ -1,7 +1,7 @@
import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type {
IDataObject,
IExecuteFunctions,
ILoadOptionsFunctions,
IHookFunctions,
IHttpRequestMethods,
IHttpRequestOptions,

View file

@ -1,6 +1,6 @@
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
import type {
IHookFunctions,
IWebhookFunctions,
IDataObject,
INodeType,
INodeTypeDescription,

View file

@ -1,11 +1,11 @@
import type { OptionsWithUri } from 'request';
import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type {
ICredentialDataDecryptedObject,
ICredentialTestFunctions,
IDataObject,
IExecuteFunctions,
ILoadOptionsFunctions,
IHookFunctions,
IWebhookFunctions,
} from 'n8n-workflow';

View file

@ -1,5 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
INodeExecutionData,
INodeType,

View file

@ -1,7 +1,6 @@
import type { IWebhookFunctions } from 'n8n-core';
import type {
IDataObject,
IWebhookFunctions,
INodeType,
INodeTypeDescription,
IWebhookResponseData,

View file

@ -1,6 +1,5 @@
import type { IExecuteFunctions } from 'n8n-core';
import type {
IExecuteFunctions,
IDataObject,
INodeExecutionData,
INodeType,

View file

@ -1,13 +1,13 @@
import type { OptionsWithUri } from 'request';
import type {
IDataObject,
IExecuteFunctions,
IExecuteSingleFunctions,
IHookFunctions,
ILoadOptionsFunctions,
} from 'n8n-core';
import type { IDataObject, JsonObject } from 'n8n-workflow';
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
export async function circleciApiRequest(

View file

@ -1,6 +1,6 @@
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
import type {
IHookFunctions,
IWebhookFunctions,
IDataObject,
INodeType,
INodeTypeDescription,

View file

@ -1,10 +1,11 @@
import type { OptionsWithUri } from 'request';
import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type {
ICredentialDataDecryptedObject,
IDataObject,
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
INodeProperties,
IWebhookFunctions,
JsonObject,

Some files were not shown because too many files have changed in this diff Show more