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 {
INodeProperties,
} from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
export const attachmentOperations: INodeProperties[] = [
// ----------------------------------
@@ -13,9 +11,7 @@ export const attachmentOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'attachment',
],
resource: ['attachment'],
},
},
options: [
@@ -46,11 +42,9 @@ export const attachmentOperations: INodeProperties[] = [
],
default: 'getAll',
},
];
export const attachmentFields: INodeProperties[] = [
// ----------------------------------
// attachment:create
// ----------------------------------
@@ -62,12 +56,8 @@ export const attachmentFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
operation: [
'create',
],
resource: [
'attachment',
],
operation: ['create'],
resource: ['attachment'],
},
},
description: 'The ID of the card to add attachment to',
@@ -80,12 +70,8 @@ export const attachmentFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
operation: [
'create',
],
resource: [
'attachment',
],
operation: ['create'],
resource: ['attachment'],
},
},
description: 'The URL of the attachment to add',
@@ -97,12 +83,8 @@ export const attachmentFields: INodeProperties[] = [
placeholder: 'Add Field',
displayOptions: {
show: {
operation: [
'create',
],
resource: [
'attachment',
],
operation: ['create'],
resource: ['attachment'],
},
},
default: {},
@@ -136,12 +118,8 @@ export const attachmentFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
operation: [
'delete',
],
resource: [
'attachment',
],
operation: ['delete'],
resource: ['attachment'],
},
},
description: 'The ID of the card that attachment belongs to',
@@ -154,12 +132,8 @@ export const attachmentFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
operation: [
'delete',
],
resource: [
'attachment',
],
operation: ['delete'],
resource: ['attachment'],
},
},
description: 'The ID of the attachment to delete',
@@ -176,12 +150,8 @@ export const attachmentFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'attachment',
],
operation: ['getAll'],
resource: ['attachment'],
},
},
description: 'The ID of the card to get attachments',
@@ -193,12 +163,8 @@ export const attachmentFields: INodeProperties[] = [
placeholder: 'Add Field',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'attachment',
],
operation: ['getAll'],
resource: ['attachment'],
},
},
default: {},
@@ -224,12 +190,8 @@ export const attachmentFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
operation: [
'get',
],
resource: [
'attachment',
],
operation: ['get'],
resource: ['attachment'],
},
},
description: 'The ID of the card to get attachment',
@@ -242,12 +204,8 @@ export const attachmentFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
operation: [
'get',
],
resource: [
'attachment',
],
operation: ['get'],
resource: ['attachment'],
},
},
description: 'The ID of the attachment to get',
@@ -259,12 +217,8 @@ export const attachmentFields: INodeProperties[] = [
placeholder: 'Add Field',
displayOptions: {
show: {
operation: [
'get',
],
resource: [
'attachment',
],
operation: ['get'],
resource: ['attachment'],
},
},
default: {},
@@ -278,5 +232,4 @@ export const attachmentFields: INodeProperties[] = [
},
],
},
];