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 linkedResourceOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const linkedResourceOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'linkedResource',
],
resource: ['linkedResource'],
},
},
options: [
@@ -54,22 +50,15 @@ export const linkedResourceFields: INodeProperties[] = [
displayName: 'Task List Name or ID',
name: 'taskListId',
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: 'getTaskLists',
},
displayOptions: {
show: {
operation: [
'create',
'delete',
'get',
'getAll',
'update',
],
resource: [
'linkedResource',
],
operation: ['create', 'delete', 'get', 'getAll', 'update'],
resource: ['linkedResource'],
},
},
required: true,
@@ -81,16 +70,8 @@ export const linkedResourceFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
operation: [
'create',
'delete',
'get',
'getAll',
'update',
],
resource: [
'linkedResource',
],
operation: ['create', 'delete', 'get', 'getAll', 'update'],
resource: ['linkedResource'],
},
},
required: true,
@@ -107,12 +88,8 @@ export const linkedResourceFields: INodeProperties[] = [
default: '',
displayOptions: {
show: {
operation: [
'create',
],
resource: [
'linkedResource',
],
operation: ['create'],
resource: ['linkedResource'],
},
},
description: 'Field indicating title of the linked entity',
@@ -123,12 +100,8 @@ export const linkedResourceFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
operation: [
'create',
],
resource: [
'linkedResource',
],
operation: ['create'],
resource: ['linkedResource'],
},
},
required: true,
@@ -143,12 +116,8 @@ export const linkedResourceFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'linkedResource',
],
operation: [
'create',
],
resource: ['linkedResource'],
operation: ['create'],
},
},
options: [
@@ -157,7 +126,8 @@ export const linkedResourceFields: INodeProperties[] = [
name: 'externalId',
type: 'string',
default: '',
description: 'ID of the object that is associated with this task on the third-party/partner system',
description:
'ID of the object that is associated with this task on the third-party/partner system',
},
{
displayName: 'Web URL',
@@ -178,14 +148,8 @@ export const linkedResourceFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
resource: [
'linkedResource',
],
operation: [
'delete',
'get',
'update',
],
resource: ['linkedResource'],
operation: ['delete', 'get', 'update'],
},
},
default: '',
@@ -201,12 +165,8 @@ export const linkedResourceFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
resource: [
'linkedResource',
],
operation: [
'getAll',
],
resource: ['linkedResource'],
operation: ['getAll'],
},
},
default: false,
@@ -218,12 +178,8 @@ export const linkedResourceFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
resource: [
'linkedResource',
],
operation: [
'getAll',
],
resource: ['linkedResource'],
operation: ['getAll'],
returnAll: [false],
},
},
@@ -246,12 +202,8 @@ export const linkedResourceFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'linkedResource',
],
operation: [
'update',
],
resource: ['linkedResource'],
operation: ['update'],
},
},
options: [
@@ -274,7 +226,8 @@ export const linkedResourceFields: INodeProperties[] = [
name: 'externalId',
type: 'string',
default: '',
description: 'ID of the object that is associated with this task on the third-party/partner system',
description:
'ID of the object that is associated with this task on the third-party/partner system',
},
{
displayName: 'Web URL',