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 taskOperations: INodeProperties[] = [
{
@@ -10,9 +8,7 @@ export const taskOperations: INodeProperties[] = [
noDataExpression: true,
displayOptions: {
show: {
resource: [
'task',
],
resource: ['task'],
},
},
options: [
@@ -59,17 +55,14 @@ export const taskFields: INodeProperties[] = [
},
displayOptions: {
show: {
operation: [
'create',
],
resource: [
'task',
],
operation: ['create'],
resource: ['task'],
},
},
required: true,
default: '',
description: 'The identifier of the list, unique in the user\'s mailbox. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'The identifier of the list, unique in the user\'s mailbox. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
},
{
displayName: 'Subject',
@@ -77,12 +70,8 @@ export const taskFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
operation: [
'create',
],
resource: [
'task',
],
operation: ['create'],
resource: ['task'],
},
},
required: true,
@@ -97,12 +86,8 @@ export const taskFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'task',
],
operation: [
'create',
],
resource: ['task'],
operation: ['create'],
},
},
options: [
@@ -186,20 +171,14 @@ export const taskFields: INodeProperties[] = [
},
displayOptions: {
show: {
operation: [
'delete',
'get',
'getAll',
'update',
],
resource: [
'task',
],
operation: ['delete', 'get', 'getAll', 'update'],
resource: ['task'],
},
},
required: true,
default: '',
description: 'The identifier of the list, unique in the user\'s mailbox. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
description:
'The identifier of the list, unique in the user\'s mailbox. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
},
{
displayName: 'Task ID',
@@ -207,14 +186,8 @@ export const taskFields: INodeProperties[] = [
type: 'string',
displayOptions: {
show: {
operation: [
'delete',
'get',
'update',
],
resource: [
'task',
],
operation: ['delete', 'get', 'update'],
resource: ['task'],
},
},
required: true,
@@ -230,12 +203,8 @@ export const taskFields: INodeProperties[] = [
type: 'boolean',
displayOptions: {
show: {
resource: [
'task',
],
operation: [
'getAll',
],
resource: ['task'],
operation: ['getAll'],
},
},
default: false,
@@ -247,12 +216,8 @@ export const taskFields: INodeProperties[] = [
type: 'number',
displayOptions: {
show: {
resource: [
'task',
],
operation: [
'getAll',
],
resource: ['task'],
operation: ['getAll'],
returnAll: [false],
},
},
@@ -275,12 +240,8 @@ export const taskFields: INodeProperties[] = [
default: {},
displayOptions: {
show: {
resource: [
'task',
],
operation: [
'update',
],
resource: ['task'],
operation: ['update'],
},
},
options: [