Improvements to ClickUp-Node (#921)

This commit is contained in:
Ricardo Espinoza
2020-09-06 15:38:18 -04:00
committed by GitHub
parent d64c767ebd
commit f24afcd86f
3 changed files with 297 additions and 8 deletions

View File

@@ -40,6 +40,11 @@ export const listOperations = [
value: 'getAll',
description: 'Get all lists',
},
{
name: 'Member',
value: 'member',
description: 'Get list members',
},
{
name: 'Update',
value: 'update',
@@ -229,6 +234,68 @@ export const listFields = [
],
},
/* -------------------------------------------------------------------------- */
/* list:member */
/* -------------------------------------------------------------------------- */
{
displayName: 'List ID',
name: 'id',
type: 'string',
default: '',
required: true,
displayOptions: {
show: {
resource: [
'list',
],
operation: [
'member',
],
},
},
description: 'Task ID',
},
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
displayOptions: {
show: {
resource: [
'list',
],
operation: [
'member',
],
},
},
default: true,
description: 'If all results should be returned or only up to a given limit.',
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
displayOptions: {
show: {
resource: [
'list',
],
operation: [
'member',
],
returnAll: [
false,
],
},
},
typeOptions: {
minValue: 1,
maxValue: 100,
},
default: 50,
description: 'How many results to return.',
},
/* -------------------------------------------------------------------------- */
/* list:customFields */
/* -------------------------------------------------------------------------- */
{