mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
ci: Fix build (no-changelog) (#6391)
This commit is contained in:
parent
ce578162f4
commit
62fc77363f
|
@ -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';
|
||||||
|
|
|
@ -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';
|
||||||
|
|
|
@ -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 } },
|
||||||
);
|
);
|
||||||
|
|
|
@ -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)],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 }];
|
||||||
|
|
Loading…
Reference in a new issue