ci: Fix build (no-changelog) (#6391)

This commit is contained in:
Iván Ovejero 2023-06-06 15:08:29 +02:00 committed by GitHub
parent ce578162f4
commit 62fc77363f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 5 deletions

View file

@ -48,7 +48,6 @@ import { useRootStore } from './n8nRoot.store';
import { getCurlToJson } from '@/api/curlHelper'; import { getCurlToJson } from '@/api/curlHelper';
import { useWorkflowsStore } from './workflows.store'; import { useWorkflowsStore } from './workflows.store';
import { useSettingsStore } from './settings.store'; import { useSettingsStore } from './settings.store';
import { useUsageStore } from './usage.store';
import { useCloudPlanStore } from './cloudPlan.store'; import { useCloudPlanStore } from './cloudPlan.store';
import type { BaseTextKey } from '@/plugins/i18n'; import type { BaseTextKey } from '@/plugins/i18n';
import { i18n as locale } from '@/plugins/i18n'; import { i18n as locale } from '@/plugins/i18n';

View file

@ -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 */ /* 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 { export class Ldap implements ICredentialType {
name = 'ldap'; name = 'ldap';

View file

@ -209,7 +209,6 @@ export class LoneScaleList implements INodeType {
type: 'string', type: 'string',
placeholder: 'name@email.com', placeholder: 'name@email.com',
default: '', default: '',
description: 'Contact email',
}, },
{ {
displayName: 'Company Name', displayName: 'Company Name',
@ -379,6 +378,7 @@ export class LoneScaleList implements INodeType {
responseData = await lonescaleApiRequest.call(this, 'POST', '/lists', body); responseData = await lonescaleApiRequest.call(this, 'POST', '/lists', body);
const executionData = this.helpers.constructExecutionMetaData( const executionData = this.helpers.constructExecutionMetaData(
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
this.helpers.returnJsonArray(responseData), this.helpers.returnJsonArray(responseData),
{ itemData: { item: i } }, { itemData: { item: i } },
); );
@ -459,6 +459,7 @@ export class LoneScaleList implements INodeType {
body, body,
); );
const executionData = this.helpers.constructExecutionMetaData( const executionData = this.helpers.constructExecutionMetaData(
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
this.helpers.returnJsonArray(responseData), this.helpers.returnJsonArray(responseData),
{ itemData: { item: i } }, { itemData: { item: i } },
); );

View file

@ -125,6 +125,7 @@ export class LoneScaleTrigger implements INodeType {
const req = this.getRequestObject(); const req = this.getRequestObject();
return { return {
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
workflowData: [this.helpers.returnJsonArray(req.body)], workflowData: [this.helpers.returnJsonArray(req.body)],
}; };
} }

View file

@ -14,8 +14,6 @@ import type {
WhereClause, WhereClause,
} from './interfaces'; } from './interfaces';
const ENUM_VALUES_REGEX = /\{(.+?)\}/gm;
export function wrapData(data: IDataObject | IDataObject[]): INodeExecutionData[] { export function wrapData(data: IDataObject | IDataObject[]): INodeExecutionData[] {
if (!Array.isArray(data)) { if (!Array.isArray(data)) {
return [{ json: data }]; return [{ json: data }];