From 62fc77363fea260bb2057c80485dde73612086d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Tue, 6 Jun 2023 15:08:29 +0200 Subject: [PATCH] ci: Fix build (no-changelog) (#6391) --- packages/editor-ui/src/stores/ui.store.ts | 1 - packages/nodes-base/credentials/Ldap.credentials.ts | 2 +- packages/nodes-base/nodes/LoneScale/LoneScaleList.node.ts | 3 ++- packages/nodes-base/nodes/LoneScale/LoneScaleTrigger.node.ts | 1 + packages/nodes-base/nodes/Postgres/v2/helpers/utils.ts | 2 -- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/editor-ui/src/stores/ui.store.ts b/packages/editor-ui/src/stores/ui.store.ts index 5fdd331938..64ef74d10d 100644 --- a/packages/editor-ui/src/stores/ui.store.ts +++ b/packages/editor-ui/src/stores/ui.store.ts @@ -48,7 +48,6 @@ import { useRootStore } from './n8nRoot.store'; import { getCurlToJson } from '@/api/curlHelper'; import { useWorkflowsStore } from './workflows.store'; import { useSettingsStore } from './settings.store'; -import { useUsageStore } from './usage.store'; import { useCloudPlanStore } from './cloudPlan.store'; import type { BaseTextKey } from '@/plugins/i18n'; import { i18n as locale } from '@/plugins/i18n'; diff --git a/packages/nodes-base/credentials/Ldap.credentials.ts b/packages/nodes-base/credentials/Ldap.credentials.ts index b3c2550ee6..3d33e3f0e3 100644 --- a/packages/nodes-base/credentials/Ldap.credentials.ts +++ b/packages/nodes-base/credentials/Ldap.credentials.ts @@ -1,5 +1,5 @@ /* eslint-disable n8n-nodes-base/cred-class-name-unsuffixed,n8n-nodes-base/cred-class-field-name-unsuffixed,n8n-nodes-base/cred-class-field-display-name-missing-api */ -import { ICredentialType, INodeProperties } from 'n8n-workflow'; +import type { ICredentialType, INodeProperties } from 'n8n-workflow'; export class Ldap implements ICredentialType { name = 'ldap'; diff --git a/packages/nodes-base/nodes/LoneScale/LoneScaleList.node.ts b/packages/nodes-base/nodes/LoneScale/LoneScaleList.node.ts index daca4616a5..56d9da17e9 100644 --- a/packages/nodes-base/nodes/LoneScale/LoneScaleList.node.ts +++ b/packages/nodes-base/nodes/LoneScale/LoneScaleList.node.ts @@ -209,7 +209,6 @@ export class LoneScaleList implements INodeType { type: 'string', placeholder: 'name@email.com', default: '', - description: 'Contact email', }, { displayName: 'Company Name', @@ -379,6 +378,7 @@ export class LoneScaleList implements INodeType { responseData = await lonescaleApiRequest.call(this, 'POST', '/lists', body); const executionData = this.helpers.constructExecutionMetaData( + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument this.helpers.returnJsonArray(responseData), { itemData: { item: i } }, ); @@ -459,6 +459,7 @@ export class LoneScaleList implements INodeType { body, ); const executionData = this.helpers.constructExecutionMetaData( + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument this.helpers.returnJsonArray(responseData), { itemData: { item: i } }, ); diff --git a/packages/nodes-base/nodes/LoneScale/LoneScaleTrigger.node.ts b/packages/nodes-base/nodes/LoneScale/LoneScaleTrigger.node.ts index a6d89a6f44..93499dd2e5 100644 --- a/packages/nodes-base/nodes/LoneScale/LoneScaleTrigger.node.ts +++ b/packages/nodes-base/nodes/LoneScale/LoneScaleTrigger.node.ts @@ -125,6 +125,7 @@ export class LoneScaleTrigger implements INodeType { const req = this.getRequestObject(); return { + // eslint-disable-next-line @typescript-eslint/no-unsafe-argument workflowData: [this.helpers.returnJsonArray(req.body)], }; } diff --git a/packages/nodes-base/nodes/Postgres/v2/helpers/utils.ts b/packages/nodes-base/nodes/Postgres/v2/helpers/utils.ts index e6b9b12680..61a8ce2218 100644 --- a/packages/nodes-base/nodes/Postgres/v2/helpers/utils.ts +++ b/packages/nodes-base/nodes/Postgres/v2/helpers/utils.ts @@ -14,8 +14,6 @@ import type { WhereClause, } from './interfaces'; -const ENUM_VALUES_REGEX = /\{(.+?)\}/gm; - export function wrapData(data: IDataObject | IDataObject[]): INodeExecutionData[] { if (!Array.isArray(data)) { return [{ json: data }];