mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Format nodes-base package (A-F) (#3800)
* 🔨 prettier formated nodes - A * 🔨 prettier formated nodes - B * ⚡ prettier formated nodes - C * ⚡ prettier formated nodes - D * ⚡ prettier formated nodes - E-F * 🎨 Adjust nodes-base formatting command (#3805) * Format additional files in nodes A-F (#3811) * ⚡ fixes * 🎨 Add Mindee to ignored dirs Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
@@ -58,15 +58,14 @@ export class AwsLambda implements INodeType {
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'invoke',
|
||||
],
|
||||
operation: ['invoke'],
|
||||
},
|
||||
},
|
||||
options: [],
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'The function you want to invoke. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The function you want to invoke. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Qualifier',
|
||||
@@ -74,9 +73,7 @@ export class AwsLambda implements INodeType {
|
||||
type: 'string',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'invoke',
|
||||
],
|
||||
operation: ['invoke'],
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
@@ -101,9 +98,7 @@ export class AwsLambda implements INodeType {
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'invoke',
|
||||
],
|
||||
operation: ['invoke'],
|
||||
},
|
||||
},
|
||||
default: 'RequestResponse',
|
||||
@@ -115,9 +110,7 @@ export class AwsLambda implements INodeType {
|
||||
type: 'string',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
'invoke',
|
||||
],
|
||||
operation: ['invoke'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -145,7 +138,12 @@ export class AwsLambda implements INodeType {
|
||||
if (data.NextMarker) {
|
||||
let marker: string = data.NextMarker;
|
||||
while (true) {
|
||||
const dataLoop = await awsApiRequestREST.call(this, 'lambda', 'GET', `/2015-03-31/functions/?MaxItems=50&Marker=${encodeURIComponent(marker)}`);
|
||||
const dataLoop = await awsApiRequestREST.call(
|
||||
this,
|
||||
'lambda',
|
||||
'GET',
|
||||
`/2015-03-31/functions/?MaxItems=50&Marker=${encodeURIComponent(marker)}`,
|
||||
);
|
||||
|
||||
for (const func of dataLoop.Functions!) {
|
||||
returnData.push({
|
||||
@@ -167,7 +165,6 @@ export class AwsLambda implements INodeType {
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||
const items = this.getInputData();
|
||||
const returnData: IDataObject[] = [];
|
||||
|
||||
Reference in New Issue
Block a user