The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at https://transifex.com/wekan/wekan only.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
wekan/server/triggersDef.js

58 lines
1.5 KiB

TriggersDef = {
createCard:{
matchingFields: ['boardId', 'listName', 'userId', 'swimlaneName', 'cardTitle'],
},
moveCard:{
matchingFields: ['boardId', 'listName', 'oldListName', 'userId', 'swimlaneName', 'cardTitle'],
},
archivedCard:{
matchingFields: ['boardId', 'userId', 'cardTitle'],
},
restoredCard:{
matchingFields: ['boardId', 'userId', 'cardTitle'],
},
joinMember:{
matchingFields: ['boardId', 'username', 'userId'],
},
unjoinMember:{
matchingFields: ['boardId', 'username', 'userId'],
},
addChecklist:{
matchingFields: ['boardId', 'checklistName', 'userId'],
},
removeChecklist:{
matchingFields: ['boardId', 'checklistName', 'userId'],
},
completeChecklist:{
matchingFields: ['boardId', 'checklistName', 'userId'],
},
uncompleteChecklist:{
matchingFields: ['boardId', 'checklistName', 'userId'],
},
addedChecklistItem:{
matchingFields: ['boardId', 'checklistItemName', 'userId'],
},
removedChecklistItem:{
matchingFields: ['boardId', 'checklistItemName', 'userId'],
},
checkedItem:{
matchingFields: ['boardId', 'checklistItemName', 'userId'],
},
uncheckedItem:{
matchingFields: ['boardId', 'checklistItemName', 'userId'],
},
addAttachment:{
matchingFields: ['boardId', 'userId'],
},
deleteAttachment:{
matchingFields: ['boardId', 'userId'],
},
addedLabel:{
matchingFields: ['boardId', 'labelId', 'userId'],
},
removedLabel:{
matchingFields: ['boardId', 'labelId', 'userId'],
},
};