Small improvements to Wekan-Node

This commit is contained in:
Jan Oberhauser 2020-10-13 13:01:34 +02:00
parent 23e0c08b1c
commit d3a52297f2
8 changed files with 14 additions and 44 deletions

View file

@ -66,7 +66,7 @@ export const boardFields = [
],
},
},
description: 'The title of the board',
description: 'The title of the board.',
},
{
displayName: 'Owner',
@ -87,7 +87,7 @@ export const boardFields = [
],
},
},
description: 'The user ID in Wekan',
description: 'The user ID in Wekan.',
},
{
displayName: 'Additional Fields',

View file

@ -260,10 +260,7 @@ export const cardCommentFields = [
{
displayName: 'Board ID',
name: 'boardId',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getBoards',
},
type: 'string',
default: '',
required: true,
displayOptions: {
@ -330,14 +327,7 @@ export const cardCommentFields = [
{
displayName: 'Comment ID',
name: 'commentId',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getComments',
loadOptionsDependsOn: [
'boardId',
'cardId',
],
},
type: 'string',
default: '',
required: true,
displayOptions: {

View file

@ -115,7 +115,7 @@ export const cardFields = [
],
},
},
description: 'The title of the card',
description: 'The title of the card.',
},
{
displayName: 'Swimlane ID',
@ -139,7 +139,7 @@ export const cardFields = [
],
},
},
description: 'The swimlane ID of the new card',
description: 'The swimlane ID of the new card.',
},
{
displayName: 'Author ID',
@ -160,7 +160,7 @@ export const cardFields = [
],
},
},
description: 'The author ID',
description: 'The author ID.',
},
{
displayName: 'Additional Fields',
@ -334,14 +334,7 @@ export const cardFields = [
{
displayName: 'Card ID',
name: 'cardId',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getCards',
loadOptionsDependsOn: [
'boardId',
'listId',
],
},
type: 'string',
default: '',
required: true,
displayOptions: {

View file

@ -156,7 +156,7 @@ export const checklistFields = [
},
},
default: [],
description: 'Items to be added to the checklist',
description: 'Items to be added to the checklist.',
},
// ----------------------------------

View file

@ -242,14 +242,7 @@ export const checklistItemFields = [
{
displayName: 'Checklist ID',
name: 'checklistId',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getChecklists',
loadOptionsDependsOn: [
'boardId',
'cardId',
],
},
type: 'string',
default: '',
required: true,
displayOptions: {

View file

@ -86,7 +86,7 @@ export const listFields = [
],
},
},
description: 'The title of the list'
description: 'The title of the list.'
},
// ----------------------------------
@ -165,13 +165,7 @@ export const listFields = [
{
displayName: 'List ID',
name: 'listId',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getLists',
loadOptionsDependsOn: [
'boardId',
],
},
type: 'string',
default: '',
required: true,
displayOptions: {
@ -209,7 +203,7 @@ export const listFields = [
],
},
},
description: 'ID of the board where the lists are in'
description: 'ID of the board where the lists are in.'
},
{
displayName: 'Return All',

View file

@ -528,7 +528,7 @@ export class Wekan implements INodeType {
body.title = this.getNodeParameter('title', i) as string;
body.items = this.getNodeParameter('items', i) as string[];
body.items = this.getNodeParameter('items', i) as string[];
} else if (operation === 'delete') {
// ----------------------------------

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 941 B