mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
more tslint changes
This commit is contained in:
parent
bc6acaff72
commit
7da53ad943
|
@ -42,7 +42,7 @@ export const contactOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[]
|
||||
] as INodeProperties[];
|
||||
|
||||
export const contactFields = [
|
||||
// ----------------------------------
|
||||
|
@ -348,4 +348,4 @@ export const contactFields = [
|
|||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[]
|
||||
] as INodeProperties[];
|
||||
|
|
|
@ -55,7 +55,7 @@ export const dealOperations = [
|
|||
description: 'The operation to perform.',
|
||||
},
|
||||
|
||||
] as INodeProperties[]
|
||||
] as INodeProperties[];
|
||||
|
||||
export const dealFields = [
|
||||
// ----------------------------------
|
||||
|
@ -526,4 +526,4 @@ export const dealFields = [
|
|||
description: 'The content of the deal note',
|
||||
},
|
||||
|
||||
] as INodeProperties[]
|
||||
] as INodeProperties[];
|
|
@ -42,7 +42,7 @@ export const ecomCustomerOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[]
|
||||
] as INodeProperties[];
|
||||
|
||||
export const ecomCustomerFields = [
|
||||
// ----------------------------------
|
||||
|
@ -287,4 +287,4 @@ export const ecomCustomerFields = [
|
|||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[]
|
||||
] as INodeProperties[];
|
||||
|
|
|
@ -44,7 +44,7 @@ export const ecomOrderOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[]
|
||||
] as INodeProperties[];
|
||||
|
||||
export const ecomOrderFields = [
|
||||
// ----------------------------------
|
||||
|
@ -713,4 +713,4 @@ export const ecomOrderFields = [
|
|||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[]
|
||||
] as INodeProperties[];
|
|
@ -32,7 +32,7 @@ export const ecomOrderProductsOperations = [
|
|||
default: 'getAll',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[]
|
||||
] as INodeProperties[];
|
||||
|
||||
export const ecomOrderProductsFields = [
|
||||
// ----------------------------------
|
||||
|
@ -121,4 +121,4 @@ export const ecomOrderProductsFields = [
|
|||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[]
|
||||
] as INodeProperties[];
|
|
@ -105,12 +105,12 @@ export async function activeCampaignApiRequestAllItems(this: IHookFunctions | IE
|
|||
|
||||
if (dataKey === undefined) {
|
||||
returnData.push.apply(returnData, responseData);
|
||||
if (returnData != undefined) {
|
||||
if (returnData !== undefined) {
|
||||
itemsReceived += returnData.length;
|
||||
}
|
||||
} else {
|
||||
returnData.push.apply(returnData, responseData[dataKey]);
|
||||
if (responseData[dataKey] != undefined) {
|
||||
if (responseData[dataKey] !== undefined) {
|
||||
itemsReceived += responseData[dataKey].length;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -170,4 +170,4 @@ export const allCurrencies = [
|
|||
{ name: 'South African Rand', value: 'zar' },
|
||||
{ name: 'Zambian Kwacha', value: 'zmw' },
|
||||
{ name: 'Zimbabwean Dollar', value: 'zwl' }
|
||||
]
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue