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 memberOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const memberOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'member',
],
resource: ['member'],
},
},
options: [
@@ -58,7 +54,6 @@ export const memberOperations: INodeProperties[] = [
];
export const memberFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */
/* member:delete */
/* -------------------------------------------------------------------------- */
@@ -66,7 +61,8 @@ export const memberFields: INodeProperties[] = [
displayName: 'Workspace Name or ID',
name: 'workspaceId',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
description:
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
typeOptions: {
loadOptionsMethod: 'getWorkspaces',
},
@@ -74,12 +70,8 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'delete',
],
resource: ['member'],
operation: ['delete'],
},
},
},
@@ -91,17 +83,12 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'delete',
],
resource: ['member'],
operation: ['delete'],
},
},
},
/* -------------------------------------------------------------------------- */
/* member:get */
/* -------------------------------------------------------------------------- */
@@ -109,7 +96,8 @@ export const memberFields: INodeProperties[] = [
displayName: 'Workspace Name or ID',
name: 'workspaceId',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
description:
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
typeOptions: {
loadOptionsMethod: 'getWorkspaces',
},
@@ -117,12 +105,8 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'get',
],
resource: ['member'],
operation: ['get'],
},
},
},
@@ -134,12 +118,8 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'get',
],
resource: ['member'],
operation: ['get'],
},
},
},
@@ -149,17 +129,14 @@ export const memberFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
operation: [
'get',
],
resource: [
'member',
],
operation: ['get'],
resource: ['member'],
},
},
default: false,
// eslint-disable-next-line n8n-nodes-base/node-param-description-boolean-without-whether
description: 'By default, the response just includes the reference of the identity. When set to true the identities will be resolved automatically.',
description:
'By default, the response just includes the reference of the identity. When set to true the identities will be resolved automatically.',
},
/* -------------------------------------------------------------------------- */
@@ -169,7 +146,8 @@ export const memberFields: INodeProperties[] = [
displayName: 'Workspace Name or ID',
name: 'workspaceId',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
description:
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
typeOptions: {
loadOptionsMethod: 'getWorkspaces',
},
@@ -177,12 +155,8 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'getAll',
],
resource: ['member'],
operation: ['getAll'],
},
},
},
@@ -192,12 +166,8 @@ export const memberFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'member',
],
operation: ['getAll'],
resource: ['member'],
},
},
default: false,
@@ -209,15 +179,9 @@ export const memberFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'member',
],
returnAll: [
false,
],
operation: ['getAll'],
resource: ['member'],
returnAll: [false],
},
},
typeOptions: {
@@ -233,17 +197,14 @@ export const memberFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'member',
],
operation: ['getAll'],
resource: ['member'],
},
},
default: false,
// eslint-disable-next-line n8n-nodes-base/node-param-description-boolean-without-whether
description: 'By default, the response just includes the reference of the identity. When set to true the identities will be resolved automatically.',
description:
'By default, the response just includes the reference of the identity. When set to true the identities will be resolved automatically.',
},
{
displayName: 'Options',
@@ -253,12 +214,8 @@ export const memberFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'getAll',
],
resource: ['member'],
operation: ['getAll'],
},
},
options: [
@@ -295,7 +252,8 @@ export const memberFields: INodeProperties[] = [
displayName: 'Workspace Name or ID',
name: 'workspaceId',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
description:
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
typeOptions: {
loadOptionsMethod: 'getWorkspaces',
},
@@ -303,12 +261,8 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'lookup',
],
resource: ['member'],
operation: ['lookup'],
},
},
},
@@ -338,15 +292,12 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'lookup',
],
resource: ['member'],
operation: ['lookup'],
},
},
description: 'Set to github, twitter, email, discourse or the source of any identities you\'ve manually created',
description:
"Set to github, twitter, email, discourse or the source of any identities you've manually created",
},
{
displayName: 'Search By',
@@ -366,17 +317,9 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'lookup',
],
source: [
'discourse',
'github',
'twitter',
],
resource: ['member'],
operation: ['lookup'],
source: ['discourse', 'github', 'twitter'],
},
},
},
@@ -388,20 +331,10 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'lookup',
],
searchBy: [
'id',
],
source: [
'discourse',
'github',
'twitter',
],
resource: ['member'],
operation: ['lookup'],
searchBy: ['id'],
source: ['discourse', 'github', 'twitter'],
},
},
description: 'The username at the source',
@@ -414,20 +347,10 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'lookup',
],
searchBy: [
'username',
],
source: [
'discourse',
'github',
'twitter',
],
resource: ['member'],
operation: ['lookup'],
searchBy: ['username'],
source: ['discourse', 'github', 'twitter'],
},
},
description: 'The username at the source',
@@ -441,15 +364,9 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'lookup',
],
source: [
'email',
],
resource: ['member'],
operation: ['lookup'],
source: ['email'],
},
},
description: 'The email address',
@@ -462,15 +379,9 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'lookup',
],
source: [
'discourse',
],
resource: ['member'],
operation: ['lookup'],
source: ['discourse'],
},
},
},
@@ -482,7 +393,8 @@ export const memberFields: INodeProperties[] = [
displayName: 'Workspace Name or ID',
name: 'workspaceId',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
description:
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
typeOptions: {
loadOptionsMethod: 'getWorkspaces',
},
@@ -490,12 +402,8 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'update',
],
resource: ['member'],
operation: ['update'],
},
},
},
@@ -507,12 +415,8 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'update',
],
resource: ['member'],
operation: ['update'],
},
},
},
@@ -523,12 +427,8 @@ export const memberFields: INodeProperties[] = [
placeholder: 'Add Field',
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'update',
],
resource: ['member'],
operation: ['update'],
},
},
default: {},
@@ -623,7 +523,8 @@ export const memberFields: INodeProperties[] = [
displayName: 'Workspace Name or ID',
name: 'workspaceId',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
description:
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
typeOptions: {
loadOptionsMethod: 'getWorkspaces',
},
@@ -631,12 +532,8 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'upsert',
],
resource: ['member'],
operation: ['upsert'],
},
},
},
@@ -644,7 +541,8 @@ export const memberFields: INodeProperties[] = [
displayName: 'Identity',
name: 'identityUi',
type: 'fixedCollection',
description: 'The identity is used to find the member. If no member exists, a new member will be created and linked to the provided identity.',
description:
'The identity is used to find the member. If no member exists, a new member will be created and linked to the provided identity.',
typeOptions: {
multipleValues: false,
},
@@ -652,12 +550,8 @@ export const memberFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'upsert',
],
resource: ['member'],
operation: ['upsert'],
},
},
options: [
@@ -688,7 +582,8 @@ export const memberFields: INodeProperties[] = [
},
],
default: '',
description: 'Set to github, twitter, email, discourse or the source of any identities you\'ve manually created',
description:
"Set to github, twitter, email, discourse or the source of any identities you've manually created",
},
{
displayName: 'Search By',
@@ -708,11 +603,7 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
source: [
'discourse',
'github',
'twitter',
],
source: ['discourse', 'github', 'twitter'],
},
},
},
@@ -724,14 +615,8 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
searchBy: [
'id',
],
source: [
'discourse',
'github',
'twitter',
],
searchBy: ['id'],
source: ['discourse', 'github', 'twitter'],
},
},
description: 'The username at the source',
@@ -744,14 +629,8 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
searchBy: [
'username',
],
source: [
'discourse',
'github',
'twitter',
],
searchBy: ['username'],
source: ['discourse', 'github', 'twitter'],
},
},
description: 'The username at the source',
@@ -765,9 +644,7 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
source: [
'email',
],
source: ['email'],
},
},
},
@@ -779,9 +656,7 @@ export const memberFields: INodeProperties[] = [
required: true,
displayOptions: {
show: {
source: [
'discourse',
],
source: ['discourse'],
},
},
},
@@ -796,12 +671,8 @@ export const memberFields: INodeProperties[] = [
placeholder: 'Add Field',
displayOptions: {
show: {
resource: [
'member',
],
operation: [
'upsert',
],
resource: ['member'],
operation: ['upsert'],
},
},
default: {},