mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Format nodes-base package (A-F) (#3800)
* 🔨 prettier formated nodes - A * 🔨 prettier formated nodes - B * ⚡ prettier formated nodes - C * ⚡ prettier formated nodes - D * ⚡ prettier formated nodes - E-F * 🎨 Adjust nodes-base formatting command (#3805) * Format additional files in nodes A-F (#3811) * ⚡ fixes * 🎨 Add Mindee to ignored dirs Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
@@ -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: [
|
||||
@@ -64,7 +60,6 @@ export const taskOperations: INodeProperties[] = [
|
||||
];
|
||||
|
||||
export const taskFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* task:create */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -72,16 +67,13 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'Team Name or ID',
|
||||
name: 'team',
|
||||
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: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -93,23 +85,18 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'Space Name or ID',
|
||||
name: 'space',
|
||||
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: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getSpaces',
|
||||
loadOptionsDependsOn: [
|
||||
'team',
|
||||
],
|
||||
loadOptionsDependsOn: ['team'],
|
||||
},
|
||||
required: true,
|
||||
},
|
||||
@@ -120,12 +107,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
@@ -134,26 +117,19 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'Folder Name or ID',
|
||||
name: 'folder',
|
||||
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: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
folderless: [
|
||||
false,
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['create'],
|
||||
folderless: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getFolders',
|
||||
loadOptionsDependsOn: [
|
||||
'space',
|
||||
],
|
||||
loadOptionsDependsOn: ['space'],
|
||||
},
|
||||
required: true,
|
||||
},
|
||||
@@ -161,26 +137,19 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'List Name or ID',
|
||||
name: 'list',
|
||||
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: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
folderless: [
|
||||
true,
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['create'],
|
||||
folderless: [true],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getFolderlessLists',
|
||||
loadOptionsDependsOn: [
|
||||
'space',
|
||||
],
|
||||
loadOptionsDependsOn: ['space'],
|
||||
},
|
||||
required: true,
|
||||
},
|
||||
@@ -188,26 +157,19 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'List Name or ID',
|
||||
name: 'list',
|
||||
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: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
folderless: [
|
||||
false,
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['create'],
|
||||
folderless: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getLists',
|
||||
loadOptionsDependsOn: [
|
||||
'folder',
|
||||
],
|
||||
loadOptionsDependsOn: ['folder'],
|
||||
},
|
||||
required: true,
|
||||
},
|
||||
@@ -218,12 +180,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
@@ -237,12 +195,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -250,12 +204,11 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'Assignee Names or IDs',
|
||||
name: 'assignees',
|
||||
type: 'multiOptions',
|
||||
description: 'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getAssignees',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
loadOptionsDependsOn: ['list'],
|
||||
},
|
||||
default: [],
|
||||
},
|
||||
@@ -268,7 +221,8 @@ export const taskFields: INodeProperties[] = [
|
||||
},
|
||||
default: '',
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-description-miscased-id
|
||||
description: 'Custom fields to set as JSON in the format: <code>[ {"id": "", "value": ""} ]</code>',
|
||||
description:
|
||||
'Custom fields to set as JSON in the format: <code>[ {"id": "", "value": ""} ]</code>',
|
||||
},
|
||||
{
|
||||
displayName: 'Content',
|
||||
@@ -336,12 +290,11 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'Status Name or ID',
|
||||
name: 'status',
|
||||
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: 'getStatuses',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
loadOptionsDependsOn: ['list'],
|
||||
},
|
||||
default: '',
|
||||
},
|
||||
@@ -351,12 +304,11 @@ export const taskFields: INodeProperties[] = [
|
||||
type: 'multiOptions',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTags',
|
||||
loadOptionsDependsOn: [
|
||||
'space',
|
||||
],
|
||||
loadOptionsDependsOn: ['space'],
|
||||
},
|
||||
default: [],
|
||||
description: 'The array of tags applied to this task. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The array of tags applied to this task. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Time Estimate',
|
||||
@@ -379,12 +331,8 @@ export const taskFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -396,12 +344,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -501,7 +445,6 @@ export const taskFields: INodeProperties[] = [
|
||||
default: 1,
|
||||
},
|
||||
],
|
||||
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -515,12 +458,8 @@ export const taskFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['get'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -532,16 +471,13 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'Team Name or ID',
|
||||
name: 'team',
|
||||
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: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -553,23 +489,18 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'Space Name or ID',
|
||||
name: 'space',
|
||||
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: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getSpaces',
|
||||
loadOptionsDependsOn: [
|
||||
'team',
|
||||
],
|
||||
loadOptionsDependsOn: ['team'],
|
||||
},
|
||||
required: true,
|
||||
},
|
||||
@@ -580,12 +511,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
@@ -594,26 +521,19 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'Folder Name or ID',
|
||||
name: 'folder',
|
||||
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: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
folderless: [
|
||||
false,
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
folderless: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getFolders',
|
||||
loadOptionsDependsOn: [
|
||||
'space',
|
||||
],
|
||||
loadOptionsDependsOn: ['space'],
|
||||
},
|
||||
required: true,
|
||||
},
|
||||
@@ -621,26 +541,19 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'List Name or ID',
|
||||
name: 'list',
|
||||
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: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
folderless: [
|
||||
true,
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
folderless: [true],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getFolderlessLists',
|
||||
loadOptionsDependsOn: [
|
||||
'space',
|
||||
],
|
||||
loadOptionsDependsOn: ['space'],
|
||||
},
|
||||
required: true,
|
||||
},
|
||||
@@ -648,26 +561,19 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'List Name or ID',
|
||||
name: 'list',
|
||||
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: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
folderless: [
|
||||
false,
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
folderless: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getLists',
|
||||
loadOptionsDependsOn: [
|
||||
'folder',
|
||||
],
|
||||
loadOptionsDependsOn: ['folder'],
|
||||
},
|
||||
required: true,
|
||||
},
|
||||
@@ -677,12 +583,8 @@ export const taskFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
default: true,
|
||||
@@ -694,15 +596,9 @@ export const taskFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -720,12 +616,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -739,12 +631,11 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'Assignee Names or IDs',
|
||||
name: 'assignees',
|
||||
type: 'multiOptions',
|
||||
description: 'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getAssignees',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
loadOptionsDependsOn: ['list'],
|
||||
},
|
||||
|
||||
default: [],
|
||||
@@ -772,7 +663,8 @@ export const taskFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'The ID of the field to add custom field to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The ID of the field to add custom field to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Operator',
|
||||
@@ -821,10 +713,7 @@ export const taskFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
displayOptions: {
|
||||
hide: {
|
||||
operator: [
|
||||
'IS NULL',
|
||||
'IS NOT NULL',
|
||||
],
|
||||
operator: ['IS NULL', 'IS NOT NULL'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -882,7 +771,8 @@ export const taskFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-description-boolean-without-whether
|
||||
description: 'The response does by default not include closed tasks. Set this to true and dont send a status filter to include closed tasks.',
|
||||
description:
|
||||
'The response does by default not include closed tasks. Set this to true and dont send a status filter to include closed tasks.',
|
||||
},
|
||||
{
|
||||
displayName: 'Order By',
|
||||
@@ -912,12 +802,11 @@ export const taskFields: INodeProperties[] = [
|
||||
displayName: 'Status Names or IDs',
|
||||
name: 'statuses',
|
||||
type: 'multiOptions',
|
||||
description: 'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getStatuses',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
loadOptionsDependsOn: ['list'],
|
||||
},
|
||||
default: [],
|
||||
},
|
||||
@@ -934,12 +823,11 @@ export const taskFields: INodeProperties[] = [
|
||||
type: 'multiOptions',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTags',
|
||||
loadOptionsDependsOn: [
|
||||
'space',
|
||||
],
|
||||
loadOptionsDependsOn: ['space'],
|
||||
},
|
||||
default: [],
|
||||
description: 'The array of tags applied to this task. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The array of tags applied to this task. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -955,12 +843,8 @@ export const taskFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'delete',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['delete'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -976,12 +860,8 @@ export const taskFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'member',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['member'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -991,12 +871,8 @@ export const taskFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'member',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['member'],
|
||||
},
|
||||
},
|
||||
default: true,
|
||||
@@ -1008,15 +884,9 @@ export const taskFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'member',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['member'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -1038,12 +908,8 @@ export const taskFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'setCustomField',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['setCustomField'],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the task to add custom field to',
|
||||
@@ -1056,12 +922,8 @@ export const taskFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'setCustomField',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['setCustomField'],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the field to add custom field to',
|
||||
@@ -1072,17 +934,14 @@ export const taskFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'setCustomField',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['setCustomField'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-description-boolean-without-whether
|
||||
description: 'The value is JSON and will be parsed as such. Is needed if for example needed for labels which expects the value to be an array.',
|
||||
description:
|
||||
'The value is JSON and will be parsed as such. Is needed if for example needed for labels which expects the value to be an array.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -1092,12 +951,8 @@ export const taskFields: INodeProperties[] = [
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'setCustomField',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['setCustomField'],
|
||||
},
|
||||
},
|
||||
description: 'The value to set on custom field',
|
||||
|
||||
Reference in New Issue
Block a user