From 6510bb2da7e42486dcd8e066dd1e7cb6476998e1 Mon Sep 17 00:00:00 2001 From: trojanh Date: Fri, 17 Jan 2020 18:53:04 +0530 Subject: [PATCH] trello-node: remove attachmentList operation --- .../nodes-base/nodes/Trello/Trello.node.ts | 109 ------------------ test.json | 4 - 2 files changed, 113 deletions(-) delete mode 100644 test.json diff --git a/packages/nodes-base/nodes/Trello/Trello.node.ts b/packages/nodes-base/nodes/Trello/Trello.node.ts index 3a1e10e090..f9e6357c15 100644 --- a/packages/nodes-base/nodes/Trello/Trello.node.ts +++ b/packages/nodes-base/nodes/Trello/Trello.node.ts @@ -549,120 +549,11 @@ export class Trello implements INodeType { value: 'update', description: 'Update a card', }, - { - name: 'AttachmentList', - value: 'attachmentList', - description: 'List all attachments', - }, ], default: 'create', description: 'The operation to perform.', }, - // ---------------------------------- - // card:attachmentList - // ---------------------------------- - { - displayName: 'Card ID', - name: 'id', - type: 'string', - default: '', - required: true, - displayOptions: { - show: { - operation: [ - 'attachmentList', - ], - resource: [ - 'card', - ], - }, - }, - description: 'The ID of the card to get.', - }, - { - displayName: 'Additional Fields', - name: 'additionalFields', - type: 'collection', - placeholder: 'Add Field', - displayOptions: { - show: { - operation: [ - 'attachmentList', - ], - resource: [ - 'card', - ], - }, - }, - default: {}, - options: [ - { - displayName: 'Fields', - name: 'fields', - type: 'string', - default: 'all', - description: 'Fields to return. Either "all" or a comma-separated list:
badges, checkItemStates, closed, dateLastActivity, desc,
descData, due, email, idBoard, idChecklists, idLabels, idList,
idMembers, idShort, idAttachmentCover, manualCoverAttachment
, labels, name, pos, shortUrl, url', - }, - { - displayName: 'Board', - name: 'board', - type: 'boolean', - default: false, - description: 'Whether to return the board object the card is on.', - }, - { - displayName: 'Board Fields', - name: 'board_fields', - type: 'string', - default: 'all', - description: 'Fields to return. Either "all" or a comma-separated list:
name, desc, descData, closed, idOrganization, pinned, url, prefs', - }, - { - displayName: 'Custom Field Items', - name: 'customFieldItems', - type: 'boolean', - default: false, - description: 'Whether to include the customFieldItems.', - }, - { - displayName: 'Members', - name: 'members', - type: 'boolean', - default: false, - description: 'Whether to return member objects for members on the card.', - }, - { - displayName: 'Member Fields', - name: 'member_fields', - type: 'string', - default: 'all', - description: 'Fields to return. Either "all" or a comma-separated list:
avatarHash, fullName, initials, username', - }, - { - displayName: 'Plugin Data', - name: 'pluginData', - type: 'boolean', - default: false, - description: 'Whether to include pluginData on the card with the response.', - }, - { - displayName: 'Stickers', - name: 'stickers', - type: 'boolean', - default: false, - description: 'Whether to include sticker models with the response.', - }, - { - displayName: 'Sticker Fields', - name: 'sticker_fields', - type: 'string', - default: 'all', - description: 'Fields to return. Either "all" or a comma-separated list of sticker fields.', - }, - ], - }, - // ---------------------------------- // card:create // ---------------------------------- diff --git a/test.json b/test.json deleted file mode 100644 index e85f76d1f3..0000000000 --- a/test.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "text": "asdf", - "number": 1 -} \ No newline at end of file