👕 Fix lint issue
This commit is contained in:
@@ -37,7 +37,7 @@ export const attachmentOperations = [
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Returns all attachments for the card',
|
||||
}
|
||||
},
|
||||
],
|
||||
default: 'getAll',
|
||||
description: 'The operation to perform.',
|
||||
|
||||
@@ -41,7 +41,7 @@ export const boardOperations = [
|
||||
],
|
||||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
}
|
||||
},
|
||||
] as INodeProperties[];
|
||||
|
||||
export const boardFields = [
|
||||
|
||||
@@ -452,7 +452,7 @@ export const checklistFields = [
|
||||
options: [
|
||||
{
|
||||
name: 'complete',
|
||||
value: 'complete'
|
||||
value: 'complete',
|
||||
},
|
||||
{
|
||||
name: 'incomplete',
|
||||
|
||||
@@ -52,7 +52,7 @@ export const labelOperations = [
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a label.',
|
||||
}
|
||||
},
|
||||
|
||||
],
|
||||
default: 'getAll',
|
||||
@@ -127,7 +127,7 @@ export const labelFields = [
|
||||
},
|
||||
{
|
||||
name: 'green',
|
||||
value: 'green'
|
||||
value: 'green',
|
||||
},
|
||||
{
|
||||
name: 'orange',
|
||||
@@ -159,7 +159,7 @@ export const labelFields = [
|
||||
},
|
||||
{
|
||||
name: 'yellow',
|
||||
value: 'yellow'
|
||||
value: 'yellow',
|
||||
},
|
||||
],
|
||||
default: 'null',
|
||||
@@ -425,7 +425,7 @@ export const labelFields = [
|
||||
},
|
||||
{
|
||||
name: 'green',
|
||||
value: 'green'
|
||||
value: 'green',
|
||||
},
|
||||
{
|
||||
name: 'orange',
|
||||
@@ -457,7 +457,7 @@ export const labelFields = [
|
||||
},
|
||||
{
|
||||
name: 'yellow',
|
||||
value: 'yellow'
|
||||
value: 'yellow',
|
||||
},
|
||||
],
|
||||
default: 'null',
|
||||
|
||||
@@ -21,27 +21,27 @@ export const listOperations = [
|
||||
{
|
||||
name: 'Archive',
|
||||
value: 'archive',
|
||||
description: 'Archive/Unarchive a list'
|
||||
description: 'Archive/Unarchive a list',
|
||||
},
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new list'
|
||||
description: 'Create a new list',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the data of a list'
|
||||
description: 'Get the data of a list',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a list'
|
||||
}
|
||||
description: 'Update a list',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
description: 'The operation to perform.'
|
||||
}
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
|
||||
export const listFields = [
|
||||
@@ -64,7 +64,7 @@ export const listFields = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the list to archive or unarchive.'
|
||||
description: 'The ID of the list to archive or unarchive.',
|
||||
},
|
||||
{
|
||||
displayName: 'Archive',
|
||||
@@ -81,7 +81,7 @@ export const listFields = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'If the list should be archived or unarchived.'
|
||||
description: 'If the list should be archived or unarchived.',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -103,7 +103,7 @@ export const listFields = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the board the list should be created in'
|
||||
description: 'The ID of the board the list should be created in',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
@@ -122,7 +122,7 @@ export const listFields = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The name of the list'
|
||||
description: 'The name of the list',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -146,7 +146,7 @@ export const listFields = [
|
||||
name: 'idListSource',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of the list to copy into the new list.'
|
||||
description: 'ID of the list to copy into the new list.',
|
||||
},
|
||||
{
|
||||
displayName: 'Position',
|
||||
@@ -154,9 +154,9 @@ export const listFields = [
|
||||
type: 'string',
|
||||
default: 'bottom',
|
||||
description:
|
||||
'The position of the new list. top, bottom, or a positive float.'
|
||||
}
|
||||
]
|
||||
'The position of the new list. top, bottom, or a positive float.',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -178,7 +178,7 @@ export const listFields = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the list to get.'
|
||||
description: 'The ID of the list to get.',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -202,9 +202,9 @@ export const listFields = [
|
||||
name: 'fields',
|
||||
type: 'string',
|
||||
default: 'all',
|
||||
description: 'Fields to return. Either "all" or a comma-separated list of fields.'
|
||||
}
|
||||
]
|
||||
description: 'Fields to return. Either "all" or a comma-separated list of fields.',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -226,7 +226,7 @@ export const listFields = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the list to update.'
|
||||
description: 'The ID of the list to update.',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -250,21 +250,21 @@ export const listFields = [
|
||||
name: 'idBoard',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of a board the list should be moved to.'
|
||||
description: 'ID of a board the list should be moved to.',
|
||||
},
|
||||
{
|
||||
displayName: 'Closed',
|
||||
name: 'closed',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether the list is closed.'
|
||||
description: 'Whether the list is closed.',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'New name of the list'
|
||||
description: 'New name of the list',
|
||||
},
|
||||
{
|
||||
displayName: 'Position',
|
||||
@@ -272,15 +272,15 @@ export const listFields = [
|
||||
type: 'string',
|
||||
default: 'bottom',
|
||||
description:
|
||||
'The position of the list. top, bottom, or a positive float.'
|
||||
'The position of the list. top, bottom, or a positive float.',
|
||||
},
|
||||
{
|
||||
displayName: 'Subscribed',
|
||||
name: 'subscribed',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether the acting user is subscribed to the list.'
|
||||
}
|
||||
]
|
||||
}
|
||||
description: 'Whether the acting user is subscribed to the list.',
|
||||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
|
||||
@@ -77,7 +77,7 @@ export class Trello implements INodeType {
|
||||
options: [
|
||||
{
|
||||
name: 'Attachment',
|
||||
value: 'attachment'
|
||||
value: 'attachment',
|
||||
},
|
||||
{
|
||||
name: 'Board',
|
||||
@@ -97,7 +97,7 @@ export class Trello implements INodeType {
|
||||
},
|
||||
{
|
||||
name: 'Label',
|
||||
value: 'label'
|
||||
value: 'label',
|
||||
},
|
||||
{
|
||||
name: 'List',
|
||||
@@ -128,7 +128,7 @@ export class Trello implements INodeType {
|
||||
...cardCommentFields,
|
||||
...checklistFields,
|
||||
...labelFields,
|
||||
...listFields
|
||||
...listFields,
|
||||
|
||||
],
|
||||
};
|
||||
@@ -582,7 +582,7 @@ export class Trello implements INodeType {
|
||||
Object.assign(qs, {
|
||||
idBoard,
|
||||
name,
|
||||
color
|
||||
color,
|
||||
});
|
||||
|
||||
endpoint = 'labels';
|
||||
|
||||
Reference in New Issue
Block a user