n8n-3867-progressively-apply-prettier-to-all (#3873)

* 🔨 formatting nodes with prettier
This commit is contained in:
Michael Kret
2022-08-17 18:50:24 +03:00
committed by GitHub
parent f2d326c7f0
commit 91d7e16c81
1072 changed files with 42357 additions and 59109 deletions

View File

@@ -1,6 +1,4 @@
import {
MessageProperties,
} from '../../Interfaces';
import { MessageProperties } from '../../Interfaces';
export const messageDeleteDescription: MessageProperties = [
{
@@ -10,12 +8,8 @@ export const messageDeleteDescription: MessageProperties = [
required: true,
displayOptions: {
show: {
resource: [
'message',
],
operation: [
'delete',
],
resource: ['message'],
operation: ['delete'],
},
},
default: '',

View File

@@ -1,15 +1,8 @@
import {
IExecuteFunctions,
} from 'n8n-core';
import { IExecuteFunctions } from 'n8n-core';
import {
IDataObject,
INodeExecutionData,
} from 'n8n-workflow';
import { IDataObject, INodeExecutionData } from 'n8n-workflow';
import {
apiRequest,
} from '../../../transport';
import { apiRequest } from '../../../transport';
export async function del(this: IExecuteFunctions, index: number): Promise<INodeExecutionData[]> {
const postId = this.getNodeParameter('postId', index) as string;
@@ -22,4 +15,4 @@ export async function del(this: IExecuteFunctions, index: number): Promise<INode
const responseData = await apiRequest.call(this, requestMethod, endpoint, body, qs);
return this.helpers.returnJsonArray(responseData);
}
}

View File

@@ -1,7 +1,4 @@
import { del as execute } from './execute';
import { messageDeleteDescription as description } from './description';
export {
description,
execute,
};
export { description, execute };