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 userOperations: INodeProperties[] = [
{
@@ -9,9 +7,7 @@ export const userOperations: INodeProperties[] = [
type: 'options',
displayOptions: {
show: {
resource: [
'user',
],
resource: ['user'],
},
},
noDataExpression: true,
@@ -59,12 +55,8 @@ export const userFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'user',
],
operation: [
'create',
],
resource: ['user'],
operation: ['create'],
},
},
},
@@ -77,12 +69,8 @@ export const userFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'user',
],
operation: [
'create',
],
resource: ['user'],
operation: ['create'],
},
},
},
@@ -94,12 +82,8 @@ export const userFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'user',
],
operation: [
'create',
],
resource: ['user'],
operation: ['create'],
},
},
options: [
@@ -115,7 +99,8 @@ export const userFields: INodeProperties[] = [
name: 'invited_by',
type: 'options',
default: '',
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: 'getUsers',
},
@@ -124,7 +109,8 @@ export const userFields: INodeProperties[] = [
displayName: 'Organization Name or ID',
name: 'org_id',
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>',
default: '',
typeOptions: {
loadOptionsMethod: 'getOrgs',
@@ -145,12 +131,8 @@ export const userFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'user',
],
operation: [
'delete',
],
resource: ['user'],
operation: ['delete'],
},
},
},
@@ -167,12 +149,8 @@ export const userFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'user',
],
operation: [
'get',
],
resource: ['user'],
operation: ['get'],
},
},
},
@@ -184,12 +162,8 @@ export const userFields: INodeProperties[] = [
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
'user',
],
operation: [
'getAll',
],
resource: ['user'],
operation: ['getAll'],
},
},
},
@@ -204,15 +178,9 @@ export const userFields: INodeProperties[] = [
},
displayOptions: {
show: {
resource: [
'user',
],
operation: [
'getAll',
],
returnAll: [
false,
],
resource: ['user'],
operation: ['getAll'],
returnAll: [false],
},
},
},
@@ -229,12 +197,8 @@ export const userFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
resource: [
'user',
],
operation: [
'update',
],
resource: ['user'],
operation: ['update'],
},
},
},
@@ -246,12 +210,8 @@ export const userFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'user',
],
operation: [
'update',
],
resource: ['user'],
operation: ['update'],
},
},
options: [
@@ -272,7 +232,8 @@ export const userFields: INodeProperties[] = [
displayName: 'Inviter Name or ID',
name: 'invited_by',
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>',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
@@ -282,7 +243,8 @@ export const userFields: INodeProperties[] = [
displayName: 'Organization Name or ID',
name: 'org_id',
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>',
default: '',
typeOptions: {
loadOptionsMethod: 'getOrgs',