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 { 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';

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 */
import { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
export class Ldap implements ICredentialType {
name = 'ldap';

View file

@ -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 } },
);

View file

@ -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)],
};
}

View file

@ -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 }];