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 transferOperations: INodeProperties[] = [
{
@@ -38,9 +36,7 @@ export const transferOperations: INodeProperties[] = [
],
displayOptions: {
show: {
resource: [
'transfer',
],
resource: ['transfer'],
},
},
},
@@ -58,19 +54,14 @@ export const transferFields: INodeProperties[] = [
default: [],
typeOptions: {
loadOptionsMethod: 'getProfiles',
loadOptionsDependsOn: [
'profileId',
],
loadOptionsDependsOn: ['profileId'],
},
description: 'ID of the user profile to retrieve the balance of. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'ID of the user profile to retrieve the balance of. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'create',
],
resource: ['transfer'],
operation: ['create'],
},
},
},
@@ -83,12 +74,8 @@ export const transferFields: INodeProperties[] = [
description: 'ID of the quote based on which to create the transfer',
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'create',
],
resource: ['transfer'],
operation: ['create'],
},
},
},
@@ -101,15 +88,12 @@ export const transferFields: INodeProperties[] = [
typeOptions: {
loadOptionsMethod: 'getRecipients',
},
description: 'ID of the account that will receive the funds. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'ID of the account that will receive the funds. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'create',
],
resource: ['transfer'],
operation: ['create'],
},
},
},
@@ -121,12 +105,8 @@ export const transferFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'create',
],
resource: ['transfer'],
operation: ['create'],
},
},
options: [
@@ -135,7 +115,7 @@ export const transferFields: INodeProperties[] = [
name: 'reference',
type: 'string',
default: '',
description: 'Reference text to show in the recipient\'s bank statement',
description: "Reference text to show in the recipient's bank statement",
},
],
},
@@ -152,12 +132,8 @@ export const transferFields: INodeProperties[] = [
description: 'ID of the transfer to delete',
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'delete',
],
resource: ['transfer'],
operation: ['delete'],
},
},
},
@@ -174,15 +150,12 @@ export const transferFields: INodeProperties[] = [
typeOptions: {
loadOptionsMethod: 'getProfiles',
},
description: 'ID of the user profile to execute the transfer under. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'ID of the user profile to execute the transfer under. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'execute',
],
resource: ['transfer'],
operation: ['execute'],
},
},
},
@@ -195,12 +168,8 @@ export const transferFields: INodeProperties[] = [
description: 'ID of the transfer to execute',
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'execute',
],
resource: ['transfer'],
operation: ['execute'],
},
},
},
@@ -217,12 +186,8 @@ export const transferFields: INodeProperties[] = [
description: 'ID of the transfer to retrieve',
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'get',
],
resource: ['transfer'],
operation: ['get'],
},
},
},
@@ -232,15 +197,12 @@ export const transferFields: INodeProperties[] = [
type: 'boolean',
required: true,
default: false,
description: 'Whether to download the transfer receipt as a PDF file. Only for executed transfers, having status \'Outgoing Payment Sent\'.',
description:
"Whether to download the transfer receipt as a PDF file. Only for executed transfers, having status 'Outgoing Payment Sent'.",
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'get',
],
resource: ['transfer'],
operation: ['get'],
},
},
},
@@ -253,15 +215,9 @@ export const transferFields: INodeProperties[] = [
description: 'Name of the binary property to which to write to',
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'get',
],
downloadReceipt: [
true,
],
resource: ['transfer'],
operation: ['get'],
downloadReceipt: [true],
},
},
},
@@ -275,15 +231,9 @@ export const transferFields: INodeProperties[] = [
description: 'Name of the file that will be downloaded',
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'get',
],
downloadReceipt: [
true,
],
resource: ['transfer'],
operation: ['get'],
downloadReceipt: [true],
},
},
},
@@ -300,15 +250,12 @@ export const transferFields: INodeProperties[] = [
typeOptions: {
loadOptionsMethod: 'getProfiles',
},
description: 'ID of the user profile to retrieve. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'ID of the user profile to retrieve. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'getAll',
],
resource: ['transfer'],
operation: ['getAll'],
},
},
},
@@ -320,12 +267,8 @@ export const transferFields: INodeProperties[] = [
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'getAll',
],
resource: ['transfer'],
operation: ['getAll'],
},
},
},
@@ -341,15 +284,9 @@ export const transferFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['transfer'],
operation: ['getAll'],
returnAll: [false],
},
},
},
@@ -361,12 +298,8 @@ export const transferFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'transfer',
],
operation: [
'getAll',
],
resource: ['transfer'],
operation: ['getAll'],
},
},
options: [